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

RadGrid Cache State

0 Answers 110 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Rick Knicely
Top achievements
Rank 1
Rick Knicely asked on 22 Nov 2010, 09:14 PM
Hello,

I have a need to refresh data in a nested grid and keep any expanded rows, sorting or filtering.

I am using a nested RadGridView.  I would like to hold onto the explanded rows state, filter state and sort state of the master and detail grids.

I have been somewhat successful, however I cannot find the correct way to re-apply the expanded items and the detail filters/sorting.

I have tried RadGridView1.ItemContainerGenerator.ContainerFromItem but it always comes back empty.  However, the items are populated.

How do I programatically set the row.Isexpanded property using the Items bound to the Itemssource?

How do I re-apply any sorting or filtering to children grids?

Thank you,
Rick

No answers yet. Maybe you can help?

Tags
GridView
Asked by
Rick Knicely
Top achievements
Rank 1
Share this question
or