{hero}

keys.clipboardOrthogonal

Since: KeyTable 2.4.0

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

string

Description:

Set the orthogonal data point for the data to copy to clipboard.

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.