Live demo - Grouping
The table shows the table data grouped by two columns (“Location” and “Department”). Besides the grouping feature, the table also demonstrates how a footer can be used to calculate the average value of a column (column “Age” in the example above).