Dataset
A dataset connects page elements to a set of items in a data collection.
The endpoints exposed by this API
Adds a new blank item.
Returns the current item.
Returns the current item's index.
Gets the index of the dataset's current page.
Returns the selected items.
Gets the dataset's page size.
Returns the number of items in the dataset that match its filter criteria.
Gets the number of pages in the dataset.
Indicates if there is a next item.
Indicates if there is a next page of data.
Indicates if there is a previous item.
Indicates if there is a previous page of data.
Loads the next page of data in addition to the current data.
Loads the specified page.
Deprecated. This function will continue to work, but a newer version is available. Use the add() function instead.
Saves the current item and moves to the next item.
Moves to the next page of data.
Adds an event handler that runs just after a save.
Adds an event handler that runs just before a save.
Adds an event handler that runs when the current index changes.
Adds an event handler that runs when an error occurs.
Adds an event handler that runs when a value of the current item changes.
Adds an event handler that runs when the dataset is ready.
The onReadyAsync() function returns a Promise that resolves when a dataset is ready.
Saves the current item and moves to the previous item.
Moves to the previous page of data.
Refetches the contents of the dataset from the collection.
Removes the current item.
Reverts the current item to its saved value.
Saves the current item.
Sets the current item by index.
Updates the value of a field in the current item.
Updates the values of a set of fields in the current item.
Sets the dataset filter.
Sets the dataset's page size.
Sets the dataset sort order.