Getting error on dtmlxgrid.MoveRow function

hi,
I am getting the error mygrid.moveRow(grid.getSelectedId(),“up”);.

error is.
‘PreviousSibling’ is null or not an object.
or
Object does not support this property or method.

Need to know which dhtmlx js file i am missing.currently i am using below files

dhtmlxcontainer.js
dhtmlxcommon.js
dhtmlx.js
dhtmlxwindows.js

make sure that you have attached “dhtmlxgrid_drag.js”.
It is located in “codebase/ext” directory