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

Drag and drop a row over another row

7 Answers 78 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Silvio Silva Junior
Top achievements
Rank 2
Silvio Silva Junior asked on 27 Apr 2011, 07:08 PM
Hello guys.

Is this possible to drag and drop a row over another row in the same grid and take the event and the args of the context?

Best regards.

7 Answers, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 02 May 2011, 11:48 AM
Hi Silvio,

In this demo you can drag items from the first(left) grid and drop them again in the first(left) grid.
Check it out and let me know if you have further questions.

Greetings,
Iana
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Silvio Silva Junior
Top achievements
Rank 2
answered on 02 May 2011, 02:29 PM
Thanks for the answer, but I need some like to drop the row over another row. Some suggestions?

Regards.
0
Iana Tsolova
Telerik team
answered on 02 May 2011, 02:48 PM
Hi Silvio,

With RadGrid you can drop an item under or above an specific item. Can you elaborate on what you are trying to achieve with dropping an item over another item?

Kind regards,
Iana
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Silvio Silva Junior
Top achievements
Rank 2
answered on 02 May 2011, 03:05 PM
Yes, I'm trying to create an hierarchy, I want drag-and-drop a row over another row, and the row dropped, will be a son of the row that received the drop.

Regards.
0
Iana Tsolova
Telerik team
answered on 03 May 2011, 10:27 AM
Hi Silvio,

The desired functionality could be hardly achieved with RadGrid.
However, we are currently implementing drag and drop for our RadTreeList control which will be released in Q2 2011. There you would be able to drop items over a specific item and use automatic database operations to update the items relation without writing any code. Therefore I would suggest that you wait for the Q2 2011 release and use RadTreeList for your purpose.

Other than this, with RadGrid, you can try implementing a self-reference grid and drop the items over the nested table view.

Regards,
Iana
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Curtis
Top achievements
Rank 1
answered on 09 Jan 2013, 04:44 PM
Are there any plans to add this feature in the future? It would seem very easy to add the ability to drag "Over" in addition to Above and Below.

The TreeList has a limited subset of the features of the RadGrid when it comes to filtering, exporting, and much else. We want the ability to drag a row OVER another row so that we can assign the destination row's data the same attributes as the row being dragged. It isn't hierarchical data so using a TreeList doesn't make sense and we don't want to lose the grid's header context menu and grid's built in filtering functionality.


0
Maria Ilieva
Telerik team
answered on 14 Jan 2013, 11:31 AM
Hi Curtis,

For now we do not have plans to add this feature to the RadGrid control in some of the upcoming releases. However I will again forward you request to our dev team so they could further discuss its possible implementation.

Greetings,
Maria Ilieva
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
Silvio Silva Junior
Top achievements
Rank 2
Answers by
Iana Tsolova
Telerik team
Silvio Silva Junior
Top achievements
Rank 2
Curtis
Top achievements
Rank 1
Maria Ilieva
Telerik team
Share this question
or