Skip to content

@revolist/revogrid / JSX / RevogrClipboard

Interface: RevogrClipboard

This Clipboard provides functionality for handling clipboard events in a web application.

Properties

PropertyTypeDescriptionDefined in
onAfterpasteapply?(event: RevogrClipboardCustomEvent<{ event: ClipboardEvent; parsed: string[][]; raw: string; }>) => voidPaste 4. Fired after paste applied to the grid defaultPrevented - if true, paste will be canceledsrc/components.d.ts:1614
onBeforecopy?(event: RevogrClipboardCustomEvent<{ event: ClipboardEvent; }>) => voidCopy 1. Fired before copy triggered defaultPrevented - if true, copy will be canceledsrc/components.d.ts:1622
onBeforecopyapply?(event: RevogrClipboardCustomEvent<{ data: string[][]; event: DataTransfer; }>) => voidCopy Method 1. Fired before copy applied to the clipboard from outside. defaultPrevented - if true, copy will be canceledsrc/components.d.ts:1628
onBeforecut?(event: RevogrClipboardCustomEvent<{ event: ClipboardEvent; }>) => voidCut 1. Fired before cut triggered defaultPrevented - if true, cut will be canceledsrc/components.d.ts:1635
onBeforepaste?(event: RevogrClipboardCustomEvent<{ dataText: string; event: ClipboardEvent; isHTML: boolean; raw: string; }>) => voidPaste 1. Fired before paste applied to the grid defaultPrevented - if true, paste will be canceledsrc/components.d.ts:1641
onBeforepasteapply?(event: RevogrClipboardCustomEvent<{ event: ClipboardEvent; parsed: string[][]; raw: string; }>) => voidPaste 2. Fired before paste applied to the grid and after data parsedsrc/components.d.ts:1650
onClearregion?(event: RevogrClipboardCustomEvent<DataTransfer>) => voidCut 2. Clears region when cut is donesrc/components.d.ts:1658
onCopyregion?(event: RevogrClipboardCustomEvent<DataTransfer>) => voidCopy 2. Fired when region copied defaultPrevented - if true, copy will be canceledsrc/components.d.ts:1662
onPasteregion?(event: RevogrClipboardCustomEvent<string[][]>) => voidPaste 3. Internal method. When data region is ready pass it to the top.src/components.d.ts:1668
readonly?booleanIf readonly mode - disabled Paste eventsrc/components.d.ts:1672

Revogrid is a powerful data grid library made by Revolist OU.