This commit is contained in:
2020-02-18 19:04:43 +00:00
parent 8333f6aed9
commit bb05a2a516

View File

@@ -63,8 +63,12 @@ ListViewEditor
- any changes to UI objects affects working copy
- Also the cached listview stuff needs to be changed so if user leaves form and goes back the changes are immediately seen in the datatable
- Put unsaved listview into formsettings and set id to -1
- Any field set to a filter or sort is also autoamtically visible and can't be set invisible
- Each field has optional array of filters
- Each field has optional sort toggle plus minus or unsorted (could use icons for this)
- Saving
- process working copy to generate a ListView suitable to save and save it
- Dont' include items not set to visible
- On save set formsettings listviewid to whatever the id is and put listview into temp cache and clear out unsaved listview
- duplicate
- Make a listview and save under new duplicate name or however Widget was coded (makes a default then user changes name I guess)
@@ -72,6 +76,15 @@ ListViewEditor
- delete
- Remove listview from server, fixup local formsetting to use default listview and id 0
- WORKING COPY ARRAY FORMAT
- Need all fields available in it.
- Each field is in order determined in UI (user can re-arrange order so need UI method called with circular buffer)
- Each field has
- visible property
- filter array (optional)
- Sort property -+ (optional)
GZFORM FORMSETTINGS RELATED TO DATALISTVIEW