Clipboard
12 Sep 20251 minute to read
The Clipboard module is used to handle clipboard copy action.
Methods
copy
Copy selected rows or cells data into clipboard.
| Parameter | Type | Description | 
|---|---|---|
| withHeader (optional) | boolean | 
      Specifies whether the column header data need to be copied or not. | 
    
Returns void
paste
Paste data from clipboard to selected cells.
| Parameter | Type | Description | 
|---|---|---|
| data | string | 
      Specifies the date for paste. | 
| rowIndex | number | 
      Specifies the row index. | 
| colIndex | number | 
      Specifies the column index. | 
Returns void