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

setInitWidthsP

sets the width of columns in percents

void setInitWidthsP(string wp);

Parameters

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