File: autoWidth.xml

package info (click to toggle)
datatables.js 1.10.13%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 6,232 kB
  • ctags: 1,329
  • sloc: xml: 10,249; php: 4,387; sh: 492; makefile: 21
file content (23 lines) | stat: -rw-r--r-- 779 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0" encoding="UTF-8" ?>
<dt-option group="feature">
	<name>autoWidth</name>
	<summary>Feature control DataTables' smart column width handling</summary>
	<since>1.10</since>

	<type type="boolean" />
	<default value="true" />

	<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 `dt-init columns.width`.
	</description>

	<example title="Disable smart width calculations"><![CDATA[
$('#example').dataTable( {
  "autoWidth": false
} );
]]></example>

	<related type="option">columns.width</related>
	<related type="api">columns.adjust()</related>
	<related type="event">column-sizing</related>
</dt-option>