Closed ihor-zinchenko closed 6 years ago
I have next code
<datatable title="Test" :rows="status.items" :columns="tableHead" :customButtons="customButtons" ></datatable>
status.items
and tableHead
include information about people
Also i add custom button for open table settings modal
In modal i have checkboxes for each tableHead
item
When i change any checkbox i need hide same column in table. How i can do this?
For buttons you have hide
boolean option but do you have somethink same for columns?
For example:
http://joxi.ru/8Anx94dhjLYX5m - My table
http://joxi.ru/MAj39vQs4enwor - modal with table settings
Thanks!
You have to update your tableHead
array wich will reactivley will update your table.
oh thanks!!
@IhorVimmi Please provide more information. What are you trying to do?