Better row grouping
Better row grouping
Guys,
Just to sugest a little improvement on the row grouping example code.
Where is set the iDisplayIndex variable, the following code works for both local or remote data.
[code]
var iDisplayIndex = (oSettings.oInit.bServerSide) ?
(oSettings._iDisplayStart % oSettings._iDisplayLength) + i :
oSettings._iDisplayStart + i;
[/code]
Just to sugest a little improvement on the row grouping example code.
Where is set the iDisplayIndex variable, the following code works for both local or remote data.
[code]
var iDisplayIndex = (oSettings.oInit.bServerSide) ?
(oSettings._iDisplayStart % oSettings._iDisplayLength) + i :
oSettings._iDisplayStart + i;
[/code]
This discussion has been closed.