OGE logoOGE

Pivot Grid

Multi-dimensional summaries over flat data: drop fields into the row, column, value and filter areas, expand headers on both axes, and read sub / grand totals — all computed by the pure engine in @oge-ui/core. Drag the field chips between areas to re-pivot instantly — or, without a drag, open a chip's menu (Enter or right-click) and pick an area, and reorder with Ctrl+Arrow keys.

oge-pivot-grid oge-pivot-field field panel totals
5.000 rows 3 row fields year columns
Click headers to expand / collapse.
FiltersDrag fields between the areas
Rows Region Country City
Columns Year
Values Amount
2022
2023
2024
2025
Grand Total
₺2.141.892
₺2.202.304
₺2.145.054
₺2.206.061
₺8.695.311
₺1.511.072
₺1.450.410
₺1.507.410
₺1.446.153
₺5.915.045
₺2.788.536
₺2.959.536
₺2.788.536
₺2.959.536
₺11.496.144
Grand Total
₺6.441.500
₺6.612.250
₺6.441.000
₺6.611.750
₺26.106.500

Notes

  • The engine interns axis paths and accumulates cells in a single pass; expanding or collapsing a header only re-materializes the visible matrix.
  • An expanded group keeps its own line, which carries the subtotals — collapse it from the same line.
  • groupInterval buckets dates (year/quarter/month/…) or numbers (bucket size).
  • summaryType: sum · count · avg · min · max · custom (with calculateCustomSummary); display modes (percent-of, running totals, variations) ship in the engine.
  • drillDown(rowPath, columnPath) returns the raw rows behind any cell — on the component, with the coordinates from (cellClick) / (cellDblClick).