In this example:
Purpose of adding these new columns is to group or pivot the same column data by different intervals.
We use pivotCM
event to create a new colModel from the auto generated colModel during pivoting.
In the new colModel, last row in header i.e., sum(Freight) is removed to present an uncluttered view.