This commit is contained in:
2020-10-23 23:20:11 +00:00
parent 6b06984df2
commit 5ed600b6fd

View File

@@ -7,20 +7,16 @@ todo: export from grid to xls, csv etc.
PLAN:
Export via extensions menu system
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
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)
Make sure all extensions and routes use this new method before moving on
todo: SERVER - make a IExportableObject that mirrors IReportAble so that can control what exactly can be exported
todo: SERVER - make a biz and route for export that mirrors report objects
Export file is downloadable for a few minutes once prepared at server just like report and client triggers download once it gets the file name back
Export as JSON or as CSV https://github.com/JoshClose/CsvHelper
todo: CLIENT - make an export extension with choice of format JSON or CSV
todo: Test export widgets and Users
todo: Profit$
NEXT: SERVER csv format support, then add extensions to Users
todo: Extensions, add code to easily check supported / non supported ayatypes in extensions from array
some may only not work on a few types or vice versa like accounting won't work with widgets but export will etc
todo: import