Resizing with partly fixed width of columns - Auto Resize of grid

Hello,
I want to resize a grid by changing the window size.
By searching i found the sample for resizing.
In this example the columns of the grid are defined withs with the percentage method (setInitWidthsP)

I want to set the first columns to a fixed width. The others should change by reszing the window/grid.

My Question: Is it possible to mix the too methods for settimg the widths?
Or is it there any workaround to get this work.

Thanks in Advance!
MF

https://dhtmlx.com/docs/products/dhtmlxGrid/samples/10_grids_manipulations/08_pro_resize.html

Please, try to set “*” for the width of these “auto adjusting” columns.
Like:
mygrid.setInitWidths("150,*,*,*,*,*,...etc")

1 Like

Thanks!
This works for me!