DHTMLX Docs & Samples Explorer

Index
dhtmlxdataview
API Methods

## move (sid, tindex, tobj, tid)

Required library edition:

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);