Fixing row selection and styling in select column (#20670)

This commit is contained in:
Aasim Khan
2022-09-27 15:55:55 -07:00
committed by GitHub
parent 8ea0e34751
commit 02697105f5
3 changed files with 3 additions and 5 deletions

View File

@@ -277,7 +277,7 @@ export default class TableComponent extends ComponentBase<azdata.TableComponentP
this._table = new Table<Slick.SlickData>(this._inputContainer.nativeElement, { dataProvider: this._tableData, columns: this._tableColumns }, options);
this._table.setData(this._tableData);
this._table.setSelectionModel(new RowSelectionModel({ selectActiveRow: false }));
this._table.setSelectionModel(new RowSelectionModel({ selectActiveRow: true }));
this._register(this._table);
this._register(attachTableStyler(this._table, this.themeService));