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

RadGridView grouping and Drag and Drop

6 Answers 116 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Audrey
Top achievements
Rank 1
Audrey asked on 08 Mar 2011, 05:07 PM
Hi,

I have a RadGridView and I group my rows with a specific column in the grouping zone. I want to drag and drop a group in an other control in my interface.
I don't see this feature in the RadGridView, but do you think is it possible to do it with the Drag and Drop Manager ? Or maybe do you have an other solution to propose me ?

Thanks,

Audrey

6 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 09 Mar 2011, 09:59 AM
Hello Audrey,

 
Indeed there is no built-in other drag & drop (except columns) in RadGridView however you can use our drag & drop manager to handle your scenario. For example you can drag grid rows to copy data in another component similar to this demo

Best wishes,
Vlad
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Parimal
Top achievements
Rank 1
answered on 22 Aug 2011, 02:19 AM

Hi

 

I would like to add some more functionality to your grid view control (http://demos.telerik.com/aspnet-ajax/grid/examples/groupby/grouploadmodeclient/defaultcs.aspx)

Basically I am looking to add drag and drop functionality to the grouping Grid view future.

I would like to allow user to drag row from one group and drop to another group. Is it possible? If yes than where is the example?

 

Thanks

Parimal  

0
Rossen Hristov
Telerik team
answered on 23 Aug 2011, 12:48 PM
Hello Parimal,

We are somewhat confused. You have linked to a demo of our ASP.NET Ajax grid, while the post is in our Silverlight forums. Which grid are you talking about -- the ASP.NET Ajax grid or the Silverlight.

In case you are talking about our Silverlight RadGridView, then the answer would be no -- you can't drag rows between different groups since the data they contain will become inconsistent with the grouping criteria. If you want a row to change its group(s) you have to edit the properties which determine which group it occupies.

In case you are asking about the ASP.NET Ajax grid, then my suggestion is to use the appropriate forum.

I hope this helps.

Greetings,
Ross
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
Rachana
Top achievements
Rank 1
answered on 13 Apr 2012, 06:34 AM
Hi Parimal,
 I wanted to drag and drop the Groups in grid view..my requirement is something like if i drag the group above or below that particular group rows also should move..im trying so much to do this but it is help less..can you please help me

Thanks
0
K
Top achievements
Rank 1
answered on 16 Mar 2018, 11:17 AM

Did you achieve this functionality yet?

I have the same requirement.

Example: I have ---  | Group1|Group2|Group3 |

And I want to move Group2 with Drag And Drop, so I get  ---  | Group2|Group1|Group3 |

 

Is this possible in any way?

0
Ivan Ivanov
Telerik team
answered on 21 Mar 2018, 09:58 AM
Hello,

Currently we do not provide this behavior out of the box. The complex part of this task is that dragging a group would require that all of the group items should be removed from the ItemsSouce, and then restored on their new position on drop. You can try implementing a custom drag and drop behavior using Telerik DragDropManager and check whether it works for your scenario, as removing a lot of items at runtime may cause some performance or layout issues. Please do not hesitate to contact us in case that you need any further assistance.

Regards,
Ivan Ivanov
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
GridView
Asked by
Audrey
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Parimal
Top achievements
Rank 1
Rossen Hristov
Telerik team
Rachana
Top achievements
Rank 1
K
Top achievements
Rank 1
Ivan Ivanov
Telerik team
Share this question
or