You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the solution you'd like
During Progressive Ajax Loading the server could return an optional total item count. It would be nice if Tabulator would set the scroll bar size to match the entire contents ASAP, which would be upon loading of page 1.
The standard Progressive Ajax Loading has an awkward user interface when the user drags the scroll bar down, before the content has loaded.
There is an associated bug. Repeatedly dragging the scrollbar to the bottom of the table before progressive loading is complete. Once progressive loading is done, drag the scrollbar back to the top. UI is awkward, mouse moves a lot, but scroll bar moves little. Eventually you get back to the top with missing rows. Could be a Chrome issue.
Describe alternatives you've considered
I'm not sure if you can directly set the size of the scrollbar, but you could include the last row as a placeholder (with null data). You could alternatively calculate the CSS padding-top and padding-bottom values on the tabulator-table div based on the total item count. You could load the last page early (just after page 1, but before page 2), but not sure Tabulator can handle out of order page loads. You may also be able to estimate the scrollbar size by multiplying cell height * pageSize * LastPage.
The text was updated successfully, but these errors were encountered:
In the 5.1 release, Tabulator added the ability to send back the total record count to the table. So it seems a logical addition to try and bring in this functionality along side this.
Describe the solution you'd like
During Progressive Ajax Loading the server could return an optional
total item count
. It would be nice if Tabulator would set the scroll bar size to match the entire contents ASAP, which would be upon loading of page 1.The standard Progressive Ajax Loading has an awkward user interface when the user drags the scroll bar down, before the content has loaded.
There is an associated bug. Repeatedly dragging the scrollbar to the bottom of the table before progressive loading is complete. Once progressive loading is done, drag the scrollbar back to the top. UI is awkward, mouse moves a lot, but scroll bar moves little. Eventually you get back to the top with missing rows. Could be a Chrome issue.
Describe alternatives you've considered
I'm not sure if you can directly set the size of the scrollbar, but you could include the last row as a placeholder (with null data). You could alternatively calculate the CSS padding-top and padding-bottom values on the tabulator-table div based on the total item count. You could load the last page early (just after page 1, but before page 2), but not sure Tabulator can handle out of order page loads. You may also be able to estimate the scrollbar size by multiplying cell height * pageSize * LastPage.
The text was updated successfully, but these errors were encountered: