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

Hierarchical Grid question

2 Answers 38 Views
Grid
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 17 Jun 2010, 05:03 PM
Hi,

In this example here:
http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/autogeneratedhierarchy/defaultcs.aspx
the expansion column ( the one with the + sign ) is always the first one.
Is it possible the expand column to be let's say the 4th column.
Imagine this:

CustomerID Name Orders +Column

I have played with the sample code and added another column before CustomerID, but the expansion column is always the first one before any other column.


2 Answers, 1 is accepted

Sort by
0
John
Top achievements
Rank 1
answered on 18 Jun 2010, 02:23 PM
Well, any information on that ?
0
Princy
Top achievements
Rank 2
answered on 18 Jun 2010, 02:59 PM
Hello,

I have gone through a code library on creating custom column for expand/collapse by adding TemplateColumn to grid. I hope this will be useful for achieving your requirement.

Please download the project attached, and you can place the GridTemplateColumn as the last column in the Grid.
Custom expand/collapse column with ExpandAll/CollapseAll image button in the header

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