Dynamically update column header based on filtered data
I would like to know if it's possible to dynamically update a column header based on the current filtering applied to the table data.
Here's an example to illustrate my use case:
Let's say I have a column header called "Items" and there are 10 rows in the table, each containing the data "1" in each row for that column. If I apply a filter to the table so that it displays only 3 rows with 1 item each, I would like the header for that column to be updated to "Items (3)" to reflect the current number of displayed items.
Is there any built-in functionality to achieve this or could you suggest a possible approach to implement this feature?
Thank you for your help and for creating this great library!
Here's an example to illustrate my use case:
Let's say I have a column header called "Items" and there are 10 rows in the table, each containing the data "1" in each row for that column. If I apply a filter to the table so that it displays only 3 rows with 1 item each, I would like the header for that column to be updated to "Items (3)" to reflect the current number of displayed items.
Is there any built-in functionality to achieve this or could you suggest a possible approach to implement this feature?
Thank you for your help and for creating this great library!