moveRowUp

moves a row one position up, if possible

void moveRowUp(string|number row_id);

Parameters

row_idstring|numberrow id

Example

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

Back to top