I have used jqGrid Treeview Adjacency model to display the hierarchy. Treeview works perfectly with no problem . But i want to retrieve the children for node . I already have the id of that row . I have written code like this
var record = jQuery("#Listtbl").jqGrid('getInd',rowid);
newRecord = $('#Listtbl').jqGrid('getNodeChildren',record);
but in new record i always get all records instead of children .
You use wrong value of
recordparameter of getNodeChildren. You should usegetRowDataorgetLocalRow: