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

Drop cols in grid

1 Answer 52 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Liu Yan
Top achievements
Rank 1
Liu Yan asked on 28 Aug 2008, 03:17 PM
In my RadGrid,there are five columns(col1,col2,col3,col4,col5).when I remove(drap) 'col4' to 'col2' of the front,they exchange each other. But I hope that is ('col1','col4','col2','col3','col5'). Can you help me how to come true?
thanks

1 Answer, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 29 Aug 2008, 08:06 AM
Hi Liu Yan,

Try setting the ColumnsReorderMethod property to Reorder in the ClientSettings to achieve the desired scenario.

ASPX:
  <ClientSettings  AllowColumnsReorder="true" ColumnsReorderMethod="Reorder"  ReorderColumnsOnClient="true" > 
             </ClientSettings> 

You can also try with online demo to the see the requested scenario.
Column/Row/Grid resize/reorder

Thanks
Shinu.
Tags
Grid
Asked by
Liu Yan
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or