vue-datatables-net
vue-datatables-net copied to clipboard
Field Visibility - toggling columns
Is there an easy way to do this? I change the field visible to on or off based on a check box. But nothing.
This all has to do with datatable.net API and not a function of this component. See documentation here: https://datatables.net/examples/api/show_hide.html
You want to use the API in the documentation above and not the columnDef itself, because datatables.net is a jQuery component and is not reactive like in Vue.