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

Hierarchical Grid remove + empty Child

2 Answers 222 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Tony
Top achievements
Rank 1
Tony asked on 06 Aug 2015, 10:08 AM

Hi everyone,

 I've got a Hierarchical grid in my form. All of my Parent row have a button "+" to allow user to expand children row even if they haven't any child.

 Is there any way to hide this button when a parent doesn't have any child.

Thanks in advance.

Best regards

Tony

2 Answers, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 06 Aug 2015, 10:20 AM
Hello Tony,

Thank you for writing.

Please refer to the Hide expand/collapse image in hierarchical RadGridView KB article which is quite useful on this topic. Additionally, the Formatting Cells help article >> Example 4: Hiding child tabs when no data is available section demonstrates a similar approach for hiding the expander item.

I hope this information helps. Should you have further questions I would be glad to help.
 
Regards,
Dess
Telerik
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 Feedback Portal and vote to affect the priority of the items
0
Tony
Top achievements
Rank 1
answered on 06 Aug 2015, 01:13 PM

It works,

 

Thanks

Tags
GridView
Asked by
Tony
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Tony
Top achievements
Rank 1
Share this question
or