I have a grid with autowidth enabled for columns. When the grid is initialized it seems to work as expected and the grid adjusts itself to fit the container.
However when a column is dynamically removed, the remaining columns doesn’t adjust to fit the container of the grid.
Could you please, clarify your actions for the “dynamically removed column”, as there is no API allowing to dynamically remove a column.
You can hide it using the hideColumn() method. In this case the columns widths will be recalculated and updated.
You can also rebuild your grid using the setColumns() method sending a new set of columns to it, and the columns widths will also be recalculated in this case.
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan