Caplin Trader 5.1.0

Class: module:ct-grid/dataprovider/sljs/SLJSContainerDataProvider

module:ct-grid/dataprovider/sljs/SLJSContainerDataProvider()

The SLJSContainerDataProvider class allows grids to be populated using an RTTP container available on a Liberator that is connected to using StreamLinkJS. It is a concrete example of a module:ct-grid/GridDataProvider class — which is typically used to allow data to be made available within a grid.

Constructor

new module:ct-grid/dataprovider/sljs/SLJSContainerDataProvider()

Constructs an SLJSContainerDataProvider instance — end-users will never need to do this themselves since grids are fully constructed based on their XML definition files by the module:ct-grid/GridComponentFactory class.

Implements:

Methods

addDataProviderListener()

Implements:
See:

clearFilterExpression()

Implements:
See:

clearSortRule()

Implements:
See:

configureDataProvider()

Implements:
See:

getAllFilterExpressions()

Implements:
See:

getFilterExpression()

Implements:
See:

getGroupByField() → {string}

Get the field, if one has been set, that is used to group the rows contained within row model.

Implements:
Returns:

a String, if one exists, or null otherwise.

Type
string

getSerializedState()

Implements:
See:

getSortRule()

Implements:
See:

getSubjectIdentifiers()

Implements:
See:

getTransformMode() → {string}

Get the transform mode that determines how grid updates are pushed out from the data source.

Implements:
Returns:

The transform mode - either 'snapshot' or 'live'

Type
string

injectData()

Implements:
See:

onOpen()

See:

pauseUpdates()

Implements:
See:

removeDataProviderListener()

Implements:
See:

resumeUpdates()

Implements:
See:

setFilterExpression()

Implements:
See:

setGridView()

Implements:
See:

setGroupByField()

Implements:
See:

setRequiredFields()

Implements:
See:

setRowRange()

Implements:
See:

setSortRule()

Implements:
See:

supportsFeature()

Implements:
See:

terminateUpdates()

Implements:
See: