@wavemaker/app-ng-runtime 11.15.5-rc.259 → 11.15.5-rc.262

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.
@@ -2234,6 +2234,10 @@ class TableComponent extends StylableComponent {
2234
2234
  case 'show':
2235
2235
  if (nv) {
2236
2236
  this.invokeEventCallback('show');
2237
+ // recompute layout now that the table is visible again
2238
+ if (this.datagridElement) {
2239
+ this.redraw(false);
2240
+ }
2237
2241
  }
2238
2242
  else {
2239
2243
  this.invokeEventCallback('hide');
@@ -2527,7 +2531,7 @@ class TableComponent extends StylableComponent {
2527
2531
  }
2528
2532
  else {
2529
2533
  setTimeout(() => {
2530
- this.callDataGridMethod('setColGroupWidths');
2534
+ this.callDataGridMethod(forceRender === false ? 'refreshColumnWidths' : 'setColGroupWidths');
2531
2535
  this.callDataGridMethod('addOrRemoveScroll');
2532
2536
  });
2533
2537
  }