First of all, I use Tabulator v5.4.4 and layout is fitColumns.
I want to use the resizableColumnFit option for column resizing, but this feature does not completely solve the white space problem or horizontal scrolling that occurs during resizing.
For example, when I set resizableColumnFit as true and mark the last column as resizable = false, the white space problem disappears.
However, when I expand a column, I cannot prevent the horizontal scrolling. When this happens, I need a scroll operation to display the columns on the right.
When all columns are marked as resizable, I could not find a solution for the white space on the right.
As a workaround for this situation, I can calculate the remaining white space in the columnResized event and update the width of the last column. However, I am not sure if this will confuse the library’s own calculations.
[https://jsfiddle.net/pesmanyaa/mqo4vLtc/7/][Fiddle]
In short, what I want to do is: to resize the columns, but to prevent resize when the horizontal scrolling occurs.
Is there a solution for this in the library?
to resize the columns, but to prevent resize when the horizontal scrolling occurs.
user26559082 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.