I have a jqgrid 4.0.0 tree setup to load all at once using xml. The tree loads and works perfectly. The problem is that I am trying to get all of the children that belong to the root node as follows, but the children array is always empty. I have doubled checked the row variable and it is correct.
var row = $('#permissionlist').getRowData(rowid);
var children= $('#permissionlist').getNodeChildren(row);
alert(children.length);
I can use the getNodeParent, getNodeDepth, and getNodeAncestors just fine. Is anyone else experiencing this problem as well or is it just something with my code?
Thanks,
Greg
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top