vue-datatables-net icon indicating copy to clipboard operation
vue-datatables-net copied to clipboard

Field Visibility - toggling columns

Open muhzak opened this issue 3 years ago • 1 comments

Is there an easy way to do this? I change the field visible to on or off based on a check box. But nothing.

muhzak avatar Feb 24 '22 18:02 muhzak

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.

noogen avatar Feb 24 '22 19:02 noogen