interval / interval-node

The official Interval SDK for Node.
https://interval.com/docs
121 stars 13 forks source link

[idea] Option to change pagination on table #6

Closed homoky closed 2 years ago

homoky commented 2 years ago

Would be cool to have option to control pagination on table or even disable it completly.

alexarena commented 2 years ago

We love this idea, it's been on our todo list for a while now. Here's what we're thinking from an API perspective: we'd add a new prop to all of the table methods called defaultRowsPerPage. Our "weird" idea is that you could disable pagination by setting defaultRowsPerPage to Infinity. Infinity is rarely used intentionally, so that's why it feels weird to us, but it's also semantically correct.

jacobmischka commented 2 years ago

Added in 0.26.0, thanks for reminding us and putting this back at the top of our list!