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

[Solved] Artificial Hierarchy

3 Answers 101 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.
Richard Harrigan
Top achievements
Rank 1
Richard Harrigan asked on 15 Jun 2011, 03:34 AM
Hi,

I have a group pf rows that are at the same hierarchy level, that is that there are multiple headers at the same level.  I want to  change the ident level as required by the data content so that it appears to be a hierarchy even though it is not a hierachy in RadGridView terms.  How would I do this.  Another way to explain this would be can I change the placement of each header.

Thanks
Rich

3 Answers, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 15 Jun 2011, 07:13 AM
Hi Richard Harrigan,

That might be achievable but I would need more information regarding your scenario. How do yo determine which rows should have a different indent? Some sort of mock up would really help us  gain a better understanding.


All the best,
Milan
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Richard Harrigan
Top achievements
Rank 1
answered on 15 Jun 2011, 03:03 PM
Hi

See attached files.

This query design form shows two levels (Table, Column).   The real hierarchy is as follows and also shown in the query result form.  I want to be able to indent  the query design form to make it appear as a hierarchy.  I want the user to visually see the hierarchy.  It would be a big deal for me to turn this into a real hierarchy

 Categories

                Category Name

                Description

                Products

                                Product Name

                                Column Unit Price

                                Order Details

                                                Order ID

                                                Unit Price

                                                Quantity

                                                Company Name

 

Thanks
Rich

0
Milan
Telerik team
answered on 21 Jun 2011, 09:05 AM
Hi Richard Harrigan,

I am afraid that trying to have custom indentation is this situation will be very difficult if possible at all. i suggest you to restructure your data so that it represents a real hierarchy. There is no need to modify the original data structures. You could create a ViewModel that wraps your original items and presents them to the grid as hierarchy.

Best wishes,
Milan
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Richard Harrigan
Top achievements
Rank 1
Answers by
Milan
Telerik team
Richard Harrigan
Top achievements
Rank 1
Share this question
or