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

Drag and drop to different page

1 Answer 28 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Josh
Top achievements
Rank 1
Josh asked on 29 Dec 2009, 09:58 PM
Hello,

Is it possible to drag items to different pages on the same grid? In your drag and drop example (http://demos.telerik.com/aspnet-ajax/grid/examples/programming/draganddrop/defaultcs.aspx), it is possible to reorder the items by dragging them to different positions, but it only works for items on the same page, so one cannot, for example, drag an item from page 1 to page 2. I was just wondering if this is possible to implement.

Thank you,
Josh

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 30 Dec 2009, 07:13 AM
Hi Josh,

The described behavior is achievable, but you need to drop the RadGrid items to some container outside the RadGrid and then move the corresponding datasource items to an appropriate position, so that next time the grid displays, they are on the next/previous page. If we use our online demo as a starting point, you will need to calculate the dragged rows' destination index yourself.

Regards,
Dimo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
Josh
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or