Uploaded image for project: 'Apps Development Framework'
  1. Apps Development Framework
  2. ADF-2016

Paginator integration with other components

    Details

    • Type: Bug
    • Status: Done (View Workflow)
    • Priority: Unprioritized
    • Resolution: Resolved
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: None
    • Labels:
    • Sprint:
      ADF Sprint 34, ADF Sprint 35

      Description

      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)

      Example:

      <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>
      

       

        TestRail: Results

          Attachments

            Structure

              Activity

                People

                • Assignee:
                  cjalba Cristina Jalba
                  Reporter:
                  dvuika Denys Vuika
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    TestRail: Cases

                      Structure Helper Panel