ReloadListMixin Class
Mixin for DS.Controller to support data reload.
Methods
reloadList
(
Promise
public
-
options
It reloads data by parameters.
This method is called to get data for flexberry-objectlistview
(both on list-form and lookup modal window).
Parameters:
-
options
ObjectMethod options.
-
[modelName]
String optionalType of records to load.
-
[projectionName]
String optionalProjection name to load data by.
-
[perPage]
String optionalPage size.
-
[page]
String optionalCurrent page.
-
[sorting]
String optionalCurrent sorting.
-
[filter]
String optionalCurrent filter.
-
[filterProjectionName]
String optionalName of model projection which should be used for filtering throught search-element on toolbar. Filtering is processed only by properties defined in this projection.
-
[predicate]
String optionalPredicate to limit records.
-
Returns:
Promise:
A promise, which is resolved with a set of loaded records once the server returns.
Properties
objectlistviewEvents
Class
Service that triggers objectlistview events.
Default: inject()