Column Visibility not hiding filter rows
Column Visibility not hiding filter rows

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
This example from this thread shows how to add/remove the select filters based on column visibility.
Kevin