Pending

User tests: Successful: Unsuccessful:

avatar jiteshkhatri11
jiteshkhatri11
23 Apr 2026

Pull Request resolves #47524.

  • I read the Generative AI policy and my contribution is compatible with the policy and GNU/GPL 2 or later.

Summary of Changes

Adds support for custom data attributes in JGrid actions via the $options['custom'] parameter.

This allows developers to pass additional row-specific data without requiring extra database queries. The custom data is rendered as a data-item-custom attribute in the generated HTML.

Testing Instructions

  1. Go to any administrator list view that uses JGrid actions.
  2. Modify the JGrid action call to include:
    $options['custom'] = 'test-value';
avatar jiteshkhatri11 jiteshkhatri11 - open - 23 Apr 2026
avatar jiteshkhatri11 jiteshkhatri11 - change - 23 Apr 2026
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 23 Apr 2026
Category Libraries
avatar brianteeman
brianteeman - comment - 23 Apr 2026

There was a very good reason why you were given a template to complete when you submitted this PR. Please update your pr with the required details or this will have to be closed. you can find the template here https://github.com/joomla/joomla-cms/blob/5.4-dev/.github/PULL_REQUEST_TEMPLATE.md

avatar jiteshkhatri11 jiteshkhatri11 - change - 23 Apr 2026
The description was changed
avatar jiteshkhatri11 jiteshkhatri11 - edited - 23 Apr 2026
avatar jiteshkhatri11
jiteshkhatri11 - comment - 23 Apr 2026

Hi @brianteeman, I have updated the PR description.
Please let me know if anything else is needed. Thank you!

avatar brianteeman
brianteeman - comment - 23 Apr 2026

you have NOT used the template you have just made one up.

avatar brianteeman
brianteeman - comment - 23 Apr 2026

Also I see that this is a new feature. As such it must be made against the 6.2 branch

avatar brianteeman
brianteeman - comment - 23 Apr 2026

Also I see that this is a new feature. As such it must be made against the 6.2 branch https://github.com/joomla/joomla-cms#which-branch-should-my-pull-request-target

avatar jiteshkhatri11 jiteshkhatri11 - change - 23 Apr 2026
The description was changed
avatar jiteshkhatri11 jiteshkhatri11 - edited - 23 Apr 2026
avatar jiteshkhatri11 jiteshkhatri11 - change - 23 Apr 2026
The description was changed
avatar jiteshkhatri11 jiteshkhatri11 - edited - 23 Apr 2026

Add a Comment

Login with GitHub to post a comment