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

Grid - Hirarchy - selectively show +/-

1 Answer 47 Views
Grid
This is a migrated thread and some comments may be shown as answers.
manu
Top achievements
Rank 1
manu asked on 25 Mar 2009, 12:04 PM
Hi,

My requirement is to create a grid where certain rows need to have the expand collapse feature but the rest of the rows don't, as they do not have child data associated with them.

Requirement screen shot attached.

Thus only a few rows (with child data associated with them) need to have expand collapse feature, not all. This conditional check would need to occur after data is fetched from the DB.
How do i accomplish this.
My implementation is similar to this demo: http://demos.telerik.com/aspnet/Grid/Examples/Programming/DetailTableDataBind/DefaultCS.aspx

Also i need to hide the header from the child table(DetailTableView). how can i do that.

Regards,
Manu

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 25 Mar 2009, 02:02 PM
Hello Manu,

You can refer to the following help document which explains on how to hide the expand/collapse images when there are not records under parent grid item:
Hiding expand/collapse images when no records

Thanks
Princy.
Tags
Grid
Asked by
manu
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or