Heading sort columns default to the last tr in thead?

Heading sort columns default to the last tr in thead?

lilpuglilpug Posts: 9Questions: 3Answers: 0

Hi I have been looking around for the answer to this and have not been able to find any references to it. I am playing with having multiple header column rows in the table. 1 row for the search column fields and the second for the heading titles. Whichever is on the bottom is where the sort filter arrows are placed. I was wondering if there is any form of option to define which row we would like it on rather then the default of last tr in thead?

This question has an accepted answers - jump to answer

Answers

  • lilpuglilpug Posts: 9Questions: 3Answers: 0

    I should of added i am working with the latest version of the Datatables library :).

  • allanallan Posts: 61,765Questions: 1Answers: 10,111 Site admin
    Answer ✓

    The orderCellsTop is the only option DataTables has for this. Its either top or bottom - there is no in between option at the moment.

    Allan

  • lilpuglilpug Posts: 9Questions: 3Answers: 0

    Thank you :D, that will be what I am looking for, it would be better if you could simply supply an integer but I'm sure that will come in the future, I will have a poke around and see what I can do for it :)

    thanks again :D

This discussion has been closed.