Two rows in and colvis

Two rows in and colvis

spacemancwspacemancw Posts: 36Questions: 10Answers: 0

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

Sign In or Register to comment.