Data table styling and options
This commit is contained in:
@@ -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);
|
||||
Reference in New Issue
Block a user