diff --git a/ayanova/src/components/gz-data-table.vue b/ayanova/src/components/gz-data-table.vue index 702e13ee..d05a2945 100644 --- a/ayanova/src/components/gz-data-table.vue +++ b/ayanova/src/components/gz-data-table.vue @@ -15,9 +15,11 @@ //https://vuetifyjs.com/en/components/data-tables#paginate-and-sort-server-side /* TODO: - Need minimal possible code in containing form - Should pass to this component all it needs to work independently for the most part - +This handles fetching and displaying the data, the parent form handles all other aspects: + - error message display + - opening items + - selecting filters and adding editing templates + What is required to be sent to server: - example full request http://localhost:7575/api/v8/Widget/ListWidgets?Offset=1&Limit=12&DataFilterId=122&vp=xs - api list url @@ -38,7 +40,8 @@ TODO: What it needs to provide TO it's parent form - Item click info to trigger opening edit form - Selected items list for mass ops - + - error event and message in case of server error or other error so parent can handle it + - Grid is responsible ONLY for showing data, nothing else What will be delivered by the server: