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 ?
6 Answers, 1 is accepted
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.
the Telerik team
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?
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.
the Telerik team
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
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?
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.