-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Provide extended Example for Table (Sort+Filter+Paginate) #6392
Copy link
Copy link
Closed
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels