diff --git a/packages/grid/_modules_/grid/hooks/features/selection/useGridSelection.ts b/packages/grid/_modules_/grid/hooks/features/selection/useGridSelection.ts
index 89b6ba5c3db5..18b1bd0d1c9e 100644
--- a/packages/grid/_modules_/grid/hooks/features/selection/useGridSelection.ts
+++ b/packages/grid/_modules_/grid/hooks/features/selection/useGridSelection.ts
@@ -338,7 +338,7 @@ export const useGridSelection = (
gridClasses.cell,
);
const field = cellClicked?.getAttribute('data-field');
- if (field === '__check__') {
+ if (field === GRID_CHECKBOX_SELECTION_COL_DEF.field) {
// click on checkbox should not trigger row selection
return;
}
diff --git a/packages/grid/x-data-grid/src/tests/selection.DataGrid.test.tsx b/packages/grid/x-data-grid/src/tests/selection.DataGrid.test.tsx
index 7a487774e662..8c5041adf7b9 100644
--- a/packages/grid/x-data-grid/src/tests/selection.DataGrid.test.tsx
+++ b/packages/grid/x-data-grid/src/tests/selection.DataGrid.test.tsx
@@ -198,7 +198,7 @@ describe(' - Selection', () => {
expect(getRow(0).querySelector('input')).to.have.property('checked', false);
});
- it('should set focus ont the cell when clicking the checkbox', () => {
+ it('should set focus on the cell when clicking the checkbox', () => {
render();
expect(getActiveCell()).to.equal(null);