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

ui.table configure totals table aggregations #931

Open
Tracked by #77
dsmmcken opened this issue Oct 9, 2024 · 0 comments · May be fixed by #1131
Open
Tracked by #77

ui.table configure totals table aggregations #931

dsmmcken opened this issue Oct 9, 2024 · 0 comments · May be fixed by #1131
Milestone

Comments

@dsmmcken
Copy link
Contributor

dsmmcken commented Oct 9, 2024

We would want to map to ui state in the aggregations side bar

=======

The current groovy API:

  • boolean field for showTotalsByDefault (defaults to false)
  • boolean field for showGrandTotalsByDefault (defaults to false)
  • has a default operation, to be applied to any unspecified column (defaults to SUM)
  • has a map from column name to set of agg operations, so a column can be specified with the operations that should be applied to it
  • has a map from column name plus agg operation to format string, to format the various totals values

Supported operations:

  • Count
  • Min - comparable columns only
  • Max - comparable columns only
  • Sum - numeric columns only
  • AbsSum - numeric columns only
  • Var - numeric columns only
  • Avg - numeric columns only
  • Std - numeric columns only
  • First
  • Last
  • Group (mentioned for completeness, but explicitly not supported)
  • CountDistinct
  • Distinct
  • Unique
  • Skip
@dsmmcken dsmmcken mentioned this issue Oct 9, 2024
20 tasks
@vbabich vbabich added this to the Backlog milestone Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants