obout  inc
 obout.com Home    |    Site map 
 





Easy Drag-and-Drop oTree.DragAndDropEnable = true

Drag-and-Drop
Parent ; Node 1
Parent 1; Node 2
Parent 2; Node 4
Parent 2; Node 20
Parent 2; Node 21 - Disable Drag
Parent 2; Node 385
Parent 2; Node 3333 - Disable Drop and Drag
Parent 1; Node 3
Parent 1; Node 16 - Disable Drop
Parent 1; Node 28
Parent 1; Node 29
Parent 29; Node 161
Parent 29; Node 162
Parent 29; Node 1383
Parent 1; Node 33
Parent 1; Node 307
Parent 1; Node 319
Parent 1; Node 365
  Drag and drop any nodes.






New Parent Id (target), Node Id separated by "|":





oTree.DragAndDropEnable = true

// To disable Drag or Drop for some nodes
// put IDs with commas. No spaces please.

oTree.DragDisableId = "id21,id3333";
oTree.DropDisableId = "id16,id3333";



How to save on server

Please visit HOW-TO and Help page for any questions.