Group component does not allow to detect group fields
See original GitHub issueIs your feature request related to a problem? Please describe.
for grouping: groupBy : [ 'agreement_id', 'period_id' ],
groupClick: function(e, group){
group._group.field; // <<< Implement accessor
},
This will allow me to detect for which field the group is clicked
Describe the solution you’d like
Implement the accesor for group._group.field
Describe alternatives you’ve considered None
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Grouping Controls | Web Accessibility Initiative (WAI) - W3C
The <fieldset> element provides a container for related form controls, and the <legend> element acts as a heading to identify the group. The...
Read more >Tabulator: How to get the set of column (fields) that are ...
This will return an array of Group Components, each one representing one of the top level groups of the table. You can then...
Read more >Field Group Component - Unqork Academy
Field Tags are one-word labels used to identify a group of components. Acting as a type of Property ID group, Field Tags let...
Read more >Grouping by Row: Core Feature of our Datagrid - AG Grid
To group rows by a particular column, mark the column you want to group with rowGroup=true . There is no limit on the...
Read more >Field Group Component - Documentation
You'll find the Field Group component in the Display & Layout group at the left of the Module Editor. Below you can see...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hey @KES777
You will be happy to hear i have just pushed this feature to the 4.4 branch which should be released in the next couple of weeks.
Cheers
Oli 😃
I will look at adding a getField function to the group component, but there will be some caveats on its use as a user can also pass in a function to the selector not just a field name.
Cheers
Oli 😃