APIs

Show:
Extends Mixin
Module: ember-flexberry

Mixin for DS.Controller to support data reload.

Item Index

Methods

Methods

reloadList

(
  • options
)
Promise public

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 Object

    Method options.

    • [modelName] String optional

      Type of records to load.

    • [projectionName] String optional

      Projection name to load data by.

    • [perPage] String optional

      Page size.

    • [page] String optional

      Current page.

    • [sorting] String optional

      Current sorting.

    • [filter] String optional

      Current filter.

    • [filterProjectionName] String optional

      Name 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 optional

      Predicate 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()