Skip to content

ClipboardConfig

Configuration options for the clipboard plugin

PropertyTypeDescription
includeHeaders?booleanInclude column headers in copied text (default: false)
delimiter?stringColumn delimiter character (default: ‘\t’ for tab)
newline?stringRow delimiter/newline character (default: ‘\n’)
quoteStrings?booleanWrap string values with quotes (default: false)
processCell?(value: unknown, field: string, row: unknown) => stringCustom cell value processor for copy operations
pasteHandler?PasteHandler | unknownCustom paste handler. By default, the plugin applies pasted data to grid.rows starting at the target cell.

Custom paste handler. By default, the plugin applies pasted data to grid.rows starting at the target cell.

  • Set to a custom function to handle paste yourself
  • Set to null to disable auto-paste (event still fires)
  • Return false from handler to prevent default behavior

Default: defaultPasteHandler (auto-applies paste data)


AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://raw.githubusercontent.com/OysteinAmundsen/toolbox/main/llms-full.txt