minop1205/react-dnd-treeview

Disable canDrag on some of the selected node

nilesh2b opened this issue · 2 comments

Hi @minop1205

I need your help preventing some of the nodes to be dragged.

Right now it works perfect but it prevents dragging all nodes, can we prevent dragging some of the selected nodes?

@nilesh2b To control dragging, you can use the canDrag API.

If you cannot get the expected behavior using the canDrag API, please show me a repository or Codesandbox that can reproduce the problem.