[ADF-2016] Paginator integration with other components Created: 23-Nov-17  Updated: 27-Nov-17  Resolved: 27-Nov-17

Status: Done
Project: Apps Development Framework
Component/s: None
Affects Version/s: None
Fix Version/s: 2.0.0

Type: Bug
Reporter: Denys Vuika Assignee: Cristina Jalba
Resolution: Resolved Votes: 0
Labels: regression
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Sprint: ADF Sprint 34, ADF Sprint 35


With the latest refactoring, the Document List and Pagination components were decoupled. However, it is no longer possible to use Pagination with multiple instances of the Document List or DataTable components, without writing huge amount of code.

Simplify integration process for the Paginator with Document List and other components:

  • provide a "PaginatedComponent" interface that Document List (and other components) can implement
  • Paginator should be able to receive a reference to the Component that is able to handle pagination on its own, and implements PaginatedComponent interface
  • If a custom component is assigned, the paginator should redirect calls to the target component
  • It should be possible to wire pagination with DataTable and Document List out of the box (should work with Process/Task lists as well given they extend the DataTable component)


<adf-document-list #documentList>...</adf-document-list>
<adf-pagination [target]="documentList"></adf-pagination>

<adf-task-list #taskList>...</adf-task-list>
<adf-pagination [target]="taskList"></adf-pagination>


Generated at Tue Aug 11 23:41:26 BST 2020 using Jira 7.13.15#713015-sha1:7c5ddd2c3e1709974ae9c48c17df8edd3919fe2c.