Sort Column

Sort Column

JamieTownsendJamieTownsend Posts: 2Questions: 0Answers: 0
edited September 2010 in General
Hey Guys,

Just started using DataTables today and so far it has worked beautifully when mixed with ASP.NET C#, using a repeater to populate.

I was just wondering, it seems by default that column[0] is selected to be sorted by, I was wonder if it is possible to not sort by anything unless a header is clicked ?

Hope you can help and thanks again for the great product,

Jay

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Yup certainly is. Just set http://datatables.net/usage/options#aaSorting to an empty array.

    Allan
  • JamieTownsendJamieTownsend Posts: 2Questions: 0Answers: 0
    Works!

    Many thanks :)
This discussion has been closed.