Add clear filters section

pull/1021/head
Cagatay Civici 2021-02-16 16:08:15 +03:00
parent 5e27c6096c
commit 24a0c7aaa7
1 changed files with 2 additions and 2 deletions

View File

@ -678,7 +678,7 @@ data() {
</code></pre>
<h6>Populate Filters</h6>
<p>Providing a filters with predefined values would be enough to display the table as filtered by default.</p>
<p>Providing a filters with predefined values would be enough to display the table as filtered by default. This approach can also be used to clear filters progammatically.</p>
<pre v-code.script><code>
data() {
return {
@ -687,7 +687,7 @@ data() {
'name': {operator: FilterOperator.AND, constraints: [
{value: 'Prime', matchMode: FilterMatchMode.STARTS_WITH},
{value: 'Vue', matchMode: FilterMatchMode.CONTAINS}
]},
]}
}
}
}