Check documentation for the latest version of dhtmlxSuite moveRowUp DHTMLX Docs

moveRowUp

moves a row one position up, if possible

void moveRowUp(string|number row_id);
row_idstring|numberrow id

Example

<a href="javascript:void(0)" onclick="myTreeGrid.moveRowUp(myTreeGrid.getSelectedId())">
    Move selected row up
</a>

Back to top