Added demo for delayInit option

This commit is contained in:
Mihhail Verhovtsov 2014-02-20 09:43:44 +02:00
parent 6598368e9c
commit 3785c87cba
4 changed files with 72676 additions and 3 deletions

View File

@ -109,7 +109,7 @@
<div class="next-up"> <div class="next-up">
<hr /> <hr />
Next up: <a href="example-meta-sort-list.html">Set a initial sorting order using metadata &rsaquo;&rsaquo;</a> Next up: <a href="example-option-delay-init.html">Demonstration of delayInit option &rsaquo;&rsaquo;</a>
</div> </div>
</div> </div>

File diff suppressed because it is too large Load Diff

View File

@ -448,6 +448,7 @@
<li><a href="example-triggers.html">Triggers sortEnd and sortStart (Displaying sorting progress)</a></li> <li><a href="example-triggers.html">Triggers sortEnd and sortStart (Displaying sorting progress)</a></li>
<li><a href="example-extending-defaults.html">Extending default options</a></li> <li><a href="example-extending-defaults.html">Extending default options</a></li>
<li><a href="example-option-debug.html">Enabling debug mode</a></li> <li><a href="example-option-debug.html">Enabling debug mode</a></li>
<li><a href="example-option-delay-init.html">Demonstration of delayInit option</a></li>
</ul> </ul>
<h4>Playgrounds & Other demos</h4> <h4>Playgrounds & Other demos</h4>
@ -750,7 +751,7 @@
<td> <td>
Setting this option to true will delay parsing of all table cell data until the user initializes a sort. This speeds up the initialization process of very large tables, but the data still needs to be parsed, so the delay is still present upon initial sort. Setting this option to true will delay parsing of all table cell data until the user initializes a sort. This speeds up the initialization process of very large tables, but the data still needs to be parsed, so the delay is still present upon initial sort.
</td> </td>
<td><a href="example-option-debug.html">Example</a></td> <td><a href="example-option-delay-init.html">Example</a></td>
</tr> </tr>
<tr id="emptyto"> <tr id="emptyto">

View File

@ -21,7 +21,7 @@ $(function(){
if ($("#css").length) { if ($("#css").length) {
$("pre.lang-css").addClass('mod').html( cleanupCode( $("#css").html() ) ); $("pre.lang-css").addClass('mod').html( cleanupCode( $("#css").html() ) );
} }
if ($("#demo").length) { if ($("#demo").length && $("#html pre").length) {
$("#html pre").addClass('mod').html( cleanupCode( $("#demo").html() ) ); $("#html pre").addClass('mod').html( cleanupCode( $("#demo").html() ) );
} }