mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-23 09:35:39 -05:00
Add title property for data grid providers (#13155)
This commit is contained in:
@@ -52,6 +52,7 @@ export class ResourceViewerTable extends Disposable {
|
||||
dataItemColumnValueExtractor: dataGridColumnValueExtractor,
|
||||
forceFitColumns: true
|
||||
}));
|
||||
|
||||
this._resourceViewerTable.setSelectionModel(new RowSelectionModel());
|
||||
let filterPlugin = new HeaderFilter<azdata.DataGridItem>();
|
||||
this._register(attachButtonStyler(filterPlugin, this._themeService));
|
||||
@@ -100,6 +101,10 @@ export class ResourceViewerTable extends Disposable {
|
||||
this._loadingSpinnerPlugin.loading = isLoading;
|
||||
}
|
||||
|
||||
public set title(title: string) {
|
||||
this._resourceViewerTable.setTableTitle(title);
|
||||
}
|
||||
|
||||
public registerPlugin(plugin: Slick.Plugin<azdata.DataGridItem>): void {
|
||||
this._resourceViewerTable.registerPlugin(plugin);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user