setColWidth

sets the width for the specified column in pixels (doesn't work with the percentage based grid)

void setColWidth(number ind,string value);

Parameters

indnumberthe index of a column
valuestringa new width value

Example

//set width of the first column
mygrid.setColWidth(0,"150");

Back to top