Feature Request - Custom Data #47528
neo314
announced in
3. Approved Features
Replies: 1 comment 1 reply
-
|
The Joomla Maintainer Team decided at the 18.03.2025 meeting to accept this feature. Annotation: Accepted but in a more generic way, please use an array which get imploded to data-[key]=[value] |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When using the jgrid system to build back end data pages, I had a recent bug that I resolved and is only relevant because it prompted me to think of this request. There are times when one does not necessarily want to do queries in response to custom toggles similar to publish/unpublish and similar list aware actions. It would be nice to be able to embed additional data into the jgrid item along with the cid and if list aware (multiple transactions based on back end checking of multiple records, be able to match the embedded data with the cid.
I'm specifically thinking of code like this from my helper:
It would be nice to be able to have $options['custom'] which could contain simple or json encoded data and end up in the link as data-item-custom. I can see how to do this in jgrid easily. I have not had time to look at where and how one would also modify the code for list aware transaction. It would be nice to be able to have an array of custom data values where the members correspond to the order of the cid values when multiple records are selected. i.e. when a list of cid's are returned, if the custom option were used, a corresponding list of custom values would also be returned.
Approval Information
Approved: 01.04.2026
Minimum Target Version: 6.2
Annotation: Accepted but in a more generic way, please use an array which get imploded to data-[key]=[value]
Beta Was this translation helpful? Give feedback.
All reactions