<DataGridPremium
  treeData
  getTreeDataPath={getTreeDataPath}
  rows={rows}
  columns={columns}
  groupingColDef={groupingColDef}
  defaultGroupingExpansionDepth={-1}
  slots={{ toolbar: GridToolbar }}
  slotProps={{ toolbar: { excelOptions } }}
/>