52
Name
Parameters
Description
(inherited from Control).
autoSizeColumn(c,
header?, extra?)
c (number): Index of the column to resize.
header? (boolean): Whether the column index refers
to a regular or a header row.
(default value: false)
extra? (number): Extra spacing, in pixels.
(default value: 4)
Resizes a column to fit its content.
autoSizeColumns
(firstColumn?, lastColumn?,
header?, extra?)
firstColumn? (number): Index of the first column to
resize (defaults to the first column).
lastColumn? (number): Index of the last column to
resize (defaults to the last column).
header? (boolean): Whether the column indices refer
to regular or header columns.
(default value: false)
extra? (number): Extra spacing, in pixels.
(default value: 4)
Resizes a range of columns to fit their
content.
The grid will always measure all rows in the
current view range, plus up to 2,000 rows not
currently in view. If the grid contains a large
amount of data (say 50,000 rows), then not all
rows will be measured since that could
potentially take a long time.
autoSizeRow(r, header?,
extra?)
r (number): Index of the row to resize.
header? (boolean): Whether the row index refers to a
regular or a header row.
(default value: false)
extra? (number): Extra spacing, in pixels.
(default value: 0)
Resizes a row to fit its content.
autoSizeRows(firstRow?,
lastRow?, header?, extra?)
firstRow? (number): Index of the first row to resize.
lastRow? (number): Index of the last row to resize.
header? (boolean): Whether the row indices refer to
regular or header rows.
(default value: false)
extra? (number): Extra spacing, in pixels.
(default value: 0)
Resizes a range of rows to fit their content.