Two rows in and colvis
Two rows in and colvis

I want 2 rows in my <thead>, first one for column names, and 2nd one for dropdown menus for filtering.
I use colvis. I want the column names (in the first row) to be in the "Column Visibility" menu.
Here is an example : https://live.datatables.net/nakazate/2/edit
In this example the names in the 2nd row are in the colvis menu.
If I put my names in the first row, and filters in the 2nd row, the colvis has all blanks in the menu.
If I put my filters in row 1 and names in row 2, the names are now in the colvis menu.
How do I make colvis read the column names from the first row?
I want my dropdown filters for each column to be UNDER it's name, not above it.
Answers
titleRow
is the option you want: https://live.datatables.net/nakazate/51/edit .For the column filtering, you could make use of ColumnControl - e.g. this example might suit your needs well.
I've updated your support request example to use ColumnControl. Note that I didn't need to use
titleRow
in this case since the filtering row is inserted by ColumnControl and it handles that for you.Allan
Excellent! Thank you very much.