diff --git a/packages/core/src/data-editor/data-editor.tsx b/packages/core/src/data-editor/data-editor.tsx index 7a3c89d86..55b3f5e05 100644 --- a/packages/core/src/data-editor/data-editor.tsx +++ b/packages/core/src/data-editor/data-editor.tsx @@ -1496,8 +1496,8 @@ const DataEditorImpl: React.ForwardRefRenderFunction = p => { }); }; + const pixels = 1_000_000_000; + const onClickEnd = () => { + ref.current?.scrollTo({ + amount: pixels, + unit: "px", + }, + 0, + "horizontal"); + }; + return ( = p => { Click to scroll to column 4 row 100 + + Click to scroll by {pixels} pixels + }>