diff --git a/src/views/datatable/DataTableDoc.vue b/src/views/datatable/DataTableDoc.vue index 1d27a962a..aabc19a05 100755 --- a/src/views/datatable/DataTableDoc.vue +++ b/src/views/datatable/DataTableDoc.vue @@ -678,7 +678,7 @@ data() {
Populate Filters
-

Providing a filters with predefined values would be enough to display the table as filtered by default.

+

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.


 data() {
     return {
@@ -687,7 +687,7 @@ data() {
             'name': {operator: FilterOperator.AND, constraints: [
                 {value: 'Prime', matchMode: FilterMatchMode.STARTS_WITH},
                 {value: 'Vue', matchMode: FilterMatchMode.CONTAINS}
-            ]},
+            ]}
         }
     }
 }