@wavemaker/app-ng-runtime 12.0.0-next.45501 → 12.0.0-next.45752

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.
@@ -665,12 +665,12 @@ class TableComponent extends StylableComponent {
665
665
  this.callDataGridMethod('applyRowNgClass', getConditionalClasses(nv, ov), index);
666
666
  }, watchName));
667
667
  },
668
- registerColNgClassWatcher: (rowData, colDef, rowIndex, colIndex) => {
668
+ registerColNgClassWatcher: (rowData, colDef, rowIndex, colIndex, summaryRow) => {
669
669
  if (!colDef['col-ng-class']) {
670
670
  return;
671
671
  }
672
672
  const row = this.getClonedRowObject(rowData);
673
- const watchName = `${this.widgetId}_colNgClass_${rowIndex}_${colIndex}`;
673
+ const watchName = summaryRow ? `${this.widgetId}_summaryRow_colNgClass_${rowIndex}_${colIndex}` : `${this.widgetId}_colNgClass_${rowIndex}_${colIndex}`;
674
674
  $unwatch(watchName);
675
675
  //[Todo-CSP]: generate watcher expr in page if col-ng-class attr is present for table
676
676
  this.registerDestroyListener($watch(colDef['col-ng-class'], this.viewParent, { row }, (nv, ov) => {