Required library edition:
Required library file: dhtmlxgrid_drag.js
move row
//move row up mygrid1.moveRow("row1","up"); //move row down mygrid1.moveRow("row1","down"); //move row with id "row1" after row with id "row2" in grid[2] mygrid1.moveRow("row1","row_sibling","row2",mygrid2);
See also: moveRowTo, moveRowDown, moveRowUp