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

Disable column drag/drop targets

2 Answers 92 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Joe
Top achievements
Rank 2
Joe asked on 06 Jul 2016, 10:33 PM
We have several locked columns in one of our grids which we would like to disable as drag targets. Anybody know how to do that?

2 Answers, 1 is accepted

Sort by
0
Accepted
umesh
Top achievements
Rank 2
answered on 07 Jul 2016, 07:32 AM

OnItemDropping[event]   check whether you allow to drop or not from the "RadListViewItemDragDropEventArgs" you can get  DraggedItem and DestinationHtmlElement properties.

if you dont want to allow drop just use event.set_cancel(true)

i hope its work fine with you.

0
Joe
Top achievements
Rank 2
answered on 07 Jul 2016, 05:39 PM
Thanks, I meant to post this in the MVC forum but put it here by accident.
Tags
Grid
Asked by
Joe
Top achievements
Rank 2
Answers by
umesh
Top achievements
Rank 2
Joe
Top achievements
Rank 2
Share this question
or