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 bug
I have a table with around 35 columns and 100 rows with pagination. When table is first rendered it takes some time to "boot up".
I think that it is possible to reduce initial render time by reducing call to layoutRefresh.
When table is first rendered profile looks like this:
When we already have table initialized and we call setData, result is following:
Describe the bug
I have a table with around 35 columns and 100 rows with pagination. When table is first rendered it takes some time to "boot up".
I think that it is possible to reduce initial render time by reducing call to
layoutRefresh
.When table is first rendered profile looks like this:
When we already have table initialized and we call setData, result is following:
It means that when we load table for the first time, layoutRefresh is already call-ed because of this line https://github.com/olifolkerd/tabulator/blob/master/src/js/core/RowManager.js#L931
My proposal is to somehow prevent calling
layoutRefresh
twice, when the table is initialized.Tabulator Info
Tabulator version 6.2.0
layoutColumnsOnNewData: true
Working Example
https://jsfiddle.net/ogy0rfh7/1/
To Reproduce
A step by step guide to recreate the issue in your JS Fiddle or Codepen:
Expected behavior
Create table as fast as possible.
The text was updated successfully, but these errors were encountered: