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

Client-side get_expanded() in hierarchical RadGrid

1 Answer 52 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 07 Sep 2010, 12:41 PM
Hi!

I want to preserve my expanded items on a hierarchical RadGrid while I rebind it on the client side.

    var masterTable = $find("ctl00_ctl00_cphCategoryContent_cphContent_rgvRollen").get_masterTableView();
var dataItems = masterTable.get_dataItems();

My problem is, that every item's "get_expanded()" returns false, even if it's expanded. My HierarchyLoadMode is set to "Client".

1 Answer, 1 is accepted

Sort by
0
Mira
Telerik team
answered on 09 Sep 2010, 01:11 PM
Hello Kevin,

I tried to replicate the issue which you described, but to no avail.
Attached to this message, you will find the code which I used for testing.

Please, take a look at it and let me know if there are any differences at your end, which I may be leaving out.

Kind regards,
Mira
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
Kevin
Top achievements
Rank 1
Answers by
Mira
Telerik team
Share this question
or