In some cases the table can be the only element on the page and users might expect to always see pagination at the bottom, without need to scroll. So the table should have an option like auto-resize (disabled by default) to calculate appropriate page size on resize events.
If the space is not enough, there should be a fallback to default rows count, e. g. 10 (we don't want to show table with 2-3 rows per page, as this would looks silly).
We decided that this should be delegated to the other element, which will handle iron-resize events and produce pageSize property based on some config, like offset etc.
In some cases the table can be the only element on the page and users might expect to always see pagination at the bottom, without need to scroll. So the table should have an option like
auto-resize
(disabled by default) to calculate appropriate page size onresize
events.If the space is not enough, there should be a fallback to default rows count, e. g. 10 (we don't want to show table with 2-3 rows per page, as this would looks silly).