All widgets

Grouped view

Rows grouped by a column, with counts and totals; with a second column, a pivot table. Clicking a group filters the linked widgets.

VisualisationReads its tablev0.3.5BetaMIT

Add it to a document

In Grist, add a widget, choose Custom, then Enter Custom URL and paste:

https://gristwidgets.com/widgets/grouped-view/v0/

It takes every v0.x release, fixes and new features; a breaking change comes as a new major version, at a URL of its own. The same widget is also served at https://arthurblanchon.github.io/grist-widget-sdk/widgets/grouped-view/v0/.

What it does

People who follow a table by category (orders by status, expenses by month, tickets by team) see its rows grouped by a column's value, with collapsible groups, a count and a total per group. With a second column it becomes a pivot table: the groups down, that column's values across, and a total in each cell.

Grist groups rows only through summary tables, which are a new table per grouping. Its official pivot widget has not been maintained since 2024. This view groups the rows that the section shows, and follows its filters. Clicking a group or a cell filters the widgets linked to it down to those rows.

Columns

ColumnTypeUse
GroupAnythe value rows are grouped by, down the side; a list cell counts under each of its values
Label, optionalAnywhat each row shows inside its group
Across, optionalAnymapped, the view is a pivot table: this column's values across the top
Value, optionalNumeric, Intthe number totalled in each group or cell; without it, rows are counted

Grouped by a Ref column, a group shows the referenced row's id: map a formula column such as $Client.Name instead.

Access

read table: it only reads the rows, and filters the linked widgets. The total (sum, average, minimum, maximum) is chosen in the widget, for the session: saving it would need full access, which a read-only view should not ask for.

Changes

0.3.5 · 2026-11-28

  • Built with the latest version of grist-widget-sdk: nothing changes on screen.

0.3.4 · 2026-11-26

  • A ChoiceList row whose first choice is "L" (a size, say) is counted under L too: it was counted only under its other choices.

0.3.3 · 2026-11-21

  • No more linking alert ("Widget linking") in a section that follows no other, or that no section follows: the widget works either way.

0.3.2 · 2026-11-21

  • The widget loads again: Grist started serving its plugin script as a development build that this widget's security policy refuses, which left every copy on "The Grist plugin did not load". The widget now ships its own copy of Grist's plugin script, a fixed version without that problem, and runs no script from anywhere else.

0.3.1 · 2026-11-16

  • In a pivot table, a screen reader now reads each cell's total with it ("Travel, July: 70"), and the grand total too: before, only the row and column totals carried their number.
Every version