We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 324bc12 commit 85be0c7Copy full SHA for 85be0c7
packages/plugin-grid/src/ObjectGrid.tsx
@@ -517,7 +517,7 @@ export const ObjectGrid: React.FC<ObjectGridProps> = ({
517
};
518
} else if (col.action) {
519
// Action column: render as action button
520
- cellRenderer = (_value: any, row: any) => {
+ cellRenderer = (value: any, row: any) => {
521
return (
522
<Button
523
variant="outline"
@@ -528,7 +528,7 @@ export const ObjectGrid: React.FC<ObjectGridProps> = ({
528
e.stopPropagation();
529
executeAction({
530
type: col.action!,
531
- params: { record: row, field: col.field },
+ params: { record: row, field: col.field, value },
532
});
533
}}
534
>
0 commit comments