@revolist/revogrid / JSX / RevogrClipboard
Interface: RevogrClipboard
This Clipboard provides functionality for handling clipboard events in a web application.
Properties
Property | Type | Description | Defined in |
---|---|---|---|
onAfterpasteapply? | (event : RevogrClipboardCustomEvent <{ event : ClipboardEvent ; parsed : string [][]; raw : string ; }>) => void | Paste 4. Fired after paste applied to the grid defaultPrevented - if true, paste will be canceled | src/components.d.ts:1621 |
onBeforecopy? | (event : RevogrClipboardCustomEvent <{ event : ClipboardEvent ; }>) => void | Copy 1. Fired before copy triggered defaultPrevented - if true, copy will be canceled | src/components.d.ts:1629 |
onBeforecopyapply? | (event : RevogrClipboardCustomEvent <{ data : string [][]; event : DataTransfer ; }>) => void | Copy Method 1. Fired before copy applied to the clipboard from outside. defaultPrevented - if true, copy will be canceled | src/components.d.ts:1635 |
onBeforecut? | (event : RevogrClipboardCustomEvent <{ event : ClipboardEvent ; }>) => void | Cut 1. Fired before cut triggered defaultPrevented - if true, cut will be canceled | src/components.d.ts:1642 |
onBeforepaste? | (event : RevogrClipboardCustomEvent <{ dataText : string ; event : ClipboardEvent ; isHTML : boolean ; raw : string ; }>) => void | Paste 1. Fired before paste applied to the grid defaultPrevented - if true, paste will be canceled | src/components.d.ts:1648 |
onBeforepasteapply? | (event : RevogrClipboardCustomEvent <{ event : ClipboardEvent ; parsed : string [][]; raw : string ; }>) => void | Paste 2. Fired before paste applied to the grid and after data parsed | src/components.d.ts:1657 |
onClearregion? | (event : RevogrClipboardCustomEvent <DataTransfer >) => void | Cut 2. Clears region when cut is done | src/components.d.ts:1665 |
onCopyregion? | (event : RevogrClipboardCustomEvent <DataTransfer >) => void | Copy 2. Fired when region copied defaultPrevented - if true, copy will be canceled | src/components.d.ts:1669 |
onPasteregion? | (event : RevogrClipboardCustomEvent <string [][]>) => void | Paste 3. Internal method. When data region is ready pass it to the top. | src/components.d.ts:1675 |
readonly? | boolean | If readonly mode - disabled Paste event | src/components.d.ts:1679 |