MCPcopy Index your code
hub / github.com/handsontable/handsontable / getCopyableText

Method getCopyableText

handsontable/src/dataMap/dataMap.ts:1145–1147  ·  view source on GitHub ↗

* Return data as copyable text (tab separated columns intended for clipboard copy to an external application). * * @param {object} [start] Start selection position. Visual indexes. * @param {object} [end] End selection position. Visual indexes. * @returns {string}

(start: { row: number; col: number }, end: { row: number; col: number })

Source from the content-addressed store, hash-verified

1143 * @returns {string}
1144 */
1145 getCopyableText(start: { row: number; col: number }, end: { row: number; col: number }) {
1146 return stringify(this.getRange(start, end, DataMap.DESTINATION_CLIPBOARD_GENERATOR));
1147 }
1148
1149 /**
1150 * Destroy instance.

Callers 2

CoreFunction · 0.80
methods.types.tsFile · 0.80

Calls 2

getRangeMethod · 0.95
stringifyFunction · 0.90

Tested by

no test coverage detected