feat: improve data grid selection and copy

This commit is contained in:
t8y2 committed 2026-05-26 18:26:31 +08:00
1 parent f9b58993b4
commit 0e67f19117
12 files changed
+392 -83

No files matched your search

@@ -27,3 +27,12 @@ test("transpose mode follows appended rows and survives rollback refresh", () =>
);
assert.match(source, /nextTransposeStateForRecordCount/);
});
test("closing transpose scrolls the normal grid to the active record", () => {
assert.match(source, /function currentTransposeViewportRowIndex\(\)/);
assert.match(source, /transposeRowIndex\.value \?\? transposeRecordWindow\.value\.start/);
assert.match(source, /function scrollGridRowIntoView\(rowIndex: number\)/);
assert.match(source, /scrollToItem\?\.\(target\)/);
assert.match(source, /function closeTranspose\(scrollToCurrentRecord = true\)/);
assert.match(source, /closeTranspose\(false\)/);
});