Sha256: c605aac9dff641a5d52003d76d2e88d4adb8ce15c626f082662b532e516e2460
Contents?: true
Size: 684 Bytes
Versions: 28
Compression:
Stored size: 684 Bytes
Contents
// DATA_TEMPLATE: dymanic_table oTest.fnStart( "2530 - Check width's when dealing with empty strings" ); $(document).ready( function () { $('#example').dataTable( { "aaData": [ ['','Internet Explorer 4.0','Win 95+','4','X'], ['','Internet Explorer 5.0','Win 95+','5','C'] ], "aoColumns": [ { "sTitle": "", "sWidth": "40px" }, { "sTitle": "Browser" }, { "sTitle": "Platform" }, { "sTitle": "Version", "sClass": "center" }, { "sTitle": "Grade", "sClass": "center" } ] } ); /* Basic checks */ oTest.fnTest( "Check calculated widths", null, function () { return $('#example tbody tr td:eq(0)').width() < 100; } ); oTest.fnComplete(); } );
Version data entries
28 entries across 28 versions & 1 rubygems