Hello!
A have code, its work good. I sorting date by plugin 'de_datetime'
https://datatables.net/plug-ins/sorting/date-de
var table = $('#historyOp').DataTable( {
"language": {
"url": "/assets/vendor/datatables/Russian.json"
}
,"filter": false
,"lengthChange": false
/*,"order": [ [0,'DESC']]*/
,"drawCallback": function () {
var api = this.api();
}
,"columnDefs": [
{ "type": "de_datetime", targets: 0 }
]
});
But, I need sorting DESC this colums.
If i add
,"order": [ [0,'DESC']]
give error
http://joxi.ru/KAg7zleC4WK9qA
How i can sorting this colum?