This question is locked. New answers and comments are not allowed.
Tomasz Wisniewski
Top achievements
Rank 1
Tomasz Wisniewski
asked on 22 Jul 2010, 05:25 PM
I'm using a Grid view with a custom hierarchy template. I bind it to my ViewModel and properties there.
The Custom template contains another GridView with the columns I have chosen.
The problem is that every row has a "+" sign with which I can expand the the row and show related data even if there is no data to show after expansion.
How can I hide it?
5 Answers, 1 is accepted
0
Hi Tomasz Wisniewski,
Yavor Georgiev
the Telerik team
You need to handle the RowLoaded event of the RadGridView and for each row that has no related data to show, set the IsExpandable property to false.
Best wishes,Yavor Georgiev
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
James Craig
Top achievements
Rank 1
answered on 06 Jan 2011, 07:16 PM
Good evening All,
Many thanks for the above advice, however I'm still stuck. RowLoaded's eventargs gives access to a GridViewRowItem, which has no IsExpandable property. Please can let me know how I can get hold of the relevant GridViewRow during this event?
Best regards,
James
Many thanks for the above advice, however I'm still stuck. RowLoaded's eventargs gives access to a GridViewRowItem, which has no IsExpandable property. Please can let me know how I can get hold of the relevant GridViewRow during this event?
Best regards,
James
0
Hi,
Vlad
the Telerik team
You can cast it to GridViewRow to achieve your goal.
All the best,Vlad
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
James Craig
Top achievements
Rank 1
answered on 07 Jan 2011, 11:22 AM
You know, I really ought to have deduced that!
Thank you once again for the brilliant and prompt support :)
Best regards,
James
Thank you once again for the brilliant and prompt support :)
Best regards,
James
0
Aernout
Top achievements
Rank 1
answered on 02 Nov 2011, 03:36 PM
nothing said.. my mistake.. first read then complain...
