DataTable sort time is not working

DataTable sort time is not working

pyypyy Posts: 1Questions: 1Answers: 0

Page script js:

$.fn.dataTable.moment( 'MM/DD/YYYY' );

// omit the process of creating dom element...

$(table)
                .find("table")
                .DataTable({ 
                    ordering: true,
                    order: [], 
                    destroy: true,
                    "dom": 'Bfrtip',
                    buttons: [
                        {
                            extend: 'csv',
                            title: fileName
                        }
                    ]
});

quite wondering how to solve this, appreciated to the help of any kinds

Answers

This discussion has been closed.