1 // DATA_TEMPLATE: empty_table
2 oTest.fnStart( "aoColumns.sName" );
4 /* This has no effect at all in DOM methods - so we just check that it has applied the name */
6 $(document).ready( function () {
7 /* Check the default */
8 var oTable = $('#example').dataTable( {
9 "sAjaxSource": "../../../examples/ajax/sources/objects.txt",
11 { "mData": "engine" },
12 { "mData": "browser" },
13 { "mData": "platform" },
14 { "mData": "version", "sName": 'unit test' },
18 var oSettings = oTable.fnSettings();
21 "Names are stored in the columns object",
23 function () { return oSettings.aoColumns[3].sName =="unit test"; }