-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Added support for headerRowClass. #3405
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
…applied on the header row.
Can we not target header row with a grid class?
|
Can do, but that doesn't allow for using pre-defined classes from other systems such as Tailwind. The dedicated property was added to cater for this. |
Can you resolve the conflicts and add a test and we can merge this PR |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3405 +/- ##
==========================================
- Coverage 98.80% 98.69% -0.12%
==========================================
Files 47 47
Lines 3444 3451 +7
Branches 749 749
==========================================
+ Hits 3403 3406 +3
- Misses 41 45 +4
🚀 New features to boost your workflow:
|
Thank you for the PR |
Works similar to rowClass but gets applied on the header row.
<DataGrid ... rowClass={rowClass} headerRowClass={headerRowClass} />