@wavemaker/app-ng-runtime 11.8.3-next.27392 → 11.8.3-next.27395

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.
@@ -673,12 +673,12 @@
673
673
  this.callDataGridMethod('applyRowNgClass', i4.getConditionalClasses(nv, ov), index);
674
674
  }, watchName));
675
675
  },
676
- registerColNgClassWatcher: (rowData, colDef, rowIndex, colIndex) => {
676
+ registerColNgClassWatcher: (rowData, colDef, rowIndex, colIndex, summaryRow) => {
677
677
  if (!colDef['col-ng-class']) {
678
678
  return;
679
679
  }
680
680
  const row = this.getClonedRowObject(rowData);
681
- const watchName = `${this.widgetId}_colNgClass_${rowIndex}_${colIndex}`;
681
+ const watchName = summaryRow ? `${this.widgetId}_summaryRow_colNgClass_${rowIndex}_${colIndex}` : `${this.widgetId}_colNgClass_${rowIndex}_${colIndex}`;
682
682
  i2.$unwatch(watchName);
683
683
  //[Todo-CSP]: generate watcher expr in page if col-ng-class attr is present for table
684
684
  this.registerDestroyListener(i2.$watch(colDef['col-ng-class'], this.viewParent, { row }, (nv, ov) => {