diff --git a/packages/core/src/data-editor/data-editor.tsx b/packages/core/src/data-editor/data-editor.tsx index 4736b1099..1da206a0a 100644 --- a/packages/core/src/data-editor/data-editor.tsx +++ b/packages/core/src/data-editor/data-editor.tsx @@ -2528,6 +2528,17 @@ const DataEditorImpl: React.ForwardRefRenderFunction { + return onColumnProposeMove?.(startIndex - rowMarkerOffset, endIndex - rowMarkerOffset); + }, + [onColumnProposeMove, rowMarkerOffset] + ) + ) + + const onColumnMovedImpl = whenDefined( onColumnMoved, React.useCallback( @@ -4052,7 +4063,7 @@ const DataEditorImpl: React.ForwardRefRenderFunction