| 1 |
// DATA_TEMPLATE: empty_table |
| 2 |
oTest.fnStart( "bServerSide" ); |
| 3 |
|
| 4 |
/* All the other scripts blast the ssp processing */ |
| 5 |
|
| 6 |
$(document).ready( function () { |
| 7 |
/* Check the default */ |
| 8 |
var oTable = $('#example').dataTable( { |
| 9 |
"bServerSide": true, |
| 10 |
"sAjaxSource": "../../../examples/server_side/scripts/server_processing.php" |
| 11 |
} ); |
| 12 |
var oSettings = oTable.fnSettings(); |
| 13 |
|
| 14 |
oTest.fnWaitTest( |
| 15 |
"Server side can be set to on", |
| 16 |
null, |
| 17 |
function () { return oSettings.oFeatures.bServerSide == true; } |
| 18 |
); |
| 19 |
|
| 20 |
oTest.fnComplete(); |
| 21 |
} ); |