Make number column sortable ascending only
This commit is contained in:
@@ -1,21 +1,21 @@
|
||||
(function($) {
|
||||
|
||||
// Data tables
|
||||
$('.sp-data-table').dataTable({
|
||||
'aaSorting': [],
|
||||
'bAutoWidth': false,
|
||||
'bFilter': false,
|
||||
'bInfo': false,
|
||||
'bPaginate': false,
|
||||
'bSort': true,
|
||||
'oLanguage': {
|
||||
'oAria': {
|
||||
'sSortAscending': '',
|
||||
'sSortDescending': ''
|
||||
$(".sp-data-table").dataTable({
|
||||
"aaSorting": [],
|
||||
"bAutoWidth": false,
|
||||
"bFilter": false,
|
||||
"bInfo": false,
|
||||
"bPaginate": false,
|
||||
"bSort": true,
|
||||
"oLanguage": {
|
||||
"oAria": {
|
||||
"sSortAscending": "",
|
||||
"sSortDescending": ""
|
||||
}
|
||||
},
|
||||
'aoColumnDefs': [
|
||||
{ 'bSortable': false, 'aTargets': [ 0 ] }
|
||||
"aoColumnDefs": [
|
||||
{ "asSorting": [ "asc" ], "aTargets": [ 0 ] }
|
||||
]
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user