@porscheinformatik/clr-addons 19.9.3 → 19.9.4
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.
package/fesm2022/clr-addons.mjs
CHANGED
|
@@ -4241,6 +4241,7 @@ class ClrTreetable {
|
|
|
4241
4241
|
this.selection = inject((Selection));
|
|
4242
4242
|
this._items = inject((Items));
|
|
4243
4243
|
this._destroyRef = inject(DestroyRef);
|
|
4244
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
4244
4245
|
this.clrClickableRows = true;
|
|
4245
4246
|
this.hideHeader = false;
|
|
4246
4247
|
this.selectedChanged = new EventEmitter(false);
|
|
@@ -4301,6 +4302,7 @@ class ClrTreetable {
|
|
|
4301
4302
|
setActionOverflow(hasActionOverflow) {
|
|
4302
4303
|
if (!this.hasActionOverflow && hasActionOverflow) {
|
|
4303
4304
|
this.hasActionOverflow = true;
|
|
4305
|
+
this.cdr.markForCheck();
|
|
4304
4306
|
// setTimeout needed, as this method needs to change data which shouldn't be changed anymore in this cycle
|
|
4305
4307
|
setTimeout(() => {
|
|
4306
4308
|
if (this.hasActionOverflow) {
|