This commit is contained in:
Jan Prochazka
2022-02-17 15:19:15 +01:00
parent 96136fe443
commit 83ab3cb012
2 changed files with 2 additions and 1 deletions

View File

@@ -14,6 +14,7 @@
category: 'Data grid', category: 'Data grid',
name: 'Export', name: 'Export',
keyText: 'Ctrl+E', keyText: 'Ctrl+E',
icon: 'icon export',
testEnabled: () => getCurrentEditor() != null, testEnabled: () => getCurrentEditor() != null,
onClick: () => getCurrentEditor().exportGrid(), onClick: () => getCurrentEditor().exportGrid(),
}); });

View File

@@ -172,6 +172,6 @@
<ToolStripCommandButton command="dataGrid.deleteSelectedRows" hideDisabled /> <ToolStripCommandButton command="dataGrid.deleteSelectedRows" hideDisabled />
<ToolStripCommandButton command="dataGrid.switchToJson" hideDisabled /> <ToolStripCommandButton command="dataGrid.switchToJson" hideDisabled />
<ToolStripCommandButton command="dataGrid.switchToTable" hideDisabled /> <ToolStripCommandButton command="dataGrid.switchToTable" hideDisabled />
<ToolStripExportButton {quickExportHandlerRef} /> <ToolStripExportButton {quickExportHandlerRef} command='collectionDataGrid.export' />
</svelte:fragment> </svelte:fragment>
</ToolStripContainer> </ToolStripContainer>