How to group rows with subtotals in a data grid

Twenty orders below are grouped by region. Each region's band shows its own order count and its own total, and the grand total sits at the foot. Click a region to collapse or expand it. Read the full how-to on latticegrid.dev.