How to remove/disable alphabetical sorting by default in 1.7?

How to remove/disable alphabetical sorting by default in 1.7?

jay.chandranjay.chandran Posts: 10Questions: 0Answers: 0
edited June 2011 in General
Hi,

I am using AJAX to load data into datatables from Server side. At server side itself I am sending the data in a particular sorted manner. But when it is rendered into the client side, it is by default sorted by alphabetical order. I don't want DataTable to sort the data in any manner?

How can I achieve this?

Thank You.
Jay

Replies

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    There is an example of how to do that in the aaSorting documentation: http://datatables.net/usage/options#aaSorting

    Allan
  • jay.chandranjay.chandran Posts: 10Questions: 0Answers: 0
    Thanks a lot Allan. That works perfectly... :)
This discussion has been closed.