mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-19 09:35:36 -05:00
fix profiler formatter issue (#5372)
This commit is contained in:
@@ -141,7 +141,11 @@ export class ProfilerTableEditor extends BaseEditor implements IProfilerControll
|
||||
this._findCountChangeListener = input.data.onFindCountChange(() => this._updateFinderMatchState());
|
||||
|
||||
this._profilerTable.setData(input.data);
|
||||
this._profilerTable.columns = input.columns;
|
||||
this._profilerTable.columns = input.columns.map(c => {
|
||||
c.formatter = textFormatter;
|
||||
return c;
|
||||
});
|
||||
|
||||
this._profilerTable.autosizeColumns();
|
||||
this._input.data.currentFindPosition.then(val => {
|
||||
this._profilerTable.setActiveCell(val.row, val.col);
|
||||
|
||||
Reference in New Issue
Block a user