Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

  • Refresh data grid grouped


    How to refresh data when the grid is grouped without using the refreshData () method, this method is ungrouping and grouping again every time it is called and I do not need it. :(

  • #2
    There is no way to get new, potentially different data from the server, and have it grouped, but somehow not group it..

    Comment


    • #3
      Reformulating the question: how to update the data of the grid without losing the state of the grouping? RefreshData closes all groups / folders

      Comment


      • #4
        You can simply call groupBy from the refreshData() callback to restore the same grouping, if desired. To reopen the same folders (if they exist in the new data) you would traverse the groupTree and store off which folders were open, then re-open those same folders once grouping is complete (see groupByComplete).

        Comment

        Working...
        X