Scroller extension wrong pagination
Scroller extension wrong pagination

Hi everyone!
I found this issue with the scroller extension.
Using calc / % height in scrollY option (or flex on dataTables_scrollBody through css) causes wrong entries calculation:
Maybe dataTables miscalculate the rows height due to scrollY option?
Link to test case: https://jsfiddle.net/r2L49wbt/
Thanks for your help.
Salvatore
This discussion has been closed.
Answers
scrollY
doesn't support calculations, as the reference page states, the "value given here can be any CSS unit, or a number". If you change it to something fixed, such as "200px" it works as expected. You could do that sum before initialising the table and just pass it in.Colin