diff --git a/README.md b/README.md index 8d76b253..6b62bee2 100644 --- a/README.md +++ b/README.md @@ -356,9 +356,24 @@ data() { filterable (optional) + enables filtering on column + Boolean + + + filterTextInput (optional) provides the column with a filter input Boolean + + filterDropdown (optional) + provides a dropdown for filtering + Boolean + + + filterOptions (required for filterDropdown) + provides options to dropdown filter filterOptions: ['Blue', 'Red', 'Yellow'] + Array + filter (optional) Custom filter, function of two variables: function(data, filterString), diff --git a/src/components/Table.vue b/src/components/Table.vue index b99c0b12..ee2390bf 100644 --- a/src/components/Table.vue +++ b/src/components/Table.vue @@ -32,9 +32,19 @@ - +
+ + + +