When enabling select filters in the thead area with colvis the thead pushes out if selecting colvis
When enabling select filters in the thead area with colvis the thead pushes out if selecting colvis
On our Businesses 2 (Businesses/Contacts) page we enable the select filters in the thead position. We have also set up a couple colvis buttons/functions.
https://www.smokeymo.xyz/bin/businesses2
When we first load the page it looks great regardless of browser width. When we click on an of the colvis columns, eithther colvis buttons or fields under the Column Visibility select menu it breaks. The data columns display correctly but the colvis thead columns remain visible causing a disconnect.
How do we get them synchronized?
With colvis selected
Answers
This is somewhat related to https://datatables.net/forums/discussion/75524/how-do-you-control-the-width-of-colvis-columns/p1?new=1 but different.
This example from this thread shows how to keep up with the select inputs.
Kevin
We had to create some custom javascript to get this to work But it now works. Your references pointed us, Shovon, in the right direction.