JayData and toLiveArray()

Author: Robert Bonay January 7th, 2014

, , ,

The standard toArray() function used callback and promise object to return the results, toLiveArray() returns an object that will be filled later. This array object can be used like a promise, it implements the then() and fail() functions.

Using live arrays with paged queries

The next() and prev() operators can be used on the output of the toLiveArray(), just like on the result of the toArray().

Refreshing elements in live arrays

We all want to refresh our application screen in a multi-user scenario. The refresh() function helps us to reload the elements from the data source.

, , ,