PHP Classes

File: assets/js/datatables/unit_testing/tests_onhold/4_server-side/2569.js

Recommend this page to a friend!
  Classes of Tran Tuan   Pretty PHP S3 Files Manager   assets/js/datatables/unit_testing/tests_onhold/4_server-side/2569.js   Download  
File: assets/js/datatables/unit_testing/tests_onhold/4_server-side/2569.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Pretty PHP S3 Files Manager
Web based interface to manage files in Amazon S3
Author: By
Last change:
Date: 8 years ago
Size: 1,165 bytes
 

Contents

Class file image Download
// DATA_TEMPLATE: empty_table oTest.fnStart( "Destroy with hidden columns" ); $(document).ready( function () { var mTest; $('#example').dataTable( { "bServerSide": true, "sAjaxSource": "../../../examples/server_side/scripts/server_processing.php", "aoColumnDefs": [ { "bSearchable": false, "bVisible": false, "aTargets": [ 2 ] }, { "bVisible": false, "aTargets": [ 3 ] } ], "fnInitComplete": function () { this.fnDestroy(); } } ); oTest.fnWaitTest( "Check that the number of columns in table is correct", null, function () { return $('#example tbody tr:eq(0) td').length == 5; } ); oTest.fnTest( "And with scrolling", function () { $('#example').dataTable( { "bServerSide": true, "sAjaxSource": "../../../examples/server_side/scripts/server_processing.php", "sScrollY": 200, "aoColumnDefs": [ { "bSearchable": false, "bVisible": false, "aTargets": [ 2 ] }, { "bVisible": false, "aTargets": [ 3 ] } ], "fnInitComplete": function () { this.fnDestroy(); } } ); }, function () { return $('#example tbody tr:eq(0) td').length == 5; } ); oTest.fnComplete(); } );