hiding ColVis elements without reloading table
hiding ColVis elements without reloading table
Hi there. I have a page that makes heavy use of datatables and includes the ColVis plug-in. I've recently had the need to remove columns from the table without completely reloading the table. This works quite well as it's just a matter of calling fnSetColumnVis. However, I need these columns to be permanently hidden and the user can quite easily bring them back by toggling them in the Show/Hide list that the ColVis plug-in creates.
Is there currently a path in place for dynamically hiding/showing entries in the ColVis list? I did manage to get this working but it requires some modifications to the ColVis js and I'd rather avoid this if possible. Thanks!
Is there currently a path in place for dynamically hiding/showing entries in the ColVis list? I did manage to get this working but it requires some modifications to the ColVis js and I'd rather avoid this if possible. Thanks!
This discussion has been closed.
Replies