ms-data-grid 0.0.139 → 0.0.140

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2535,7 +2535,7 @@ class DataGridComponent {
2535
2535
  this.showVerticalBorder = this.defaultConfig.showVerticalBorder || false;
2536
2536
  this.fontFaimly = this.defaultConfig.fontFaimly || 'Inter';
2537
2537
  this.headerTextFontsSize = this.defaultConfig.headerTextFontsSize || 14;
2538
- this.selectedTableLayout = this.defaultConfig.selectedTableLayout || 'medium';
2538
+ this.selectedTableLayout = this.defaultConfig.selectedTableLayout;
2539
2539
  this.bodyTextFontsSize = this.defaultConfig.bodyTextFontsSize || 14;
2540
2540
  this.globalSearchText = this.defaultConfig.globalSearch;
2541
2541
  this.setTableLayout(this.selectedTableLayout);
@@ -2550,7 +2550,7 @@ class DataGridComponent {
2550
2550
  this.showVerticalBorder = false;
2551
2551
  this.fontFaimly = 'Inter';
2552
2552
  this.headerTextFontsSize = 14;
2553
- this.selectedTableLayout = 'medium';
2553
+ this.selectedTableLayout = this.selectedTableLayout || 'medium';
2554
2554
  this.bodyTextFontsSize = 14;
2555
2555
  this.globalSearchText = '';
2556
2556
  this.presetName = '';
@@ -2797,7 +2797,7 @@ class DataGridComponent {
2797
2797
  showVerticalBorder: this.showVerticalBorder || false,
2798
2798
  fontFaimly: this.fontFaimly || 'Inter',
2799
2799
  headerTextFontsSize: Number(this.headerTextFontsSize) || 14,
2800
- selectedTableLayout: this.selectedTableLayout || 'mediumd',
2800
+ selectedTableLayout: this.selectedTableLayout || 'medium',
2801
2801
  bodyTextFontsSize: Number(this.bodyTextFontsSize) || 14,
2802
2802
  globalSearch: this.globalSearchText,
2803
2803
  filterNames: '',