Closed nbelghiti88 closed 1 year ago
In this case you need to pass to the table only visible rows:
this.columns = [
{ key: 'phone', title: 'Phone' },
{ key: 'age', title: 'Age' },
{ key: 'company', title: 'Company' },
{ key: 'name', title: 'Name' },
];
this.data = [...this.data].map((item) => ({
phone: item.phone,
age: item.age
... etc
}))
How can I search only on the visible elements on the table?
In this example the search will be on all attributes of data. I want to search only on visible columns.