Stop Order on page load

Stop Order on page load

kiwiskiwis Posts: 15Questions: 10Answers: 0

I'm populating my table from records in a database. Order by surname but printed firstname lastname.

On page load datatables is reordering by firstname being alphabetical. is there a way to stop this unless the user records it?

Answers

  • kthorngrenkthorngren Posts: 20,302Questions: 26Answers: 4,769

    Use the order option to set the initial table order. There is an example of this in the docs.

    Kevin

This discussion has been closed.