mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-29 17:23:25 -05:00
Fixing Slick Grid accessibility bugs. (#20514)
* some alignment fixes * Redesigning slickgrid checkbox plugin * Reverting original plugin to main state * Fixing css * Reverting file * Removing extra whitespace * Adding title * Removing older plugin * vbumping slick grid * Pushing other vbumps * Adding more targeted css selectors
This commit is contained in:
@@ -174,6 +174,8 @@ export class Table<T extends Slick.SlickData> extends Widget implements IDisposa
|
||||
if (this._autoscroll) {
|
||||
this._grid.scrollRowIntoView(this._data.getLength() - 1, false);
|
||||
}
|
||||
this.ariaRowCount = this.grid.getDataLength();
|
||||
this.ariaColumnCount = this.grid.getColumns().length;
|
||||
}
|
||||
|
||||
set columns(columns: Slick.Column<T>[]) {
|
||||
@@ -194,6 +196,7 @@ export class Table<T extends Slick.SlickData> extends Widget implements IDisposa
|
||||
this._data = new TableDataView<T>(data);
|
||||
}
|
||||
this._grid.setData(this._data, true);
|
||||
this.updateRowCount();
|
||||
}
|
||||
|
||||
getData(): IDisposableDataProvider<T> {
|
||||
|
||||
Reference in New Issue
Block a user