keys.clipboardOrthogonal
Set the orthogonal data to copy to clipboard.
Please note - this property requires the KeyTable extension for DataTables.
Description
DataTables' support for orthogonal data allows a single cell to report different data for the different uses that DataTables has for the data. This option provides the ability to control the orthogonal data point that is used for the copy to clipboard action of KeyTables.
Note that this effects the copy clipboard action only. The paste command will write to the raw data for the cell.
Type
Default
- Value:
display
The text that is shown inside the cell will be copied.
Example
Set the orthogonal data for clipboard copy:
new DataTable('#myTable', {
keys: {
clipboardOrthogonal: 'export'
}
});
Related
The following options are directly related and may also be useful in your application development.