Class: MemoryDataSource

MemoryDataSource


new MemoryDataSource(data, primaryKey)

Data source from an in-memory array.

Parameters:
Name Type Description
data Array.<Object>

The in-memory array for the data set.

primaryKey string

The primary key of the data set.

Members


cachedItems :Array.<Object>

The cached items respecting the sorting and filtering, ignoring the skip and take.

Type:
  • Array.<Object>