Optional
dataContainer: DataContainerOptional
options: DatasourceConfigOptionsPrivate
__collectionThis is the data that is sorted/filtered and grouped
Private
__collectionthis holds the filtered data, used when sorting and grouping
Private
__datadatacontainer is holding the data, you can have many datasources sharing 1 datacontainer
Private
__datedefault date formater
Private
__filterfilter controller, holds all logic for filtering
Private
__groupinggrouping contoller, holds all logic for grouping
Private
__listenerssubscribed listerners, gets called when collection changes/is sorted/filtered etc
Private
__numberdefault number formater
Private
__selectionselection controller, holds selection
Private
__selectionselection mode used by the selection controller
Private
__sortingsorting controller, holds all logic for sorting
Private
__valuecurrent entity, use this with form etc if you have a grid with detail form
so I can check
Private
__internaladds event listener, this is called when collection is changed by sorting/grouping etc
filters using the connected data container, result is sorted also if this is set if you need to set sort then do this before calling filter
Optional
ObjFilter: FilterArgument | FilterArgument[]This is the data in the dataContainer
This returns datacontainer used
Optional
ctx: Gridreturns current grouing config
returns current sortorder config
returns 1 row sorted/grouped/filtered, start on 0
returns all rows sorted/grouped/filtered
Optional
onlyDataRows: booleanonly get sorted/filtered and skip group
return selection mode used
Groups filtered collection
Optional
add: booleanremoves listener from datasource
Removed group
Optional
group: GroupArgumentundefined = remove all groups
for adding data to datasource, this will also be sendt to dataContainer so if you replace data the data in the datacontainer also gets replaced
js object
add to current, if false it replaces current collections
rerun current filter, grouping/sorting will run automatically
sets current grouing config
Sets order by, if you plan to filter with new sorting order you need to use this first
Optional
add: booleanreplace selection mode used, if blank it will be set to 'none'
sorts current displayed selection
Optional
args: SortArgument | SortArgument[]obj/obj array must have attribute and ascending
Optional
add: booleanadd to previous sort arguments
Generated using TypeDoc
Helper class for calling internal sort, filter and grouping classesS