-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Description
Is there an existing issue for this?
- I have searched the existing issues
- I have read the guide to filing a bug
Use case
When using the PaginatedDataTable widget, I found that I couldn't directly set the color for the table header. However, upon inspecting the class of PaginatedDataTable, I noticed that it utilizes the DataTable widget internally. The DataTable widget has a parameter called "headingRowColor," which allows you to set the header color.
To achieve the desired header color for PaginatedDataTable, I ended up modifying the PaginatedDataTable class. I added an additional property to this class, and then passed this property through to the underlying DataTable class. As a result, I was able to set the header color for my PaginatedDataTable.
Proposal
This is before i modify the class.
And this is after i modify the class.
So, this is the code after i modify,PaginatedDataTable with paramater headingRowColor.


