mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-24 09:35:37 -05:00
declarative table fix (#14844)
* declarative table fixes * reset selectedRow * use eventHelper
This commit is contained in:
@@ -69,7 +69,7 @@ export class SqlDatabaseTree {
|
||||
private createDatabaseComponent(view: azdata.ModelView, dbs: string[]): azdata.DivContainer {
|
||||
this._databaseTable = view.modelBuilder.declarativeTable().withProps(
|
||||
{
|
||||
selectEffect: true,
|
||||
enableRowSelection: true,
|
||||
width: 200,
|
||||
CSSStyles: {
|
||||
'table-layout': 'fixed'
|
||||
@@ -141,7 +141,7 @@ export class SqlDatabaseTree {
|
||||
private createInstanceComponent(view: azdata.ModelView): azdata.DivContainer {
|
||||
this._instanceTable = view.modelBuilder.declarativeTable().withProps(
|
||||
{
|
||||
selectEffect: true,
|
||||
enableRowSelection: true,
|
||||
width: 200,
|
||||
columns: [
|
||||
{
|
||||
@@ -291,7 +291,7 @@ export class SqlDatabaseTree {
|
||||
|
||||
this._impactedObjectsTable = view.modelBuilder.declarativeTable().withProps(
|
||||
{
|
||||
selectEffect: true,
|
||||
enableRowSelection: true,
|
||||
width: '100%',
|
||||
columns: [
|
||||
{
|
||||
@@ -516,7 +516,7 @@ export class SqlDatabaseTree {
|
||||
|
||||
this._assessmentResultsTable = view.modelBuilder.declarativeTable().withProps(
|
||||
{
|
||||
selectEffect: true,
|
||||
enableRowSelection: true,
|
||||
width: '200px',
|
||||
CSSStyles: {
|
||||
'table-layout': 'fixed'
|
||||
|
||||
Reference in New Issue
Block a user