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

AutoGenerateEditColumn positioning LEFT (or first column)

2 Answers 205 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Bill Bain
Top achievements
Rank 1
Bill Bain asked on 22 Apr 2010, 06:37 PM
Newbie here ->>  I have long data records & the edit column is positioned last - I want it positioned FIRST. With the volumes of posts I have consumed over 2 hours, I have not seen a definitive solution to this common question..... with AutoGenerateEditColumn="True" , what is the setting to get the EDIT column to the FIRST position.

Also, Telerik might consider to make this the default position in a future RadGrid release. It is the position of the stock windows gridview, why not here as well...

Many Thanks !
RootBoy

2 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 23 Apr 2010, 07:17 AM
Hello Bill,

One suggestion would be using GridEditCommandColumn (instead of AutoGenerateEditColumn) and placing the EditCommandColumn as the first column in column collection.

The other way to achieve this is by reordering the columns to a specific location by using OrderIndex property. You can refer the following document for detailed explanation on this.
Reordering columns

Regards,
Shinu.




0
Bill Bain
Top achievements
Rank 1
answered on 23 Apr 2010, 02:25 PM
Shimu - Thank you ! Also, reference http://www.telerik.com/help/aspnet-ajax/grddefaulteditmodeforgriditemsoninitialload.html  helps as well. After reading a number of posts, I noticed you answer many - thank you for what you do !!
Tags
Grid
Asked by
Bill Bain
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Bill Bain
Top achievements
Rank 1
Share this question
or