mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-19 17:22:48 -05:00
table cell selection improvement (#20854)
* Support SHIFT key for table cell selection * fix for mac * PR comment
This commit is contained in:
@@ -191,7 +191,7 @@ export class TopOperationsTabView extends Disposable implements IPanelView {
|
||||
topOperationContainer.appendChild(tableContainer);
|
||||
this._topOperationsContainers.push(topOperationContainer);
|
||||
|
||||
const rowNumberColumn = new RowNumberColumn({ numberOfRows: dataMap.length });
|
||||
const rowNumberColumn = new RowNumberColumn({ autoCellSelection: false });
|
||||
columns.unshift(rowNumberColumn.getColumnDefinition());
|
||||
|
||||
let copyHandler = new CopyKeybind<any>();
|
||||
@@ -234,7 +234,7 @@ export class TopOperationsTabView extends Disposable implements IPanelView {
|
||||
});
|
||||
}));
|
||||
|
||||
const selectionModel = new CellSelectionModel<Slick.SlickData>();
|
||||
const selectionModel = new CellSelectionModel<Slick.SlickData>({ hasRowSelector: true });
|
||||
|
||||
const table = this._register(new Table<Slick.SlickData>(tableContainer, {
|
||||
columns: columns,
|
||||
|
||||
Reference in New Issue
Block a user