How to sort datatables with date in descending order

前端 未结 14 1967
我寻月下人不归
我寻月下人不归 2020-12-29 11:11

I wish to show the records using datatables with default ordering based on one of my rows with date & time in descending order. Please help me in editing the jquery stru

14条回答
  •  旧时难觅i
    2020-12-29 11:24

    This was the answer for me:

    >${myObject.myDate}
    

    more details, here in the html5 section: https://datatables.net/manual/data/

提交回复
热议问题