[ADF-2123] Process Pagination - There is no way to paginate the result (#2946)

* [ADF- 2123] Process Pagination - There is no way to paginate the result

* Updated unimplemented pagination method.

* * Refactored process-service component.

* * Removed unused  pagination methods from process-service component.

* * Updated process/task list documentation with recent changes.
This commit is contained in:
siva kumar
2018-02-15 15:50:23 +05:30
committed by Eugenio Romano
parent f828e8e847
commit 1a41da514b
5 changed files with 37 additions and 24 deletions

View File

@@ -46,6 +46,25 @@ define custom schema in the app.config.json as shown below json format.
</adf-process-instance-list>
```
### Pagination strategy
adf-process-instance-list also supports pagination and the same can be used as shown below.
```html
<adf-process-instance-list
[appId]="'1'"
[page]="page"
[size]="size"
#processList>
</adf-process-instance-list>
<adf-pagination
*ngIf="processList"
[target]="processList"
[supportedPageSizes]="supportedPages"
#processListPagination>
</adf-pagination>
```
### Properties
| Name | Description | | |
@@ -79,3 +98,8 @@ Example value for the schemaColumn property (see [Properties](#properties) secti
{type: 'text', key: 'startedBy.email', title: 'Started By', sortable: true}
]
```
## See also
- [Data column component](data-column.component.md)
- [DataTableAdapter](DataTableAdapter.md)
- [Pagination component](pagination.component.md)

View File

@@ -125,6 +125,8 @@ You can also use both HTML-based and app.config.json custom schema declaration a
</adf-tasklist>
```
### Pagination strategy
adf-tasklist also supports pagination and the same can be used as shown below.
```html
@@ -197,3 +199,4 @@ You can customize the styling of a column and also add features like tooltips an
- [Data column component](data-column.component.md)
- [DataTableAdapter](DataTableAdapter.md)
- [Pagination component](pagination.component.md)