Hi,
i am tring to use the getRowIndx in Tree mode after adding a new row using Tree.addnodes method.
var newRow = { "id": 3444565, "parentId": 0, "Code": "232343423", "Price": 0, "Quant": 0 };
Tree.addNodes([
newRow
])
var obj = $("#quantTableContainer").pqGrid("getRowIndx", { rowData: newRow });
i getting worng index number why ?
on more thing, i am trying to get the last row of the grid (in tree mode) like this :
var obj = $(".selector").pqGrid("getViewPortIndx"),
initV = obj.initV,
finalV = obj.finalV,
initH = obj.initH,
finalH = obj.finalH;
but the finalV is worng (ihave like 1600 rows but getting 18) is it counting only the parents ??
please help
thanks