mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-27 01:25:36 -05:00
Adding option to sort columns using F3 key in SlickGrid. (#20897)
This commit is contained in:
@@ -335,6 +335,15 @@ export class TopOperationsTabView extends Disposable implements IPanelView {
|
||||
}
|
||||
}));
|
||||
|
||||
this._register(table.onKeyDown(e => {
|
||||
if (e.event.key === 'F3') {
|
||||
table.grid.sortColumnByActiveCell();
|
||||
e.event.preventDefault();
|
||||
e.event.stopPropagation();
|
||||
|
||||
}
|
||||
}));
|
||||
|
||||
this._register(table.onContextMenu(e => {
|
||||
let csvString = '';
|
||||
let csvStringWithHeader = '';
|
||||
|
||||
Reference in New Issue
Block a user