'Tabulator: when a column is resized, resize the other columns so they cover all the width of the table

I have a Tabulator table with layout set to fitColumns. When the table is first drawn all columns correctly take 100% of the width of the table.

When a column is resized, I would like the rest of the columns to be resized automatically as to make sure that all the columns still take 100% of the width of the table - in other words, I don't want any empty space at the right side of the table or horizontal scrollbars.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source