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

[Solved] Drag Drop within group items of RadGridView

3 Answers 132 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
esha aftab
Top achievements
Rank 1
esha aftab asked on 31 May 2010, 11:29 AM
Hi,
 I have a little problem at hand. I have a Grid View, where i have different row groups. Now i want to achieve dragdrop functionality within this grid in such a way that user can only perform dragdrop within a same row group, i,e rows within a particulr group cannot be draged and droped on to other groups.
 Please guide me how this restricted form of dragdrop operation can be achieved.??

Also , is it possible to track the previous(before drop) ,and  new (after drop) index of a particular row?

Looking forward for your kind response....

3 Answers, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 03 Jun 2010, 02:48 PM
Hello esha aftab,

As a starting point you can check this blog post:
Enable RadGridView’s rows reorder functionality using Behaviors

In grouping scenario reordering will work correctly only if you have an additional property holding the order of the items.

Find attached the modified file which will not allow a row from one group to be dropped over a row from another group.

Regards,
Veskoni
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
neo e
Top achievements
Rank 1
answered on 09 Nov 2010, 05:49 PM
hi is there a way to enable drap drop at the cell level? similar to the drap drop in the scheduler?
0
Veselin Vasilev
Telerik team
answered on 11 Nov 2010, 04:12 PM
Hi neo,

I hope that these sample projects will get you started:
project1, project 2.

Greetings,
Veselin Vasilev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
esha aftab
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
neo e
Top achievements
Rank 1
Share this question
or