mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-06 09:35:41 -05:00
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:
@@ -32,7 +32,11 @@ export class ProsePreviewPage extends ImportPage {
|
||||
}
|
||||
|
||||
async start(): Promise<boolean> {
|
||||
this.table = this.view.modelBuilder.table().component();
|
||||
this.table = this.view.modelBuilder.table().withProperties<azdata.TableComponentProperties>({
|
||||
data: undefined,
|
||||
columns: undefined,
|
||||
forceFitColumns: azdata.ColumnSizingMode.AutoFit
|
||||
}).component();
|
||||
this.refresh = this.view.modelBuilder.button().withProperties({
|
||||
label: localize('flatFileImport.refresh', 'Refresh'),
|
||||
isFile: false
|
||||
|
||||
Reference in New Issue
Block a user