I need to move rows from a treegrid to other treegrid. Searching in the documentation i found two functions to move rows: moveRow() and moveRowTo(srowId,trowId,mode,dropmode,sourceGrid,targetGrid). Do you have an example of moving rows using moveRowTo() between two treegrids? The main diference between moveRow() and moveRowTo() is?
The main diference between moveRow() and moveRowTo() is?
In current version moveRow function exist only because of backward compatibility reasons.
moveRowTo functionality can provide the same functionality, plus some functionality which not availalble by moveRow functions.
To move row between treeGrids you can use next code
this will move row id1 from grid to grid2 as sibling of row id2