@wavemaker/app-ng-runtime 11.10.5-next.27872 → 11.10.5-next.27901

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.
@@ -693,6 +693,17 @@ class TableComponent extends StylableComponent {
693
693
  this.callDataGridMethod('applyColNgClass', getConditionalClasses(nv, ov), rowIndex, colIndex);
694
694
  }, watchName));
695
695
  },
696
+ registerCollapseOrExpandTitleWatch: (expr, rowData, index, titleName, element) => {
697
+ const row = this.getClonedRowObject(rowData);
698
+ const watchName = `${this.widgetId}_${titleName}_${index}`;
699
+ $unwatch(watchName);
700
+ this.registerDestroyListener($watch(expr, this.viewParent, { row }, (nv, ov) => {
701
+ element.removeAttribute(`${titleName}.bind`);
702
+ element.setAttribute(titleName, nv);
703
+ if (titleName === 'expandtitle')
704
+ element.setAttribute('title', nv);
705
+ }, watchName));
706
+ },
696
707
  clearCustomExpression: () => {
697
708
  this.customExprViewRef.clear();
698
709
  this.customExprCompiledTl = {};