Check documentation for the latest version 6.0 of dhtmlxSuite setColumnMinWidth DHTMLX Docs

setColumnMinWidth

sets the minimum column width (works only for manual resizing)

void setColumnMinWidth(number width,number ind);

Parameters

widthnumberthe minimum column width, can be set for the specified column, or as a comma-separated list for all columns
indnumberthe index of a column

Example

//set the min width of the first column 
mygrid.setColumnMinWidth(50,0);
//set columns min widths
mygrid.setColumnMinWidth("50,100,100,150,200,100,150");

Back to top