Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Swaroop . C . B on Jun 27, 2009 01:57
open dhtmlx forum
How to move a Row in Tree grid

Hi Knowledge Base Team ,

I am working with dhtmlTree Grid , I am in need to move a row down wards or upward .
for that which js file i have to include .  I am getting an error in the console that , "myTreegrid.moveRow is not a function." , I am using the function as in the way :

mygrid.moveRow(mygrid.getSelectedId(),"down");

for downward movement and

mygrid.moveRow(mygrid.getSelectedId(),"up");

for upward movement

Please assist me .

Thanks in advance
Swaroop C B

Answer posted by dhxSupport on Jun 29, 2009 00:39
To use moveRow() method you have to include file dhtmlxgrid_drag.js.