* Returns single value from the data array (intended for clipboard copy to an external application). * * @param {number} row Visual row index. * @param {number} prop The column property. * @since 16.1.0 * @returns {string}
(row: number, prop: string | number)
| 382 | * @returns {string} |
| 383 | */ |
| 384 | getCopyable(row: number, prop: string | number): unknown { |
| 385 | const visualColumn = this.propToCol(prop); |
| 386 | |
| 387 | if (typeof visualColumn === 'number' && this.hot!.getCellMeta(row, visualColumn).copyable) { |
| 388 | return this.getAtCell(this.hot!.toPhysicalRow(row), visualColumn); |
| 389 | } |
| 390 | |
| 391 | return ''; |
| 392 | } |
| 393 | |
| 394 | /** |
| 395 | * Count number of rows. |
nothing calls this directly
no test coverage detected