0
|
1 // DATA_TEMPLATE: empty_table
|
|
2 oTest.fnStart( "bServerSide" );
|
|
3
|
|
4 /* Not interested in server-side processing here other than to check that it is off */
|
|
5
|
|
6 $(document).ready( function () {
|
|
7 /* Check the default */
|
|
8 var oTable = $('#example').dataTable( {
|
|
9 "sAjaxSource": "../../../examples/ajax/sources/arrays.txt",
|
|
10 "bDeferRender": true
|
|
11 } );
|
|
12 var oSettings = oTable.fnSettings();
|
|
13
|
|
14 oTest.fnWaitTest(
|
|
15 "Server side is off by default",
|
|
16 null,
|
|
17 function () { return oSettings.oFeatures.bServerSide == false; }
|
|
18 );
|
|
19
|
|
20 oTest.fnComplete();
|
|
21 } ); |