Data table styling and options

This commit is contained in:
Brian Miyaji
2014-01-08 12:18:39 +11:00
parent 126062ed5e
commit e76d392726
18 changed files with 35 additions and 233 deletions

View File

@@ -1,8 +1,21 @@
(function($) {
console.log('hello');
// Data tables
$('.sp-data-table').dataTable();
$('.sp-data-table').dataTable({
'aaSorting': [],
'bFilter': false,
'bInfo': false,
'bPaginate': false,
'bSort': true,
'oLanguage': {
'oAria': {
'sSortAscending': '',
'sSortDescending': ''
}
},
'aoColumnDefs': [
{ 'bSortable': false, 'aTargets': [ 0 ] }
]
});
})(jQuery);