Thanks for answer.
It works fine when there is only one leaf node.
How do I change the children of "MySQL", "Program Files" and "php" nodes with child nodes?
moveNode: function(evt, ui){
//debugger
var grid = this;
var Tree = grid.Tree();
ui.args[0].forEach(function(rd){
rd.unitLevel = rd.pq_level+1;
grid.refreshCell({rowIndx: rd.pq_ri, dataIndx:'unitLevel'});
// how to change children node ??
Tree.eachChild(Tree.getNode(rd.pq_ri), function(node) {
console.log("node.name", node.pq_level);
node.unitLevel = node.pq_level+1;
grid.refreshCell({rowIndx: node.pq_ri, dataIndx:'unitLevel'});
});
});
},