Required library edition:
Required library file: dhtmlxgrid.js
changes grid's container size on the fly to fit total width of grid columns
//enable auto width mode mygrid.enableAutoWidth(true); //disable auto width mode mygrid.enableAutoWidth(false); //enable auto width mode, set maximal and minimal allowed width mygrid.enableAutoWidth(true,600,100);
See also: enableAutoHeight