Sort on 2nd row in header

Sort on 2nd row in header

geekisheregeekishere Posts: 5Questions: 0Answers: 0
edited August 2013 in DataTables 1.9
I am using two rows in the header of my table and by default there is a sorting on 1st row but I want it in 2nd row. Does any one know how to put the sorting in the 2nd row?

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    By default the sort should be on the bottom row actually. bSortCellsTop makes it at the top.

    Allan
  • geekisheregeekishere Posts: 5Questions: 0Answers: 0
    Yeah, I got that but actually I have 2 headers. The first header is for column filter and 2nd header for table column names. How can I put sorting in the 2nd header instead of 1st header.
    If I use just just 1 header with 2 rows then column filter drop down doesn't work. Could anyone tell me what is the work around of this?
This discussion has been closed.