Skip to content

MobileCRM.UI.ListDataSource

Maros Kolibas edited this page Nov 29, 2019 · 2 revisions

MobileCRM.UI.ListDataSource Object

The data source loading routine implementation.

Properties

Property Type Description
chunkSize Number Controls the number of entities loaded in once.
fetch MobileCRM.FetchXml.Fetch Gets the original fetch request for this list view.
loadNextChunk function(page, count) Controls the number of entities loaded in once. It is called from native code to get chunk (array) of DynamicEntities. The chunk is defined by 1-based page number and the desired count which corresponds to the value of chunkSize property.

Methods

Method Description
chunkReady This method has to be called from within the "loadNextChunk" routine when it loads chunk (array) of DynamicEntities.
Clone this wiki locally