Multiple rows in THEAD that includes filtering, plus hiding/showing columns

Multiple rows in THEAD that includes filtering, plus hiding/showing columns

EricEric Posts: 24Questions: 0Answers: 0
edited September 2010 in General
I found some other posts here where others were trying to put their inputs for filtering in the thead, along with the column headers, thereby having 2 rows in thead. The problem was that the row with inputs, even if using td instead of th, could not be hidden with DataTables.

I couldn't find a solution, has anyone found one or worked one up?

Thanks!

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    The documentation for the column visibility function (fnSetColumnVis) notes: "this function does not support 'complex headers' (colspan and rowspan on columns) or multiple rows in the header / footer." http://datatables.net/api#fnSetColumnVis , so until I get a chance to work on that code an improve it, or someone else fancies having a go, this is not something that will work I'm afraid.

    Allan
This discussion has been closed.