mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-22 07:36:01 +00:00
form view - expand column by keyboard plus
This commit is contained in:
@@ -406,6 +406,20 @@
|
||||
}));
|
||||
}
|
||||
|
||||
if (event.keyCode == keycodes.numPadAdd) {
|
||||
const col = getCellColumn(currentCell);
|
||||
if (col.foreignKey) {
|
||||
formDisplay.toggleExpandedColumn(col.uniqueName, true);
|
||||
}
|
||||
}
|
||||
|
||||
if (event.keyCode == keycodes.numPadSub) {
|
||||
const col = getCellColumn(currentCell);
|
||||
if (col.foreignKey) {
|
||||
formDisplay.toggleExpandedColumn(col.uniqueName, false);
|
||||
}
|
||||
}
|
||||
|
||||
if (event.keyCode == keycodes.f2) {
|
||||
// @ts-ignore
|
||||
dispatchInsplaceEditor({ type: 'show', cell: currentCell, selectAll: true });
|
||||
|
||||
Reference in New Issue
Block a user