This commit is contained in:
@@ -4,12 +4,11 @@
|
|||||||
|
|
||||||
|
|
||||||
todo: export from grid to xls, csv etc.
|
todo: export from grid to xls, csv etc.
|
||||||
Decide, do we need this now? V.Next?
|
|
||||||
What purpose does it serve our potential customers?
|
|
||||||
Isn't it really just used to get out of AyaNova into another package?
|
|
||||||
PLAN:
|
PLAN:
|
||||||
Export via extensions menu system
|
Export via extensions menu system
|
||||||
Export as either json or csv supported
|
Export as either json or csv supported
|
||||||
|
todo: client data list and server biz object get id's code remove "report" terminology and replace with neutral terms
|
||||||
|
getReportDataOptions -> getDataListSelection
|
||||||
todo: Modify extensions to automatically assume *all* record ID's from the grid list just as report does when nothing selected
|
todo: Modify extensions to automatically assume *all* record ID's from the grid list just as report does when nothing selected
|
||||||
so it shouldn't say zero items selected, it should say "All records in list" instead
|
so it shouldn't say zero items selected, it should say "All records in list" instead
|
||||||
todo: Modify extensions that exist to work with all id's in the datalist instead if none selected (just like report does, re-use report code)
|
todo: Modify extensions that exist to work with all id's in the datalist instead if none selected (just like report does, re-use report code)
|
||||||
|
|||||||
@@ -456,7 +456,7 @@ export default {
|
|||||||
refresh() {
|
refresh() {
|
||||||
this.getDataFromApi();
|
this.getDataFromApi();
|
||||||
},
|
},
|
||||||
getReportDataOptions(ayaType) {
|
getDataListSelection(ayaType) {
|
||||||
let vm = this;
|
let vm = this;
|
||||||
//called when parent form needs the selected id's or the list view options needed to rehydrate the entire list of id's in the same order and filter
|
//called when parent form needs the selected id's or the list view options needed to rehydrate the entire list of id's in the same order and filter
|
||||||
//i.e. for reporting, bulk operations etc
|
//i.e. for reporting, bulk operations etc
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ async function clickHandler(menuItem) {
|
|||||||
//general report selector chosen
|
//general report selector chosen
|
||||||
|
|
||||||
let res = await m.vm.$refs.reportSelector.open(
|
let res = await m.vm.$refs.reportSelector.open(
|
||||||
m.vm.$refs.gzdatatable.getReportDataOptions(window.$gz.type.Widget)
|
m.vm.$refs.gzdatatable.getDataListSelection(window.$gz.type.Widget)
|
||||||
);
|
);
|
||||||
|
|
||||||
//if null for no selection
|
//if null for no selection
|
||||||
|
|||||||
Reference in New Issue
Block a user