autoWidth
Since: DataTables 1.10
Feature control DataTables' smart column width handling.
Description
Enable or disable automatic column width calculation. This can be disabled as an optimisation (it takes a finite amount of time to calculate the widths) if the tables widths are passed in using columns.width
.
Type
This option can be given in the following type(s):
Default
- Value:
true
Example
Disable smart width calculations:
new DataTable('#myTable', {
autoWidth: false
});
Related
The following options are directly related and may also be useful in your application development.