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:1621
onBeforecopy?(event: RevogrClipboardCustomEvent<{ event: ClipboardEvent; }>) => voidCopy 1. Fired before copy triggered defaultPrevented - if true, copy will be canceledsrc/components.d.ts:1629
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:1635
onBeforecut?(event: RevogrClipboardCustomEvent<{ event: ClipboardEvent; }>) => voidCut 1. Fired before cut triggered defaultPrevented - if true, cut will be canceledsrc/components.d.ts:1642
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:1648
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:1657
onClearregion?(event: RevogrClipboardCustomEvent<DataTransfer>) => voidCut 2. Clears region when cut is donesrc/components.d.ts:1665
onCopyregion?(event: RevogrClipboardCustomEvent<DataTransfer>) => voidCopy 2. Fired when region copied defaultPrevented - if true, copy will be canceledsrc/components.d.ts:1669
onPasteregion?(event: RevogrClipboardCustomEvent<string[][]>) => voidPaste 3. Internal method. When data region is ready pass it to the top.src/components.d.ts:1675
readonly?booleanIf readonly mode - disabled Paste eventsrc/components.d.ts:1679

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