Docs: minor corrections

This commit is contained in:
Mottie 2015-06-26 07:26:10 -05:00
parent 37d44b18e3
commit 14bb009de6

View File

@ -36,7 +36,7 @@
// pass the headers argument and passing a object // pass the headers argument and passing a object
headers: { headers: {
// set initial sort order by column, this headers option setting overrides the sortInitialOrder option // disable sorter & parser for age column
1: { sorter: false, parser: false } 1: { sorter: false, parser: false }
} }
@ -63,7 +63,7 @@
<ul> <ul>
<li>jQuery data <code>data-parser="false"</code>.</li> <li>jQuery data <code>data-parser="false"</code>.</li>
<li>metadata <code>class="{ parser: "false" }"</code>. This requires the metadata plugin.</li> <li>metadata <code>class="{ parser: "false" }"</code>. This requires the metadata plugin.</li>
<li>headers option <code>headers : { 0 : { parser: "false" } }</code>.</li> <li>headers option <code>headers : { 0 : { parser: false } }</code>.</li>
<li>header class name <code>class="parser-false"</code>.</li> <li>header class name <code>class="parser-false"</code>.</li>
</ul> </ul>
</li> </li>
@ -76,6 +76,7 @@
<tr> <tr>
<th>Name</th> <th>Name</th>
<th>Age</th> <th>Age</th>
<!-- disable sorter & parser for the Date column -->
<th class="sorter-false parser-false">Date</th> <th class="sorter-false parser-false">Date</th>
</tr> </tr>
</thead> </thead>