I want to show the last item added at top , don't want the default sorting of datatable.
I want to show the last item added at top , don't want the default sorting of datatable.
ehsanham
Posts: 2Questions: 1Answers: 0
in DataTables
Hi, I newly used Datables for my project to show a list generated by a Wordpress Plugin , now my problem is default datatable sort . i want the last item to show as the first one in the table .
now its sorted based on default as datatables want and i dono how to achieve what i need .
Would you please help me with this issue , Thank you very much.
This discussion has been closed.
Answers
You can use the
ordering
option to turn off Datatables ordering and show the table in the order received. Is this what you want to do?Kevin
@kthorngren Wow, men.. you are a life saver . Thank you very much mate , hope you doing great.