diff --git a/packages/x-data-grid-pro/src/utils/domUtils.ts b/packages/x-data-grid-pro/src/utils/domUtils.ts index 00577a1f3a338..77f8c621c8a42 100644 --- a/packages/x-data-grid-pro/src/utils/domUtils.ts +++ b/packages/x-data-grid-pro/src/utils/domUtils.ts @@ -118,7 +118,8 @@ export function findGridCells(api: GridPrivateApiPro, field: string) { const container = api.virtualScrollerRef!.current!; return Array.from( container.querySelectorAll( - `:scope > div > div > div > [data-field="${field}"][role="gridcell"]`, + `:scope > div > div > [data-field="${field}"][role="gridcell"], + :scope > div > div > div > [data-field="${field}"][role="gridcell"]`, ), ); }