minRows in v7 #2109
-
Thanks for an amazing lib! I was wondering if this property still exists? If not, what is tghe best way to pad a table to me at least a certain height? I tried setting a min-height to the table, but the initial row height gets set to the height of the table (I think?) so each row === minHeight |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
This was a UI-centric option for the old version, so no, it doesn't exist in the new version, simply because you are in control of the rendering layer. |
Beta Was this translation helpful? Give feedback.
-
@tannerlinsley That makes sense. Here's what I came up with. Using ramdaJs and Material-UI. Again thank you so much for this amazing library and that you for the help!
|
Beta Was this translation helpful? Give feedback.
-
@tannerlinsley I have a table with 21 records (manual pagination from server) and I've set the pageSize to 10. There are a total of 3 pages, but when I go to the 3rd page, it still shows me 10 when it should show just 1. It shows the actual last record at the top and the last 9 are the same ones from the previous page. I'm struggling to see how I can only show that last record on the 3rd page. When I inspect the page object, it shows 10 items in the array. Any advice? I'm using react-table |
Beta Was this translation helpful? Give feedback.
-
For people who are trying to render empty rows without any external libraries
|
Beta Was this translation helpful? Give feedback.
This was a UI-centric option for the old version, so no, it doesn't exist in the new version, simply because you are in control of the rendering layer.