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
I do not know how to create this on JSFiddle or anywhere else as this only happens occasionally. I have tried creating smaller test cases other than my electron application, but the bug does not show. I am going to put this here and you can close without review if you so desire. I hope the display of the stack below is of help.
I create a tablulator table with four fixed columns. Rows are assigned to the table when created. The renderer process then freezes and if I use the debugger to figure out what is going on, there is an infinite recursion around resize.
Note, the problem disappears when I assign specific widths to the columns in the column descriptors.
I have worked around this by building the table with fixed widths columns and on the tableBuilt event iterating through columns and setting their width to fit content via setWidth(true).
I understand your desire to have reproducible test cases, so throw this away if it does not help, but at least here is some data on the infinite recursion that is happening for me.
I also ran into the same problem - seems to happen with layout: fitDataStretch and not with layout: fitColumns!
Details:
The error is triggered on a windows machine (on firefox, chrome, edge). It done not show up on a mac or linux machine. It also seems to happen consistently when the tabulator table is resized while using layout: fitDataStretch :
table = new Tabulator( tableComponent, {
data:data,
columns:columns,
layout:"fitDataStretch"
});
Also happens when I use the dataTree parameter - but this time it happens on a mac, linux and windows machine. Also when using layout: "fitDataStretch".
Interestingly, I dont see the recursion errors when I use layout: fitColumns!
Here is the recursion error that I see in the logs. Sometimes when the table is resized (because the pane its in changes size), I see a bunch of these recursion errors in one shot and its takes the table veryy long to render:
I do not know how to create this on JSFiddle or anywhere else as this only happens occasionally. I have tried creating smaller test cases other than my electron application, but the bug does not show. I am going to put this here and you can close without review if you so desire. I hope the display of the stack below is of help.
I create a tablulator table with four fixed columns. Rows are assigned to the table when created. The renderer process then freezes and if I use the debugger to figure out what is going on, there is an infinite recursion around resize.
Note, the problem disappears when I assign specific widths to the columns in the column descriptors.
I have worked around this by building the table with fixed widths columns and on the tableBuilt event iterating through columns and setting their width to fit content via setWidth(true).
I understand your desire to have reproducible test cases, so throw this away if it does not help, but at least here is some data on the infinite recursion that is happening for me.
The text was updated successfully, but these errors were encountered: