name: "datatable-head",
"test non-DataTable construction": function () {
});
},
"DataTable.Base default headerView should be DataTable.HeaderView": function () {
columns: ['a'],
data: [{ a: 1 }]
});
},
"DataTable default headerView should be DataTable.HeaderView": function () {
columns: ['a'],
data: [{ a: 1 }]
});
}
}));
name: "nested headers",
tearDown: function () {
if (this.table) {
}
},
"columns configured with children should result in multiple thead rows": function () {
columns: [
'c', 'd'
],
data: []
}).render();
}
}));
name: "abbr column config",
tearDown: function () {
if (this.table) {
}
},
"column abbr should be added to the <th> as attribute": function () {
data: []
}).render();
}
}));
name: "className column config",
tearDown: function () {
if (this.table) {
}
},
"column className should be added to the <th>'s class attribute": function () {
data: []
}).render();
}
}));
name: "columns attribute",
tearDown: function () {
if (this.table) {
}
},
"changing columns should rerender headers": function () {
columns: [ 'a' ],
data: []
}).render();
}
}));
name: "destroy",
tearDown: function () {
if (this.table) {
}
},
"destroying the headerView instance should prevent further column changes propagating to the UI": function () {
columns: [ 'a' ],
data: []
}).render();
}
}));