Sorting listener applying

Sorting listener applying

teplologteplolog Posts: 2Questions: 0Answers: 0
edited October 2011 in DataTables 1.8
Hello, in my dataTable i have structure like this:

title 1title 2...
...

When i work with v.1.7.6 sorting listener was applying to th cells in thead,
but now when i'm upgrading to v.1.8.2 sorting listener applies to td cells in thead.
So, how can i apply it to th?

Replies

  • allanallan Posts: 61,831Questions: 1Answers: 10,133 Site admin
    http://datatables.net/ref#bSortCellsTop . Just set it to true :-)

    This change in behaviour is mentioned in the change notes: http://datatables.net/upgrade/1.8

    Regards,
    Allan
  • teplologteplolog Posts: 2Questions: 0Answers: 0
    Thanks, for answering and for great plug-in !
    I will read notes when upgrading next time :-)
This discussion has been closed.