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

Datagrid Aggregates for Columns without field #5484

Open
oaldrian opened this issue May 1, 2024 · 0 comments
Open

Datagrid Aggregates for Columns without field #5484

oaldrian opened this issue May 1, 2024 · 0 comments
Assignees
Labels
Type: Feature ⚙ Request or idea for a new feature.
Projects

Comments

@oaldrian
Copy link
Contributor

oaldrian commented May 1, 2024

Is your feature request related to a problem? Please describe.
If I have columns that do not directly link to a field as sources for the data, but instead use Display and EditTemplates (#548), there is currently no way to attach an aggregate to this column, as the column identifier for the aggregate is the field name.

Describe the solution you'd like
Introduce a ColumnID parameter to the Column and the Aggregate that is set to Field, if it is not overridden. Use this ColumnID paramter to match the aggregate to the column.

Additional context

introducing an extra standard row to the grid, with the aggregates inside, works only if there is no sorting / filtering / grouping, so it is not really a viable workaround.

A current workaround is to create many (many) placeholder properties in the class to bind the dynamic columns to.

@oaldrian oaldrian added the Type: Feature ⚙ Request or idea for a new feature. label May 1, 2024
@David-Moreira David-Moreira added this to 🔙 Triage in Development via automation May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature ⚙ Request or idea for a new feature.
Projects
Development
  
🔙 Triage
Development

No branches or pull requests

2 participants