Disable column drag/drop targets

3 posts, 1 answers
  1. Joe
    Joe avatar
    48 posts
    Member since:
    Dec 2007

    Posted 06 Jul Link to this post

    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. Answer
    umesh
    umesh avatar
    3 posts
    Member since:
    Jul 2016

    Posted 07 Jul in reply to Joe Link to this post

    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.

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Joe
    Joe avatar
    48 posts
    Member since:
    Dec 2007

    Posted 07 Jul in reply to umesh Link to this post

    Thanks, I meant to post this in the MVC forum but put it here by accident.
Back to Top