RowNumberColumn
A column that displays the row number in each cell.
There is no editor, since the value is read-only.
const grid = new Grid({
appendTo : targetElement,
width : 300,
columns : [
{ type : 'rownumber' }
]
});
See also
- Column - Base column class
No results
Properties
Properties are getters/setters or publicly accessible variables on this class-
Identifies an object as an instance of RowNumberColumn class, or subclass thereof.
-
Identifies an object as an instance of RowNumberColumn class, or subclass thereof.
Functions
Functions are methods available for calling on the class-
defaultRenderer( )private
Renderer that displays the row number in the cell.
-
resizeToFitContent( )private
Resizes the column to match the widest string in it.
CSS variables
CSS variables that can be set to adjust appearance| Name | Description |
|---|---|
| --b-row-number-column-background | Cell background |
type: rownumber