R shiny DataTables ColVis behavior
I got an RStudio Shiny server page with DataTables, and I got TableTools and ColReorder working in the example below, but ColVis ( Show/hide columns button) is not behaving in the same way as the example in http://datatables.net/extensions/colvis/ : When clicking the Show/hide columns button, the list mixes up with the values in the table underneath, and I cannot make the list disappear by clicking the button again or clicking anywhere else in the page (again, the example in the datatables page behaves correctly). Also, I am confused about using sDom to order the different elements in the