accoring to the documentation the grid has a group event, but no unGroup event.
How can I detect if a grid is in a grouped state?
1 Answer, 1 is accepted
0
Tsvetina
Telerik team
answered on 31 Jan 2017, 06:06 PM
Hi Morten,
The group event is fired with each change in the Grid grouping state, meaning that it is fired when the Grid is ungrouped, too. You can determine if there are any groups in the Grid when the event is fired, by checking the e.group argument: http://dojo.telerik.com/ajIZA
If you also want to know when the number of groups decreases or increases, you can store a variable that keeps the last number of groups and compare it to the number of groups when a new grouping action occurs.