@linzjs/step-ag-grid 31.2.0 → 31.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/components/Grid.tsx
CHANGED
|
@@ -1150,10 +1150,10 @@ export const Grid = <TData extends GridBaseRow = GridBaseRow>({
|
|
|
1150
1150
|
rowDragText={
|
|
1151
1151
|
params.rowDragText ??
|
|
1152
1152
|
(rowSelection === 'multiple'
|
|
1153
|
-
? () => {
|
|
1153
|
+
? (dragItem) => {
|
|
1154
1154
|
const count = multiDragCountRef.current;
|
|
1155
1155
|
if (count > 1) return `Moving ${count} rows`;
|
|
1156
|
-
return ''
|
|
1156
|
+
return `${dragItem.rowNode?.data?.id ?? ''}`;
|
|
1157
1157
|
}
|
|
1158
1158
|
: undefined)
|
|
1159
1159
|
}
|