Hi,
In 11.1 LGP dates 2018-11-18 in implementation of refreshData there is code that cuts the number of records returned:
If there are just two rows, startRow should be 0 and endRow should be 1. Initial data is calculated to be 1 while it is 2.
You should use dsResponse.totalRows if it is present..
Additionally refreshData makes a request with sorting set to TreeGrid's sort even for TreeGrids with dataFetchMode set to "local".
Best regards,
Janusz
In 11.1 LGP dates 2018-11-18 in implementation of refreshData there is code that cuts the number of records returned:
Code:
} else if (isc.ResultTree && isc.isA.ResultTree(d)) { [B]initialData.length = dsResponse.endRow - dsResponse.startRow;[/B] // create via ActionsMethods createResultTree() so that all attributes set properly resultSetOrTree = this.createResultTree(fetchCriteria, null, d.context, null, initialData, true); resultSetOrTree.setOpenState(d.getOpenState()); }
You should use dsResponse.totalRows if it is present..
Additionally refreshData makes a request with sorting set to TreeGrid's sort even for TreeGrids with dataFetchMode set to "local".
Best regards,
Janusz
Comment