Here’s the situation: I’ve got a two level tree that I’m displaying in a hierarchical RadGrid:
-Category 1
--Cat 1 Section 1
--Cat 1 Section 2
-Category 2
--Cat 2 Section 1
--Cat 2 Section 2
--Cat 2 Section 3
-Category 3
--Cat 3 Section 1
and so on. But I was just handed a new requirement that the categories themselves are actually children of another kind of entity:
-Bucket 1
--Bucket 1 Category tree...
-Bucket 2
--Bucket 2 Category tree...
The part of the requirement that I can’t figure out how to express in the RadGrid is this (actually this is simplified from the whole ugly truth): if there are multiple buckets in the data set, they want the root level of the tree to be the buckets, but if there is only one bucket, they do not want the root to be that single bucket node; rather they just want the root level to be the categories in that lone bucket.
My problem is that I’m not seeing a way to remove that bucket level from the control and promote the next level to the root. Is there any way to do this? Thanks in advance.
It will all come down to the binding that you create. I don’t think there is another way to do it.
Then work your way thru the GridDetailTableDataBindEvent.