Returns control to decide which subcontrols should be stored
e.g. Multiview component overrides this as it stores states only for the active control/view
Returns HTMLElement
control
Method
getPersistentStateRootControl
getPersistentStateRootKey
getPersistentStateRootKey(): string
Returns root key string under which the values are stored in persistent.JSON file on the disk.
Returns string
store key id
Method
getPersistentStateRootKey
getPersistentStateRootKeyBase
getPersistentStateRootKeyBase(): string
Returns string
Undocumented
getPopupHeight
getPopupHeight(popupDiv): any
Parameters
popupDiv: any
Returns any
Undocumented
getPrevGroup
getPrevGroup(group): any
Parameters
group: any
Returns any
Undocumented
getPrevVisibleColumn
getPrevVisibleColumn(column, editable?): any
Returns the previous visible column (to the left), or undefined if there isn't any.
Returns the top scrolled item information/offset, so that it can be restored in case LV formatting/size is changed (and thus scroll offset of the canvas wouldn't match).
Request an animation frame in the control context. If the control has been cleaned up, then the callback will not execute.
Parameters
callback: (() => void)
Callback to run.
(): void
Returns void
OptionalcallbackID: string
Optional ID for callback, so that multiple instances of the callback do not execute at the same time.
Returns void
Example
this.requestFrame(function () { // this callback will be executed at a maximum of your monitor's natural refresh rate. }, "myUniqueFrameCallbackName");
requestFrameMM
requestFrameMM(callback, callbackID?): void
Request an animation frame in the control context, with the same features as requestAnimationFrameMM(). If the control has been cleaned up, then the callback will not execute.
Parameters
callback: (() => void)
Callback to run.
(): void
Returns void
OptionalcallbackID: string
Optional ID for callback, so that multiple instances of the callback do not execute at the same time.
Returns void
Example
this.requestFrame(function () { // this callback will be executed at a maximum of your monitor's natural refresh rate when focused, maximum of 30 fps when not focused, and maximum of 2 fps when window is not visible. }, "myUniqueFrameCallbackName");
Method
requestFrameMM
requestIdle
requestIdle(callback, callbackID?, useFirst?): number
Calls requestIdleCallback, cancels the previous sheduled callback on cleanup or multiple calls
Parameters
callback: any
Callback, which should be called when idle
OptionalcallbackID: string
String name, which identifies the callback. If present, it cancels the previous sheduled callback
OptionaluseFirst: boolean
Valid only if callbackID is present, if true, previous unfinished timer is finished and the last is revoked
Returns number
Method
requestIdle
requestTimeout
requestTimeout(callback, timeMS, callbackID?, useFirst?): number
Calls setTimeout, cancels the previous sheduled callback on cleanup or multiple calls
Parameters
callback: (() => void)
Callback, which should be called after timeout
(): void
Returns void
timeMS: number
Timeout, in ms
OptionalcallbackID: string
String name, which identifies the callback. If present, it cancels the previous sheduled callback
OptionaluseFirst: boolean
Valid only if callbackID is present, if true, previous unfinished timer is finished and the last is revoked
Sets list of columns as were shown (configured by user)
Parameters
columns: any
OptionalignoreNewColumns: boolean
Ignore new columns and add just these defined in columns variable
Returns void
Method
restoreColumns
restorePersistentState
restorePersistentState(state): void
Parameters
state: any
Returns void
Undocumented
restorePersistentStates
restorePersistentStates(): void
Restores persistent (class) states for the control class and all subcontrols, this stores global (class) state (is same for all instances of the control)
Index of newly added column in visibleColumns array
Method
showColumn
showDelayedPopup
showDelayedPopup(idx): void
Parameters
idx: any
Returns void
Undocumented
showPopup
showPopup(index, isFast?): void
Parameters
index: any
OptionalisFast: any
Returns void
Undocumented
showToast
showToast(message): void
Parameters
message: any
Returns void
Undocumented
stopPreDraw
stopPreDraw(): void
Returns void
Undocumented
storeColumns
storeColumns(defColumns?): any[]
Gets list of columns as are actualy shown (configured by user)
Parameters
OptionaldefColumns: any
List of columns to store. Default is this.columns array
Returns any[]
Columns List of columns
Method
storeColumns
storePersistentState
storePersistentState(state): any
Parameters
state: any
Returns any
Undocumented
storePersistentStates
storePersistentStates(): void
Stores persistent (class) states for the control class and all subcontrols, this stores global (class) state (is same for all instances of the control)
Undocumented