quick export from table data grid toolstrip

This commit is contained in:
Jan Prochazka
2022-02-12 18:08:25 +01:00
parent e06b030707
commit a8265cebff
10 changed files with 83 additions and 35 deletions

View File

@@ -95,7 +95,7 @@ function mapItem(item, commands) {
const command = commands[item.command];
if (command) {
return {
text: command.menuName || command.toolbarName || command.name,
text: item.text || command.menuName || command.toolbarName || command.name,
keyText: command.keyText || command.keyTextFromGroup,
onClick: () => {
if (command.getSubCommands) visibleCommandPalette.set(command);