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

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.
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.
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
Hi Allan,
To add more the above question.
In http://live.datatables.net/xekevuki/2/edit, The Sorting buttons are now moved next to search box instead it should have stayed next to column header Name.
In http://live.datatables.net/larugoro/1/edit, The Sorting buttons are now repeated twice a) one moved next to search box and b) one next to column header Name.
So I strongly suggest that the sorting buttons should always be next to the column header Name and not repeated.
Use orderCellsTop. Example here:
http://live.datatables.net/kagadudu/1/edit
@tangerine :
Works perfectly like a charm. Indeed I read this but didn't think I should use this. Thanks buddy ! Datatables rocks...