Our blazing fast Grid component built with pure JavaScript


Post by Bhava »

Hi Team,
I have a scenario where user type groupname in the text box.
I want to display the entered groupname to the top and remaining follows that when I applied grouping to the grid .

Please let me know how I can achieve that?

Thank you


Post by mats »

We have this config available for sorting groups: https://bryntum.com/docs/grid/#Grid/feature/Group#config-groupSortFn

So if you define this to sort by a custom variable for the group header text string, you can float the matching group(s) to the top of your group list. You'd need to put a text field in the header to handle searching manually since our default FilterBar only filters through the actual records and not the group headers.


Post Reply