We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 70a13b7 + 2a2341c commit 0e85bf1Copy full SHA for 0e85bf1
packages/ra-ui-materialui/src/list/datagrid/DatagridBody.tsx
@@ -44,7 +44,7 @@ const DatagridBody: FC<DatagridBodyProps> = React.forwardRef(
44
expand,
45
hasBulkActions: hasBulkActions && !!selectedIds,
46
hover,
47
- id: record.id,
+ id: record.id ?? `row${rowIndex}`,
48
key: record.id ?? `row${rowIndex}`,
49
onToggleItem,
50
record,
0 commit comments