Required library edition: 
 Required library file: dhtmlxgrid_drag.js
move row
 srowId - the id of the source row (the row that will be moved or copied)
 
 trowId - the id of the target row (in the 'sibling' mode - the row after which the source row will be pasted, in the 'child' mode -   the row that will be the parent for the source row in the specified grid)
 
 mode - “move” or “copy”
 
 dropmode - “sibling” or “child” (optional, “sibling” by default)
 
 sourceGrid - source grid object, used for moving between grids (optional, current grid by default)
 
 targetGrid - target grid object, used for moving between grids (optional, current grid by default)
 
Returns moved item ID
  //move row with id "row1" after row with id "row2"
  mygrid1.moveRowTo("row1","row2","move");
  //copy row with id "row1" from grid[1] as child of row with id "row2" in grid[2]
  mygrid1.moveRowTo("row1","row2","copy","child",mygrid1,mygrid2);
See also: moveRowDown, moveRowUp, moveRow