setColumnWidths

fun setColumnWidths(columnWidth: Number)

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

See also

Parameters

columnWidth

New column width for all columns. Use COLUMN_WIDTH_AUTO to restore automatic resizing behaviour.

Throws

If value is negative.


fun setColumnWidths(columnWidths: DoubleArray)

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

See also

Parameters

columnWidths

New column widths. Array index 0 get applied for the first column etc. Use COLUMN_WIDTH_AUTO to restore automatic resizing behaviour.

Throws

If Array size does not match column count or values were negative.