JavaScript Data Grid: Pivoting
https://www.ag-grid.com/javascript-data-grid/pivotingJavaScript Data Grid: Pivoting. Pivoting allows you to take a columns values and turn them into columns. For example you can pivot on Country to make columns for Ireland, United Kingdom, USA etc. Pivoting only makes sense when mixed with aggregation. If you turn a column into a pivot column, you must have at least one aggregation (value) active ...
PivotTable.js
https://pivottable.js.orgPivotTable.js is an open-source Javascript Pivot Table (aka Pivot Grid, Pivot Chart, Cross-Tab) implementation with drag'n'drop functionality written by Nicolas Kruchten. To see what it can do and how, browse the examples below or check out the documentation wiki for full details.