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

[data grid] Add aggregation for boolean type columns #16163

Open
michelengelen opened this issue Jan 13, 2025 · 0 comments
Open

[data grid] Add aggregation for boolean type columns #16163

michelengelen opened this issue Jan 13, 2025 · 0 comments
Labels
component: data grid This is the name of the generic UI component, not the React module! feature: Aggregation Related to the data grid Aggregation feature new feature New feature or request

Comments

@michelengelen
Copy link
Member

michelengelen commented Jan 13, 2025

Summary

We currently do not support aggregation for boolean type columns, although there are some use cases we should support.

Examples

  1. Size
    Same as with the size aggregation for other column types: count all filled fields
  2. Count true / false
    This could come in different flavors: either count all true or false values or, as an alternative, count both and show them as separate values. Very quick example:
Screenshot 2025-01-13 at 18 02 33
  1. some / every
    basically works as the array functions. Some/every are true or false

Motivation

This issue was raised outlining that boolean aggregation should be available. We did discuss this during a grid meeting and decided that we should allow for this. It has the added benefits that this will allow for higher customization options as well.

Search keywords: -

@michelengelen michelengelen added component: data grid This is the name of the generic UI component, not the React module! new feature New feature or request feature: Aggregation Related to the data grid Aggregation feature labels Jan 13, 2025
@github-project-automation github-project-automation bot moved this to 🆕 Needs refinement in MUI X Data Grid Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: data grid This is the name of the generic UI component, not the React module! feature: Aggregation Related to the data grid Aggregation feature new feature New feature or request
Projects
Status: 🆕 Needs refinement
Development

No branches or pull requests

1 participant