Skip to content

RevoGrid Documentation v4.23.21 / JSX / RevogrOverlaySelection

Interface: RevogrOverlaySelection

Component for overlaying the grid with the selection.

Properties

PropertyTypeDescriptionDefined in
additionalData?anyAdditional data to pass to renderer.src/components.d.ts:2206
applyChangesOnClose?booleanIf true applys changes when cell closes if not Escape. Default falsesrc/components.d.ts:2211
canDrag?booleanEnable revogr-order-editor component (read more in revogr-order-editor component). Allows D&D.src/components.d.ts:2215
colDataObservable<DSourceState<ColumnRegular<ColumnProp, DataType<any, ColumnProp>>, DimensionCols>>Column data store.src/components.d.ts:2219
dataStoreObservable<DSourceState<DataType, DimensionRows>>Row data store.src/components.d.ts:2223
dimensionColObservable<DimensionSettingsState>Dimension settings X.src/components.d.ts:2227
dimensionRow?Observable<DimensionSettingsState>Dimension settings Y.src/components.d.ts:2231
editors?EditorsCustom editors register.src/components.d.ts:2235
isMobileDevice?booleanIs mobile view mode.src/components.d.ts:2239
lastCell?CellLast real coordinates positions + 1.src/components.d.ts:2243
onApplyfocus?(event: RevogrOverlaySelectionCustomEvent<FocusRenderEvent>) => voidBefore cell get focused. To prevent the default behavior of applying the edit data, you can call e.preventDefault().src/components.d.ts:2247
onBeforeapplyrange?(event: RevogrOverlaySelectionCustomEvent<FocusRenderEvent>) => voidBefore range applied. First step in triggerRangeEvent.src/components.d.ts:2251
onBeforecellfocusinit?(event: RevogrOverlaySelectionCustomEvent<BeforeSaveDataDetails<DataType, ColumnRegular<ColumnProp, DataType<any, ColumnProp>>>>) => voidBefore cell focus.src/components.d.ts:2255
onBeforecellsave?(event: RevogrOverlaySelectionCustomEvent<any>) => voidRuns before cell save. Can be used to override or cancel original save.src/components.d.ts:2259
onBeforecopyregion?(event: RevogrOverlaySelectionCustomEvent<any>) => voidBefore clipboard copy happened. Validate data before copy. To prevent the default behavior of editing data and use your own implementation, call e.preventDefault().src/components.d.ts:2263
onBeforeeditrender?(event: RevogrOverlaySelectionCustomEvent<FocusRenderEvent>) => voidBefore editor render.src/components.d.ts:2267
onBeforekeydown?(event: RevogrOverlaySelectionCustomEvent<{ original: KeyboardEvent; } & EventData>) => voidBefore key up event proxy, used to prevent key up trigger. If you have some custom behaviour event, use this event to check if it wasn't processed by internal logic. Call preventDefault().src/components.d.ts:2271
onBeforekeyup?(event: RevogrOverlaySelectionCustomEvent<{ original: KeyboardEvent; } & EventData>) => voidBefore key down event proxy, used to prevent key down trigger. If you have some custom behaviour event, use this event to check if it wasn't processed by internal logic. Call preventDefault().src/components.d.ts:2275
onBeforenextvpfocus?(event: RevogrOverlaySelectionCustomEvent<Cell>) => voidFired when change of viewport happens. Usually when we switch between pinned regions.src/components.d.ts:2279
onBeforepasteregion?(event: RevogrOverlaySelectionCustomEvent<any>) => voidBefore region paste happened.src/components.d.ts:2283
onBeforerangecopyapply?(event: RevogrOverlaySelectionCustomEvent<ChangedRange>) => voidBefore range copy.src/components.d.ts:2287
onBeforerangedataapply?(event: RevogrOverlaySelectionCustomEvent<FocusRenderEvent>) => voidRange data apply.src/components.d.ts:2291
onBeforesetrange?(event: RevogrOverlaySelectionCustomEvent<any>) => voidBefore range selection applied. Second step in triggerRangeEvent.src/components.d.ts:2295
onBeforesettemprange?(event: RevogrOverlaySelectionCustomEvent<{ tempRange: null | Nullable<TempRange>; } & EventData & AllDimensionType>) => voidBefore set temp range area during autofill.src/components.d.ts:2299
onCanceledit?(event: RevogrOverlaySelectionCustomEvent<any>) => voidCancel edit. Used for editors support when editor close requested.src/components.d.ts:2303
onCelledit?(event: RevogrOverlaySelectionCustomEvent<SaveDataDetails>) => voidRuns when edit finished save started, first in chain eventsrc/components.d.ts:2307
onCelleditapply?(event: RevogrOverlaySelectionCustomEvent<BeforeSaveDataDetails<DataType, ColumnRegular<ColumnProp, DataType<any, ColumnProp>>>>) => voidCell edit apply to the data source. Triggers datasource edit on the root level.src/components.d.ts:2311
onClipboardrangecopy?(event: RevogrOverlaySelectionCustomEvent<RangeClipboardCopyEventProps<any>>) => voidRange copy.src/components.d.ts:2315
onClipboardrangepaste?(event: RevogrOverlaySelectionCustomEvent<RangeClipboardPasteEvent<DataType<any, ColumnProp>>>) => voidRange paste event.src/components.d.ts:2319
onFocuscell?(event: RevogrOverlaySelectionCustomEvent<ApplyFocusEvent & FocusRenderEvent>) => voidCell get focused. To prevent the default behavior of applying the edit data, you can call e.preventDefault().src/components.d.ts:2323
onRangeeditapply?(event: RevogrOverlaySelectionCustomEvent<BeforeRangeSaveDataDetails>) => voidRange data apply. Triggers datasource edit on the root level.src/components.d.ts:2327
onSelectall?(event: RevogrOverlaySelectionCustomEvent<any>) => voidSelect all cells from keyboard.src/components.d.ts:2331
onSelectionchangeinit?(event: RevogrOverlaySelectionCustomEvent<ChangedRange>) => voidAutofill data in range. First step in applyRangeWithDatasrc/components.d.ts:2335
onSetedit?(event: RevogrOverlaySelectionCustomEvent<BeforeEdit>) => voidSet edit cell.src/components.d.ts:2339
onSetrange?(event: RevogrOverlaySelectionCustomEvent<RangeArea & { type: MultiDimensionType; }>) => voidSet range. Third step in triggerRangeEvent.src/components.d.ts:2343
onSettemprange?(event: RevogrOverlaySelectionCustomEvent<null | Nullable<TempRange>>) => voidSet temp range area during autofill.src/components.d.ts:2347
range?booleanRange selection allowed.src/components.d.ts:2351
readonly?booleanReadonly mode.src/components.d.ts:2355
selectionStoreObservable<SelectionStoreState>Selection, range, focus.src/components.d.ts:2359
useClipboard?boolean | ClipboardConfigEnable revogr-clipboard component (read more in revogr-clipboard component). Allows copy/paste. Can be boolean or clipboard config.src/components.d.ts:2363