-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
MudTable: Add TableClass parameter #11351 #11352
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MudTable: Add TableClass parameter #11351 #11352
Conversation
/// The custom CSS classes to apply to the table. | ||
/// </summary> | ||
[Parameter] | ||
public string? TableClass { get; set; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing category attribute.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #11352 +/- ##
=======================================
Coverage 91.12% 91.12%
=======================================
Files 465 465
Lines 14400 14403 +3
Branches 2787 2787
=======================================
+ Hits 13122 13125 +3
Misses 642 642
Partials 636 636 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Apologies, category added. |
|
Description
This PR adds a new
TableClass
parameter toMudTable<T>
, allowing consumers to apply custom CSS classes directly to the rendered<table>
element.Fixes #11351 .
How Has This Been Tested?
Tested on production site that uses a Bootstrap template and classes successfully applied to html table element.
Type of Changes
Checklist
dev
).