Feat/importpreview2 (#6506)

* Allow column resizing in preview table

* added property to TableComponentProperties

* hooked up new prop into model view

* new setOptions

* adding enum to azdata interface

* bring in slickgrid 2.3.30

* PR feedback
This commit is contained in:
kenvanhyning
2019-07-26 08:31:47 -07:00
committed by GitHub
parent 9f342ec9d5
commit 5cffa7fe52
9 changed files with 74 additions and 8 deletions

View File

@@ -334,4 +334,9 @@ export class Table<T extends Slick.SlickData> extends Widget implements IDisposa
this.styleElement.innerHTML = content.join('\n');
}
public setOptions(newOptions: Slick.GridOptions<T>) {
this._grid.setOptions(newOptions);
this._grid.invalidate();
}
}