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

Can the gridview do this?

1 Answer 56 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Joe
Top achievements
Rank 1
Joe asked on 29 Jun 2012, 03:03 PM
I am trying to find a grid that supports artificial hiearchy. for instance, here is my simple table.

categorytype,category, part
hose, coolant hose, 1234
hose, coolant hose, 3433
hose, heater hose, 5555
hose, heater hose, 656
belt, timing belt, b1112
belt, timing belt, bb333
belt, serpentine, bs232

I want to tell the grid to make the first column unique with a + so it only shows:
hose
belt

and when expanded it expands the second hiarchial set "category" and then expands to part.

Is this doable?

1 Answer, 1 is accepted

Sort by
0
Nick
Telerik team
answered on 03 Jul 2012, 08:13 AM
Hi Joe,

The described behavior sounds much like the grouping functionality of the grid view. Have you tried using the GroupDescriptors collection to achieve it? 

Looking forward to hearing from you! 

Kind regards,
Nik
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
GridView
Asked by
Joe
Top achievements
Rank 1
Answers by
Nick
Telerik team
Share this question
or