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

Show empty group expander image for rows without children rows

2 Answers 62 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Stefan Plattner
Top achievements
Rank 1
Stefan Plattner asked on 21 May 2010, 12:53 PM
I have a hierarchical (rows + children rows) RadGridView. I'm already using the ViewCellFormatting event in order to display my own [+] and [-] images.

Is there a way to know if a "parent" row has no children rows the event handler, so I can set an empty image in the first place? That way the user has a visual clue that the row doesn't need to be expanded.


2 Answers, 1 is accepted

Sort by
0
Accepted
Alexander
Telerik team
answered on 21 May 2010, 06:17 PM
Hello Stefan Plattner,

Thank you for your question.

Please, consider this Knowledge Base article regarding expanding/collapsing an image in hierarchical RadGridView. You can find a method in it for checking if a parent row has children.

Please, feel free to write back if you have further questions.

Kind regards,
Alexander
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
Fanie
Top achievements
Rank 1
answered on 29 Mar 2018, 01:59 PM
Thanks that worked for me.
Tags
GridView
Asked by
Stefan Plattner
Top achievements
Rank 1
Answers by
Alexander
Telerik team
Fanie
Top achievements
Rank 1
Share this question
or