pagination based on number or Rows grouped
pagination based on number or Rows grouped
Hello All,
I need pagination based on number of grouped rows. Say, If I give 5 as input to the pagination, I should show 5 grouped rows with all the records in the same page. Now the pagination works on the number of records we want to display and few of the records may go to the next page also.
For that I'm able to do by changing the code directly in the Datatable plugin.
I changed the oSettings._iDisplayStart;
oSettings._iDisplayEnd;
oSettings._iDisplayLength; in the _fnDraw() and able to set the page sizes in the _fnPageChange
Everything Sorting, Filtering, pagination is working perfect.
I also tried setting the
oSettings._iDisplayStart;
oSettings._iDisplayEnd;
oSettings._iDisplayLength;
in the fnDrawCallback,fnPreDrawCallback etc. But it is not working as these functions were called many times and these settings are changed subsequently.
Is there is any way to do this without modifying the plugin.
Appreciate any help..
I need pagination based on number of grouped rows. Say, If I give 5 as input to the pagination, I should show 5 grouped rows with all the records in the same page. Now the pagination works on the number of records we want to display and few of the records may go to the next page also.
For that I'm able to do by changing the code directly in the Datatable plugin.
I changed the oSettings._iDisplayStart;
oSettings._iDisplayEnd;
oSettings._iDisplayLength; in the _fnDraw() and able to set the page sizes in the _fnPageChange
Everything Sorting, Filtering, pagination is working perfect.
I also tried setting the
oSettings._iDisplayStart;
oSettings._iDisplayEnd;
oSettings._iDisplayLength;
in the fnDrawCallback,fnPreDrawCallback etc. But it is not working as these functions were called many times and these settings are changed subsequently.
Is there is any way to do this without modifying the plugin.
Appreciate any help..
This discussion has been closed.