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

Want to show/hide the expand/collapse childtable button

4 Answers 60 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Raj A R
Top achievements
Rank 1
Raj A R asked on 09 Dec 2009, 06:35 PM
Hi team,

I have a grid with childtables defined in the 

 

 

<telerikGridView:RadGridView.HierarchyChildTemplate>

 

 and  want to show/hide the expand/collapse childtable button [+] according to the to child collection.
ie want to show the expand button only if the row is having childcollection.

Currently I can expand/ collapse if it is not having any childtables.

Raj A R
Orion Systems India

4 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 10 Dec 2009, 06:52 AM
Hello Raj A R,

 You can check this demo for more info:
http://demos.telerik.com/silverlight/#GridView/Hierarchy/CustomHierarchy


Sincerely yours,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Raj A R
Top achievements
Rank 1
answered on 10 Dec 2009, 11:08 AM
Hi Vlad  thanks, itz helps a lot
0
pat
Top achievements
Rank 1
answered on 23 Sep 2011, 10:38 PM
.
0
Renier Pretorius
Top achievements
Rank 2
Iron
Iron
Iron
answered on 13 Mar 2013, 12:48 PM
Hi Vlad,

This is exactly what I was trying to do, but now I want to make the evaluation of the style rule dynamic, e.g. evaluate to a ShowDetails property of the item which can be updated externally. Any suggestions?

Thanks
Tags
GridView
Asked by
Raj A R
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Raj A R
Top achievements
Rank 1
pat
Top achievements
Rank 1
Renier Pretorius
Top achievements
Rank 2
Iron
Iron
Iron
Share this question
or