@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:1614 |
onBeforecopy? | (event : RevogrClipboardCustomEvent <{ event : ClipboardEvent ; }>) => void | Copy 1. Fired before copy triggered defaultPrevented - if true, copy will be canceled | src/components.d.ts:1622 |
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:1628 |
onBeforecut? | (event : RevogrClipboardCustomEvent <{ event : ClipboardEvent ; }>) => void | Cut 1. Fired before cut triggered defaultPrevented - if true, cut will be canceled | src/components.d.ts:1635 |
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:1641 |
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:1650 |
onClearregion? | (event : RevogrClipboardCustomEvent <DataTransfer >) => void | Cut 2. Clears region when cut is done | src/components.d.ts:1658 |
onCopyregion? | (event : RevogrClipboardCustomEvent <DataTransfer >) => void | Copy 2. Fired when region copied defaultPrevented - if true, copy will be canceled | src/components.d.ts:1662 |
onPasteregion? | (event : RevogrClipboardCustomEvent <string [][]>) => void | Paste 3. Internal method. When data region is ready pass it to the top. | src/components.d.ts:1668 |
readonly? | boolean | If readonly mode - disabled Paste event | src/components.d.ts:1672 |