setColumnWidth

fun setColumnWidth(columnIndex: Int, columnWidth: Number)

Manually set column width of one column. Overrides automatic resizing based on content from this column.

See also

Parameters

columnIndex

Target column.

columnWidth

New column width. Use COLUMN_WIDTH_AUTO to restore automatic resizing behaviour.

Throws

If value was negative.