{hero}

orderMulti

Since: DataTables 1.10

Multiple column ordering ability control.

Description

When ordering is enabled (ordering), by default DataTables allows users to sort multiple columns by shift clicking upon the header cell for each column. Although this can be quite useful for users, it can also increase the complexity of the order, potentiality increasing the processing time of ordering the data. Therefore, this option is provided to allow this shift-click multiple column ability.

Note that disabling this ability does not impede your ability as a developer to do multiple column ordering using columns.orderData, order or order(), it just disallows the user from performing their own multi-column order.

Type

This option can be given in the following type(s):

Default

true

Example

Disable multiple column ordering ability:

new DataTable('#myTable', {
	orderMulti: false
});

Related

The following options are directly related and may also be useful in your application development.