Skip to content

Provide extended Example for Table (Sort+Filter+Paginate) #6392

@Renader

Description

@Renader

Bug, feature request, or proposal:

-> Proposal

What is the current behavior?

There are 3 examples for Sort, Filter and Paginating the table as Plunkers. Also there is a demo that provides a combined sort and pagination example. But there is no example that applies sorting, filtering and paginating to a table.

What is the use-case or motivation for changing an existing behavior?

Since this is a very common use case, and especially since the table has an API that might be hard to understand for RxJS beginners there should be an example combing all, and more important applies the common best practices (like reset the current page in paginator if the user filters - which is a common challenge #5812, update the length in paginator on filter etc)

What I've done so far:
https://plnkr.co/edit/ABhRra9nNaBiu4vmAizX?p=preview

  • Sort
  • Filter
  • Paginate
  • proper disconnect cleanup
  • update paginators length on filter
  • jump to page 1 (0) on filtering

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions