Sha256: b77b7bc9f1912c7a22c0aea7715e9a8c3e676a6c0a2f5dc29b4fc40ef71a2758
Contents?: true
Size: 560 Bytes
Versions: 28
Compression:
Stored size: 560 Bytes
Contents
// DATA_TEMPLATE: dom_data oTest.fnStart( "aoColumns.sName" ); /* This has no effect at all in DOM methods - so we just check that it has applied the name */ $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable( { "aoColumns": [ null, null, null, { "sName": 'unit test' }, null ] } ); var oSettings = oTable.fnSettings(); oTest.fnTest( "Names are stored in the columns object", null, function () { return oSettings.aoColumns[3].sName =="unit test"; } ); oTest.fnComplete(); } );
Version data entries
28 entries across 28 versions & 1 rubygems