This commit is contained in:
2020-09-01 17:59:01 +00:00
parent 4b3bd3aa07
commit 97bc981b16
4 changed files with 25 additions and 19 deletions

View File

@@ -456,7 +456,7 @@ export default {
refresh() {
this.getDataFromApi();
},
getDataTableSourceOptions() {
getReportDataOptions(AyaType) {
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
//i.e. for reporting, bulk operations etc
@@ -471,7 +471,13 @@ export default {
return z.id;
});
}
/* public AyaType ObjectType { get; set; }
public long[] SelectedRowIds { get; set; }
public string DataListKey { get; set; }
public string ListView { get; set; }//optional, if null or empty will use default list view built into DataList
*/
return {
ObjectType:ayaType
selectedRowIds: selectedRowIds,
dataListKey: vm.dataListKey,
listView: untokenizeListView(vm.listView)