@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
@@ -2,7 +2,7 @@
2
2
  "name": "@linzjs/step-ag-grid",
3
3
  "repository": "github:linz/step-ag-grid.git",
4
4
  "license": "MIT",
5
- "version": "31.2.0",
5
+ "version": "31.2.1",
6
6
  "keywords": [
7
7
  "aggrid",
8
8
  "ag-grid",
@@ -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
  }