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

Hierarchical grid, detail table not collapsing after clicking on the expand/collapse button

3 Answers 133 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Manoj
Top achievements
Rank 1
Manoj asked on 08 Sep 2010, 05:12 PM
Hi,

We are using the RadGrid control in one of the pages we are developing to display the hierarcical relation between 2 entities. When the user clicks on the expand button (the tiny arrow in the left hand side of the row), the detail table expands and displays the depended entitites (this part works as expected). But when the user clicks on the collapse button, the details displayed are not getting collapsed. Could anyone please give some info on how to collapse the details when the user is clicking on the collapse button?

Thanks,
Manoj

3 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 10 Sep 2010, 09:49 AM
Hi Manoj,

To be able to collapse the grid row you should set the EnableViewState property to true. Please give this suggestion a try and let me know how it goes.

All the best,
Pavlina
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
0
Manoj
Top achievements
Rank 1
answered on 06 Oct 2010, 02:39 PM
That did not help. I have sorted it out by doing some code changes in the codebehind file. Anyways thanks for your effort to try to help!
0
Pavlina
Telerik team
answered on 07 Oct 2010, 04:25 PM
Hi Manoj,

Please do not hesitate to let us know if other questions or problems arise.

Kind regards,
Pavlina
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
Manoj
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Manoj
Top achievements
Rank 1
Share this question
or