adjustColumnWidth

adjusts the width of a column to make all its content visible

void adjustColumnWidth(string|number id,string|boolean adjust);

Parameters

idstring|numberthe id of a column
adjuststring|booleanoptional, the mode of adjusting a column ("header", "data", true)

Example

grid.adjustColumnWidth("b", "header");

Details

If no value is set to the adjust parameter, the adjustColumnWidth method sets it to true.

See also
Back to top