-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Open
Labels
area: cdk/tablearea: material/tablefeatureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fix
Description
Feature Description
Currently, the only context passed to the cell is: count, first, last, even, odd. However, this only works properly without pagination. If the table has pagination, we're stuck with these basic variables that are only relative to the page in display and not relative to the whole dataset being used, under the hood.
I'd would suggest giving the possibility to customize this behaviour via an optional method that is called when you run "_updateRowIndexContext". This new optional method would receive the context object that you currently have and expand on it according to what each project requires.
Use Case
No response
gongAll, danilomagalhaes, proxgames, pxbarbosa, thore-goertz and 3 more
Metadata
Metadata
Assignees
Labels
area: cdk/tablearea: material/tablefeatureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fix