feat(grid): support multi-row Copy as INSERT

When multiple rows are selected, copyRowAsInsert now generates an
INSERT statement for each selected row instead of only the
right-clicked row.

Closes #166
This commit is contained in:
t8y2
2026-05-12 23:39:26 +08:00
parent e1a07aae4a
commit 004b5645c5
2 changed files with 19 additions and 5 deletions
+1
View File
@@ -1402,6 +1402,7 @@ const {
databaseType: computed(() => props.databaseType),
hasCellSelection,
selectedCells,
selectedRange,
contextCell: exportContextCell,
getRowItem: (rowId: number) => visibleDisplayItems.value.find((item) => item.id === rowId),
quoteIdent,