Unplanned
Last Updated: 05 Mar 2020 15:41 by ADMIN
Tim R
Created on: 04 Jan 2013 13:06
Category: Grid
Type: Feature Request
15
provide a way to restore collapsed/expanded state of grid groups after a data-refresh
I have already made this feature request but perhaps not very clearly, as my topic asked for a particular solution rather than presenting the generic issue. So  I'd like to suggest it again, that other users might better understand what I was asking for, and hopefully vote for it, because I think it is a necessary feature for any application where the grid is refreshed with up-to-the-minute data every 30 seconds or so. As things stand now, the Kendo grid is stateless in this regard -- it re-expands all collapsed groups by default after a data rebind.

Below is the link to the original request, where I asked for two events (groupCollapsed and groupExpanded) and for a unique handle to the k-grouping-row that would "survive"  the data-rebind that occurs when the dataSource's data method is invoked, as in dataSource.data(someNewFreshDataWithSameSchema). 

The unique handle was simply the JSON representation of the array of distinct data values that are the basis for the particular grouping, stored in a custom data attribute,  data-k-distinct-values, in the k-grouping-row.  This data would be at-hand when the group is created, and its beauty is in its simplicity -- it does not make any additional "statefulness" demands on the grid.  

Here's the link:

http://feedback.kendoui.com/forums/127393-kendo-ui-feedback/suggestions/3487545-add-groupcollapse-groupexpand-events-and-a-data-k-
0 comments