allPagePaginatedListCrudAdaptor
Overview
The VUEDA specific implementation for reactive-helper's list crud function, for all pages.
Signature
allPagePaginatedListCrudAdaptor(args)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| args | object | yes | The arguments object. |
args Properties
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| clearObjects | Function | Callback to clear existing objects when loading a new set. | ||
| isCancelled | Ref | Reactive flag indicating the request was cancelled. | ||
| params | object | The querystring parameters for the list operation. | ||
| pushObjects | Function | Callback to append fetched objects to the current list. | ||
| setColumnTotals | Function | Callback to update column totals metadata. | ||
| setPaginateInfo | Function | Callback to update pagination metadata. | ||
| target | object | VUEDA specific arguments for the CRUD operation. resultsKey is the response key holding the array of objects (defaults to "results"); it is supplied via the registered crud args (see setupDefaultListCrud). |
Returns
CancellablePromise
- A cancellable promise.
Source
client/lib/utils/listCrud.js:126