Colvis columnText Title not rendered when used with column header search filter

Colvis columnText Title not rendered when used with column header search filter

bchiprebchipre Posts: 30Questions: 10Answers: 0

Hi Allan,
I tried an example from : https://datatables.net/forums/discussion/61922/customization-of-column-button-text
Here I tried to add a column header search filter to the available Colvis option. It works perfectly with two issues.

  1. In http://live.datatables.net/xekevuki/2/edit when we add the filter code before "var table = $('#example').DataTable({", and show/hide the columns, I am able to see that the Colvis columnText Title goes missing and only the idx: is visible. So only 6: is seen. No idea how title goes missing. Also the search column is hidden which is as per my requirement.

  2. Now in http://live.datatables.net/larugoro/1/edit when we add the filter code after "var table = $('#example').DataTable({", and show/hide the columns, I am able to see a search column without a header. Practically the search box should also get hidden as above. Note that the Colvis columnText Title is visible.

I am trying to add column header search filter including colvis, wherein the search column is hidden when Show/Hide is toggeled and has the idx with title for colvis.

Thanks in advance...

This question has an accepted answers - jump to answer

Answers

This discussion has been closed.