We are trying to specify the width and min-width properties to the columns configuration(grid.config.columns). The columns also have Resize set to true. But the on the initial load columns are not rendered with the specified min-width, but rendered with different widths.
We are using broadway skin css.
How can I force that width and min-width specified applied, though the column is resizable.
Hi,
please give us steps to reproduce the error. I’ve specified following grid config and widths seems to be correct docs.dhtmlx.com/gantt/snippet/33bbd3c1
Do I need to change it somehow in order to repeat the bug?
We have 3 columns, with
resize:true
on the columns configuration.
{name:"text", label:"Task", resize:true},
{name:"owner", label:"Owner", resize:true, min_width:60, width:100 },
{name:"status", label:"Status", resize:true, min_width:80, width:100 }.
We do not have set
gantt.config.grid_resize = true
.
The other settings that we have are:
gantt.config.keep_grid_width = true;
Coming to the css and skins, we are using broadway skin with some modifications (css file name is dhtmlxgantt_broadway_custom.css). I could inspect in IE dev tools and see that the grid width set to 359px and column widths are being set to 200,90,69. These styles I could find defined as part of the broadway skin in dhtmlxgantt.js.
We would like to change the grid width as well as column widths.
Can you please help us on how do we can force changing the column widths.
Many thanks.
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan