This commit is contained in:
@@ -55,8 +55,15 @@ How it works:
|
||||
on CANCEL it only closes the filter manager UI and does nothing else
|
||||
on RESET it tells teh server to reset the current filter to default via RESET ROUTE , exits and triggers filter picklist to udpate itself triggering a getdata
|
||||
SERVER / GETDATA
|
||||
when server returns data for table it also includes the sort and filter in effect which is saved locally inside the vm data for use by filter UI (doesn't survive refresh)
|
||||
server applies filter id specified in request if filterid is 0/default then it fetches their default filter (which in turnr makes one if it doesn't find one)
|
||||
REQUEST
|
||||
BASE: DataListKey, ClientCriteria, FilterId
|
||||
TABLEVERSION: Limit, Offset : base
|
||||
REPORT/BULK OPS VERSION: ObjectType(ayatype),SelectedRowIds(long[]) : base
|
||||
|
||||
|
||||
RESPONSE
|
||||
when server returns data for table it also includes the sort and filter in effect which is saved locally inside the vm data for use by filter UI (doesn't survive refresh)
|
||||
server applies filter id specified in request if filterid is 0/default then it fetches their default filter (which in turnr makes one if it doesn't find one)
|
||||
|
||||
REFRESH OF DATATABLE PAGE
|
||||
full page refresh / reload causes reset to default filter which triggers the fetch of the data which fills the local collection and sets teh ui for filter sort
|
||||
|
||||
Reference in New Issue
Block a user