Inputs
Group By
Break down data by dimensions.
Wrap with the Filter Provider to apply the selected group by to child components.
/group-by/page.tsx
Props API
GroupBy query props
Props that the select input will receive
Columns to group by for static mode, if passed, the component will ignore the built-in GraphQL operations
When true, shows a skeleton loader
If true, it will format camelCase and snake_case column names to a readable format
Function to format column names
Columns to include, if not passed, all columns will be included, pass ["*"]
to include all columns
Maximum number of group by columns
If true, the dropdown will be open by default
Was this page helpful?