When expandableRowGroups is present in subheader based row grouping, groups can be expanded and collapsed. State of the expansions are controlled using the expandedRows property and rowgroup-expand and
rowgroup-collapse events.
{{ slotProps.data.representative.name }}
{{ slotProps.data.country.name }}
Total Customers: {{ calculateCustomerTotal(slotProps.data.representative.name) }}