autoResizeColumns([value])
Class: Table.
Description:
Gets or sets columns' behavior when a single column is resized (usually manually by the user).
Check description of each value of Table > AutoResize on this page.
See usage example below.
Parameters:
| Name | Type | Description |
|---|---|---|
|
|
One of: Table.AutoResize.None (default), Table.AutoResize.NextColumn, Table.AutoResize.SubsequentColumns, Table.AutoResize.LastColumn, Table.AutoResize.AllColumns |
Returns:
Returns current auto-resize mode if no argument is passed, otherwise the Table instance for chaining.
Type: Table.AutoResize | Table
Examples:
// disables resizing of other columns when one column is resized
table.autoResizeColumns(Table.AutoResize.None);
// last column will be resize to accommodate room for a column being resized
table.autoResizeColumns(Table.AutoResize.LastColumn);
