This is a migrated thread and some comments may be shown as answers.

Remembering groups' expanded/collapsed state on column sorting

2 Answers 78 Views
Grid
This is a migrated thread and some comments may be shown as answers.
IT Purchases
Top achievements
Rank 1
IT Purchases asked on 16 Jul 2008, 07:48 PM
I have a grid with grouping enabled.  When the user sorts by a column, I want the grid to remember which groups were expanded and which groups were collapsed when re-displaying the sorted results. How can I do this?

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 17 Jul 2008, 07:57 AM
Hi,

Go through the following help article and see how the Group settings in radGrid  are preserved on rebind. Try the same logic in your case.
Saving grid settings on a per user basis

Thanks
Shinu.
0
Bodevain Svensson
Top achievements
Rank 1
answered on 17 Jul 2008, 08:08 AM
Folks, I think that converting the example from a code library post I found recently on the Telerik site:

http://www.telerik.com/community/code-library/submission/b311D-ghhmh.aspx

my appear to be another option that is worth trying.

Bodevain
Tags
Grid
Asked by
IT Purchases
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Bodevain Svensson
Top achievements
Rank 1
Share this question
or