ColumnFilter with three header rows

ColumnFilter with three header rows

miwoemiwoe Posts: 14Questions: 2Answers: 0
edited July 2013 in Feature requests
I have a table with three header rows:

Table title
...column titles
...column filter row


However, column filter can not be configured with this setup. Therefore, I have added another option "head:third" and added the LoC:

} else if (properties.sPlaceHolder == "head:third") {

if (oTable.fnSettings().bSortCellsTop) {
var tr = $("tr:first", oTable.fnSettings().nTHead).next().next().detach();
aoFilterCells = oTable.fnSettings().aoHeader[2];
} else {
aoFilterCells = oTable.fnSettings().aoHeader[1];

Then column filter is placing the filters in the third row. Just copied then body of head:after and added another next() invocation...


  • allanallan Posts: 60,962Questions: 1Answers: 9,940 Site admin
    The column filter plug-in is not part of the DataTables project. I'd suggest opening an issue on the column filter's Google code page.

This discussion has been closed.