mwouts / itables

Pandas DataFrames as Interactive DataTables
https://mwouts.github.io/itables/
MIT License
767 stars 56 forks source link

limit rows per page #228

Closed micboat closed 7 months ago

micboat commented 7 months ago

Using pagesize, is there a way to limit the number of rows displayed per page, say 10 rows per page. Just cant find anything in the docs for that

mwouts commented 7 months ago

Hi @micboat , thanks for reaching out. I am not sure what you mean by pagesize. Could you share an example?

Have you tried the lengthMenu argument, see e.g. https://mwouts.github.io/itables/advanced_parameters.html#how-many-rows-per-page ?

micboat commented 7 months ago

Awesome, that worked! lengthMenu was exactly what I was looking for. Thanks a lot