<DataGridPremium
  {...data}
  apiRef={apiRef}
  columns={COLUMNS}
  disableRowSelectionOnClick
  initialState={initialState}
  getAggregationPosition={(groupNode) =>
    groupNode.depth === -1 ? null : 'footer'
  }
/>