Pagination Support
Enabled pagination of store
For example, a document model:
name: EG.attr({
type: 'string'
});
Constructing a query for the store:
const query = {
limit: 10,
offset: 2
}
Will allow constructing a get request with query params so a backend server can correctly serve up just 10 documents.
You can also get the total (for pagination UI controls, next/last, X of Y, from the new property:
payload.meta.serverMeta
Selective rollback
Instead of doing a rollback on everything, a single attribute can be rolled back:
object.rollbackSingleAttribute(attribute);