Skip to content

Commit

Permalink
[docs] Improve Data Grid migration guide (mui#12969)
Browse files Browse the repository at this point in the history
  • Loading branch information
MBilalShafi authored and thomasmoon committed Sep 6, 2024
1 parent ac88847 commit 11fd719
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ See the [Direct state access](/x/react-data-grid/state/#direct-selector-access)

```diff
-groupingValueGetter: (params) => params.value.name,
+groupingValueGetter: (value: { name: string }) => value.name,
+groupingValueGetter: (value: { name: string }, row, column, apiRef) => value.name,
```

### Density
Expand Down

0 comments on commit 11fd719

Please sign in to comment.