Check documentation for the latest version of dhtmlxSuite setInitWidthsP DHTMLX Docs

setInitWidthsP

sets the width of columns in percents

void setInitWidthsP(string wp);
wpstringa list of columns' width in percents. The sum of columns' widths must be equal to 100.

Example

mygrid.setInitWidthsP("50,40,10");

Back to top