Dynamic grid properties can make use of a backing store.
This backing store is created in the same layer (the grid properties layer) by clearState
and backs grid-only properties. We currently do not create one for descendant objects, such as column and cell properties objects.
The members of the backing store have the same names as the dynamic properties that utilize them.
They are initialized by clearState
to the default values from defaults
object members, (also) of the same name.
Note that dynamic properties must enumerable to be visible to Hypergrid#saveState
.
Members
(static) lineColor
Grid line color.
This is a Legacy property. It is now implemented as a dynamic property accessor:
- Getting its value returns the current value of the new (as of 2.1.0)
gridLinesHColor
property. - Setting its value sets
gridLinesHColor
andgridLinesVColor
. - It is non-enumerable; it is not output with
grid.saveState()
; the accessed properties are output instead.
(static) lineWidth
Grid line width.
This is a Legacy property. It is now implemented as a dynamic property accessor:
- Getting its value returns the current value of the new (as of 2.1.0)
gridLinesHColor
property. - Setting its value sets
gridLinesHColor
andgridLinesVColor
. - It is non-enumerable; it is not output with
grid.saveState()
; the accessed properties are output instead.