From 402b0156c8d03f4e9d92939e03896b838088625f Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Tue, 2 Feb 2021 18:43:36 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 20 ++++++++++++++++++- ayanova/src/components/data-table.vue | 28 +++++++++++++++++++++++++++ 2 files changed, 47 insertions(+), 1 deletion(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 689ddac2..fa771ca6 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -9,7 +9,25 @@ MISC ITEMS THAT CAME UP LISTVIEW REPLACE CURRENT <----HERE not THERE ---v (below this is all past for reference) - SortBy in mobile not translated (vuetify default) + Header filter icon + https://github.com/vuetifyjs/vuetify/issues/1548 + https://codepen.io/aldarund/pen/yqgVgy + + + +Customers +Filter +- +{ "headers": [ { "text": "", "sortable": false, "width": "1px", "value": "data-table-select" }, +{ "text": "Customer name", "fk": "customername", "value": "columns.c0", "align": "start" }, +{ "text": "Business", "fk": "customerphone1", "value": "columns.c1" }, +{ "text": "Email", "fk": "customeremail", "value": "columns.c2" }, +{ "text": "Head Office", "fk": "customerheadoffice", "value": "columns.c3" }, +{ "text": "Web Address", "fk": "customerwebaddress", "value": "columns.c4" } ], +"options": { "page": 1, "itemsPerPage": 10, "sortBy": [ "columns.c2" ], "sortDesc": [ false ], +"groupBy": [], "groupDesc": [], "mustSort": false, "multiSort": true }, "mobile": false, "showGroupBy": false, +"someItems": false, "everyItem": false, "singleSelect": false, "disableSort": false } + ....... diff --git a/ayanova/src/components/data-table.vue b/ayanova/src/components/data-table.vue index d2caf8f7..55e06823 100644 --- a/ayanova/src/components/data-table.vue +++ b/ayanova/src/components/data-table.vue @@ -56,6 +56,31 @@ class="elevation-1" data-cy="datatable" > + + + + + +