I have multi-level nested grid view and all the nested grids are expanded by default.
When i sort the first level items, all the child/nested levels are collapsed.
Is there any way to retain the expanded mode for all the child levels after sorting?
Thanks
2 Answers, 1 is accepted
0
Maya
Telerik team
answered on 03 May 2012, 07:46 AM
Hello Thangalskhmi,
That would be the expected behavior since the collection is reset on sorting. What you can try is to save in a particular property of your business object - MyCustomIsExpandedProperty for example and save the information whether the corresponding item is saved or not. Thus, after sorting, you can update the expanded state of the rows based on this property.
Greetings,
Maya
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>