ag-Grid has incredible pivoting capability; AdapTable knows when the grid's in pivoting mode (click 'Pivot Mode' checkbox in the tool panel) and will react accordingly.
AdapTable also allows you to specify - and save - pivoting information in your layout and then it will be available each time you select that layout.
In this demo you can switch layouts between Pivot View and Non Pivot View and the correct layout (and Pivot Mode) will load.
Note also that we created a Custom Sort for the Ship Via column. This will operate both in table view (see 'Non Pivot View' Layout) and pivot view (see 'Pivot View Layout').