Column Visibility not hiding filter rows

Column Visibility not hiding filter rows

sjw01sjw01 Posts: 67Questions: 36Answers: 1

Link to test case: http://live.datatables.net/memajidi/1/edit

Description of problem:
I have created a DatTable utilising a number of features described in the examples:
1. Added a column filter using a variation of example: https://datatables.net/manual/api#Example---column-filter (Added to thead instead of footer)
2. Added column visibility using example: https://datatables.net/extensions/buttons/examples/column_visibility/stateSave

Problem: When I hide a column, it doesn't hide the filter row causing a select filter mismatch...

Answers

  • kthorngrenkthorngren Posts: 20,142Questions: 26Answers: 4,736

    This example from this thread shows how to add/remove the select filters based on column visibility.

    Kevin

Sign In or Register to comment.