Sha256: cf8bb3922fb8f27e3073a9f8053fc07b021ecddc4d2eda75e85588c29dac55b2
Contents?: true
Size: 615 Bytes
Versions: 28
Compression:
Stored size: 615 Bytes
Contents
// DATA_TEMPLATE: dom_data oTest.fnStart( "5508 - Table container width doesn't change when filtering applied to scrolling table" ); $(document).ready( function () { $('#example').dataTable( { "sScrollY": "300px", "bPaginate": false } ); oTest.fnTest( "Width of container 800px on init with scroll", null, function () { return $('div.dataTables_scrollBody').width() == 800; } ); oTest.fnTest( "Unaltered when filter applied", function () { $('#example').dataTable().fnFilter('123'); }, function () { return $('div.dataTables_scrollBody').width() == 800; } ); oTest.fnComplete(); } );
Version data entries
28 entries across 28 versions & 1 rubygems