DHTMLX Docs & Samples Explorer

move (sid, tindex, tobj, tid)

Required library edition: This method works with any edition of DHTMLX library

Required library file: dhtmlxdataview.js Move item to defined position

  • sid - id of source item, mandatory
  • tindex - target index, optional
  • tobj - target object ( target dataview ), optional
  • tid - id, which will be assinged after moving, optional
//move to some position
   view.move(source_id, index);
//move to different view
   view.move(source_id, index, some_other_view);
   //or
   view.move(source_id, null , some_other_view);
   //or
   view.move(source_id, index, some_other_view, target_id);