Turn off default sort

Turn off default sort

buzzterrierbuzzterrier Posts: 1Questions: 0Answers: 0
edited January 2010 in General
I really like the sorting feature, but I want to retain the initial sort order from the database. How do you turn off the default sort?

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Hi buzzterrier,

    Set 'aaSorting to br an empty array on initialisation: http://datatables.net/usage/options#aaSorting

    Regards,
    Allan
This discussion has been closed.