Hello,
In this screenshot you can see that I have a self-referencing grid. Most of the rows however, have empty detailtables. Is there a way to hide the empty tables and the collapse/expand icon in front of rows with empty detail tables?
Kind regards,
Kristof
In this screenshot you can see that I have a self-referencing grid. Most of the rows however, have empty detailtables. Is there a way to hide the empty tables and the collapse/expand icon in front of rows with empty detail tables?
Kind regards,
Kristof
4 Answers, 1 is accepted
0
Accepted
Hello Kristof,
Please check this example for more info:
http://www.telerik.com/DEMOS/ASPNET/Prometheus/Grid/Examples/Hierarchy/SelfReferencing/DefaultCS.aspx
Greetings,
Vlad
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Please check this example for more info:
http://www.telerik.com/DEMOS/ASPNET/Prometheus/Grid/Examples/Hierarchy/SelfReferencing/DefaultCS.aspx
Greetings,
Vlad
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Roelande
Top achievements
Rank 1
answered on 22 Apr 2008, 08:56 AM
Hi Vlad,
Thanks for the help. I was able to solve the problem using the link you provided.
Kind regards,
Kristof
Thanks for the help. I was able to solve the problem using the link you provided.
Kind regards,
Kristof
0
Patrick Lane
Top achievements
Rank 1
answered on 06 Apr 2010, 11:14 PM
Hi Vlad, In the example the page prerendercomplete event is overridden, but how do I do this if grid is in a user control (which has no prerendercomplete event)? Thanks.
0
Hello Patrick,
Please try using the same code in the Page_PreRender event of the user control to hide the expand/collapse column.
I hope this helps.
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.
Please try using the same code in the Page_PreRender event of the user control to hide the expand/collapse column.
I hope this helps.
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.