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

Expand/Collapse Hidden

3 Answers 78 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Susan
Top achievements
Rank 1
Susan asked on 06 Oct 2008, 03:49 PM
i'm sure this is somewhere, but i have not been able to find exactly what i'm trying to accomplish in your forums.

i have a detail table within my grid. if i want to hide the expand/collapse on the master record if there are no records in the detail table, how do i accomplish that?

thanks,
susan

3 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 06 Oct 2008, 03:52 PM
Hello Susan,

Please check out the Self-referencing Hierarchy demo:

http://demos.telerik.com/ASPNET/Prometheus/Grid/Examples/Hierarchy/SelfReferencing/DefaultCS.aspx

The HideExpandColumnRecursive() method is what you need.


Greetings,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Accepted
Shinu
Top achievements
Rank 2
answered on 07 Oct 2008, 03:44 AM
Hi Susan,

You can also have a look at the following help articles to get details on this regard.

Hiding expand/collapse images when no records
Hiding the expand/collapse images when no records in Self-Referencing hierarchy

Thanks
Shinu.



0
Susan
Top achievements
Rank 1
answered on 09 Oct 2008, 06:29 PM
Shinu,
These links were very helpful...i got it working.

Thanks so much.
Susan
Tags
Grid
Asked by
Susan
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Shinu
Top achievements
Rank 2
Susan
Top achievements
Rank 1
Share this question
or