Static Readonly STORAGE_Suffix of the storage key: <key>tableState.
Applies the parts of a state (only the parts it contains, optionally only the given ones) and repaints.
Reports the change with onStateChanged and stores it.
the state
Optional parts: readonly TableStatePart[] = ALL_TABLE_STATE_PARTSonly these parts
Stores and reports the dirty parts now (normally called by the timer of markDirty).
The current state (all parts, or the given ones). Parts that do not apply to the table are left out (e.g. tree
without a tree, columns without column definitions).
Optional parts: readonly TableStatePart[] = ALL_TABLE_STATE_PARTSthe parts to read, default: all
the state
Marks a part as changed. After TableOptionsIf.stateChangedDebounceDelay the state is stored and reported – only if it really changed. No effect before the table is built.
the changed part
Back to the state right after the table was built (the code's column layout, sort icons, header groups, without
the restored state; tree, checked rows and selection when they are stored or were given as initialState),
scrolled to the top, custom data removed – and removes the stored state.
Collects and applies the TableStateIf of one table, stores it (AutoRestoreOptionsIf) and reports changes (EventListenerIf.onStateChanged). One instance per TableScope (
tableScope.stateService); use the methods of TableApi instead.Changes are only marked (markDirty); after TableOptionsIf.stateChangedDebounceDelay the dirty parts are computed once, compared with the last reported state, stored with ONE storage write and reported with ONE event – no storage access per scroll frame.
Since
1.1.92