This commit is contained in:
2020-02-19 01:00:50 +00:00
parent edb3ea42d5
commit 279730b87e
2 changed files with 16 additions and 5 deletions

View File

@@ -43,7 +43,19 @@ CURRENT TODOs
=-=-=-=-=-=-= =-=-=-=-=-=-=
TODO: FILTER AT CLIENT TODO: ListViewBuilder
TODO: DataTable listView picklist needs to handle UNSAVED -1 value, add it when it's there and remove it when user changes to other filter
- Can it be displayed in red like old v7?
UI
- see custom fields editor for similar setup
- Need order buttons to move up / down / start / end
- Need visible checkbox but not called visible, maybe "Include". Visble implies it will return all fields don't want to give that impression
- Need sort button 3 way toggle with icons for sort asc, desc and unsorted
- Need filter array section with toggle for any / all conditions apply
- Need filter builder section where can add or remove individual filters
- Useful lt keys possibly there under GridFilter* keys
ListViewEditor ListViewEditor

View File

@@ -113,7 +113,7 @@ export default {
window.$gz.eventBus.$on("menu-click", clickHandler); window.$gz.eventBus.$on("menu-click", clickHandler);
//NOTE: this would normally be in getDataFromAPI but this form doesn't really need that function so doing it here //NOTE: this would normally be in getDataFromAPI but this form doesn't really need that function so doing it here
//modify the menu as necessary //modify the menu as necessary
generateMenu(this, false); //default is never read only and passing in this vm generateMenu(vm, false); //default is never read only and passing in this vm
//init disable save button so it can be enabled only on edit to show dirty form //init disable save button so it can be enabled only on edit to show dirty form
window.$gz.eventBus.$emit("menu-disable-item", FORM_KEY + ":save"); window.$gz.eventBus.$emit("menu-disable-item", FORM_KEY + ":save");
}) })
@@ -144,7 +144,6 @@ export default {
serverError: {} serverError: {}
}, },
rights: window.$gz.role.getRights(window.$gz.type.DataListView) rights: window.$gz.role.getRights(window.$gz.type.DataListView)
//,tempTemplate: window.$gz.store.state.formCustomTemplate["widget"]
}; };
}, },