question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Group component does not allow to detect group fields

See original GitHub issue

Is 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:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
olifolkerdcommented, Jul 27, 2019

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 😃

0reactions
olifolkerdcommented, Jul 20, 2019

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 😃

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found