mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Fix grid changes that broke profiler (#2365)
This commit is contained in:
@@ -72,7 +72,16 @@ export class ProfilerTableEditor extends BaseEditor implements IProfilerControll
|
||||
this._overlay.style.zIndex = '4';
|
||||
parent.appendChild(this._overlay);
|
||||
|
||||
this._profilerTable = new Table(parent);
|
||||
this._profilerTable = new Table(parent, {
|
||||
sorter: {
|
||||
sort: (args) => {
|
||||
let input = this.input as ProfilerInput;
|
||||
if (input && input.data) {
|
||||
input.data.sort(args);
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
this._profilerTable.setSelectionModel(new RowSelectionModel());
|
||||
attachTableStyler(this._profilerTable, this._themeService);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user