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

Reorder Telerik Radgrid row within same Radgrid

3 Answers 196 Views
Grid
This is a migrated thread and some comments may be shown as answers.
reguapo
Top achievements
Rank 1
reguapo asked on 30 Jul 2012, 06:50 PM
What i want to accomplish is a simple reorder rows within the radgrid with drag and drop, i was checking this example Grid / Items Drag-and-drop but that is between 2 RadGrid, works fine if you try to reorder the rows in the same RadGrid, but still doing a lot of stuff in the server side with list. There is any way to do it just with the current griditems without having a list in the backend? 

3 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 02 Aug 2012, 03:15 PM
Hi,

Unfortunately RadGrid control does not support built-in row reordering. Therefore you should use OnRowDrop event. This event allows you to reorder the items in the source grid or remove them and append these rows to a destination grid instance.

All the best,
Pavlina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
reguapo
Top achievements
Rank 1
answered on 03 Aug 2012, 05:53 PM
Hi Pavlina,

Thanks for the answer to my question, when you say  " items in the source grid or remove them and append these rows to a destination grid " are you referring to Datasource element of each grid (i mean retrieving the datasource from the Datasource property of the grid, without any external list)
0
Pavlina
Telerik team
answered on 08 Aug 2012, 01:45 PM
Hello Daniel,

For more information about OnRowDrop event and how to reorder items in the underlying data source you can refer to the following article:
Drag and drop of grid items

Regards,
Pavlina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
reguapo
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
reguapo
Top achievements
Rank 1
Share this question
or