Optional
Readonly
backgroundThe background color for the body cells.
This color is layered on top of the voidColor
.
Optional
Readonly
columnA function which returns the background color for a column.
This color is layered on top of the backgroundColor
and can
be used to implement "zebra striping" of the grid columns.
Optional
Readonly
cursorThe border color for the cursor.
Optional
Readonly
cursorThe fill color for the cursor.
Optional
Readonly
gridThe color for the grid lines of the body cells.
The grid lines are draw on top of the cell contents.
Optional
Readonly
headerThe background color for the header cells.
This color is layered on top of the voidColor
.
Optional
Readonly
headerThe color for the grid lines of the header cells.
The grid lines are draw on top of the cell contents.
Optional
Readonly
headerThe color for the horizontal grid lines of the header cells.
This overrides the headerGridLineColor
option.
Optional
Readonly
headerThe border color for a header selection.
Optional
Readonly
headerThe fill color for a header selection.
Optional
Readonly
headerThe color for the vertical grid lines of the header cells.
This overrides the headerGridLineColor
option.
Optional
Readonly
horizontalThe color for the horizontal grid lines of the body cells.
This overrides the gridLineColor
option.
Optional
Readonly
rowA function which returns the background color for a row.
This color is layered on top of the backgroundColor
and can
be used to implement "zebra striping" of the grid rows.
Optional
Readonly
scrollThe drop shadow effect when the grid is scrolled.
Readonly
color1: stringThe first color stop for the shadow.
Readonly
color2: stringThe second color stop for the shadow.
Readonly
color3: stringThe third color stop for the shadow.
Readonly
size: numberThe size of the shadow, in pixels.
Optional
Readonly
selectionThe border color for a selection.
Optional
Readonly
selectionThe fill color for a selection.
Optional
Readonly
verticalThe color for the vertical grid lines of the body cells.
This overrides the gridLineColor
option.
Optional
Readonly
voidThe void color for the data grid.
This is the base fill color for the entire data grid.
An object which defines the style for a data grid.
Notes
All style colors support the full CSS color syntax.