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

How do I get an editable group row and editable subgroup rows

1 Answer 48 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Paul Sugg
Top achievements
Rank 1
Paul Sugg asked on 03 Feb 2010, 08:50 PM
We would like to use the GridView control in our application to display and edit the information for Tasks associated with Projects for a Customer. Each task may have subtasks that are associated with it (for example, "Task A" has subtasks "Task A1" and "Task A2". There are fields to be loaded into the GridView that would need to be maintained at the Main Task level ("Task A") and there are fields that need to be maintained at the Sub Task Level ("Task A1" or "Task A2"). However, when we group the data in the GridView by Main Task, the Sub Tab rows are expandable but the Main Task level doesn't display any of the data associated with the Data record. It shows as a seperate line in the Sub Task area. Is it possible to have the Main Task level retain the columns and the ability to edit it while also having the Sub Task rows be expandable beneath it?

Any information would be greatly appreciated.

Thanks.

TWBS

1 Answer, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 04 Feb 2010, 10:20 AM
Hello Gopal Viswanathan,


From your explanations I believe you will need a Self Referencing Hierarchy rather than grouping.
You may find the relevant sample here.

Best wishes,
Pavel Pavlov
the Telerik team

Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
Tags
GridView
Asked by
Paul Sugg
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Share this question
or