RowGroup generated rows included in displayLength setting
RowGroup generated rows included in displayLength setting

Related question : https://datatables.net/forums/discussion/15947/paging-with-row-grouping
I am using the official RowGroup extension and it generates the extra rows perfectly. However, I want to set a hard limit of 10 rows to the displayed row count but now it displays the number of rows plus the rows generated from the extension. Is there any suggestions on how to display only the number of rows set by displayLength, including the rows generated from RowGroup?
This discussion has been closed.
Answers
There's not an option for that, I'm afraid. You may be able to do something in
drawCallback
- check for the total number of rows in the table, and if above 10, dynamically adjust the page length withpageLength
. I haven't tried that, but it may work.Colin