Skip to content
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

DataGridColumn: Add AggregateTemplate #5350

Merged
merged 3 commits into from
Mar 9, 2024

Conversation

David-Moreira
Copy link
Contributor

Although it's redundant for most columns since DisplayTemplate already exists in the AggregateColumn.
This best allows to configure each column individually including the Command and multi select columns and any additional special column we might introduce.

Maybe in the future we could consider in removing the Aggregate Column DisplayTemplate instead?
What do you think?

Even the AggregateColumns definition could possibly be moved to the DataGridColumn, making the definition more centralized.
However I have to say I personally do like the separation.

@David-Moreira David-Moreira requested a review from stsrki March 8, 2024 22:24
@David-Moreira David-Moreira linked an issue Mar 8, 2024 that may be closed by this pull request
@stsrki
Copy link
Collaborator

stsrki commented Mar 9, 2024

Maybe in the future we could consider in removing the Aggregate Column DisplayTemplate instead?
What do you think?

That would only work if the user defines all Aggregates for all columns displayed in the DataGrid. Because the aggregate need to be placed in an explicitly defined column to show properly.

@stsrki stsrki changed the title DatagridColumn | Add AggregateTemplate DataGridColumn: Add AggregateTemplate Mar 9, 2024
@stsrki stsrki merged commit 10373b1 into master Mar 9, 2024
2 checks passed
@stsrki stsrki deleted the 5112-datagridaggregate-questions branch March 9, 2024 10:33
@github-actions github-actions bot locked and limited conversation to collaborators Mar 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DataGridAggregate Questions
2 participants