-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
MudDataGrid: Add AggregateTemplate render fragment #10419
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
MudDataGrid: Add AggregateTemplate render fragment #10419
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #10419 +/- ##
=======================================
Coverage 91.50% 91.51%
=======================================
Files 418 418
Lines 13225 13225
Branches 2538 2538
=======================================
+ Hits 12102 12103 +1
Misses 549 549
+ Partials 574 573 -1 ☔ View full report in Codecov by Sentry. |
|
ScarletKuro
left a comment
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.
LGTM, the solution is elegant.



Description
Currently when using column aggregates, users are restricted to outputting
Stringvalues. This changes adds a newAggregateTemplaterender fragment similar to theGroupTemplaterender fragment that's available for grouping. Using theAggregateTemplateinstead of theFooterTemplateas previously demonstrated in the Docs, gives the user access to the aggregated items instead of all page items.Resolves #10410
How Has This Been Tested?
Visually
Type of Changes
Checklist
dev).