* 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. * @returns {string}
(row: number, prop: string | number)
| 887 | * @returns {string} |
| 888 | */ |
| 889 | getCopyable(row: number, prop: string | number) { |
| 890 | const colIndex = this.propToCol(prop); |
| 891 | |
| 892 | if (typeof colIndex === 'number' && this.hot!.getCellMeta(row, colIndex).copyable) { |
| 893 | return this.get(row, prop); |
| 894 | } |
| 895 | |
| 896 | return ''; |
| 897 | } |
| 898 | |
| 899 | /** |
| 900 | * Saves single value to the data array. |
no test coverage detected