ColorlibHQ / AdminLTE

AdminLTE - Free admin dashboard template based on Bootstrap 5
https://adminlte.io
MIT License
43.78k stars 18.17k forks source link

[Datatable Order false] #5249

Open Pablo1653 opened 11 months ago

Pablo1653 commented 11 months ago

Hi brossss!!!

I am a Django developer from Argentina, and I'm an engineer specialized in industrial automation. Currently, I am using the AdminLTE database. I have encountered a problem where I need to see the databases ordered by "desc" first. If I need to change the order to another setting, I'd like to be able to do it with a button, but the initial view should have a false order.

To clarify, I want to display the latest commercial opportunities first (both on the page and in the row) in the datatable. Do you have any information on how to achieve this? Can you help me? Thanks a lot.

Pablo Maria Sanguinetti Flores

navtek commented 11 months ago

Hi Pablo,

I would recommend looking at the datatables.net website since AdminLTE only uses datatables as a component, so I believe the AdminLTE maintainers might not be able to help here.

Their (datatables) website has a lot of examples, also their forum is a good place to take a look at.

visserrobin commented 8 months ago

Maybe a bit late, but check this page: https://datatables.net/examples/basic_init/table_sorting.html