Class: GridDataFiltered

.data.GridDataFiltered(galleryConfigDict)

Class representing filtered grid data. Note: Filter is based on client data level.

Constructor

new GridDataFiltered(galleryConfigDict)

Create the filtered grid data object.
Parameters:
Name Type Description
galleryConfigDict Object Gallery configuration dictionary.
Source:

Members

galleryItemAmount

Get the amount of items without filtered items.
Source:

Methods

loadItems(startIndex, count, reversed, query, queueing)

Even if items are filtered, load items until the count is reached.
Parameters:
Name Type Default Description
startIndex Number Index where loading should start.
count Number Number of items that should be loaded regardless of filtering.
reversed Boolean Indicate if items are loaded backwards.
query Object Custom query parameters for the request.
queueing Boolean true If true, load multiple requests synchronously via queue.
Source:
Returns:
Promise with updated start index.