@smartbit4all/ng-client 5.0.11 → 5.0.13
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.
|
@@ -7430,6 +7430,16 @@ class Table {
|
|
|
7430
7430
|
this.onSelectionChanged = new Subject();
|
|
7431
7431
|
this.asyncTranslationResult = (translator, param) => translator(param);
|
|
7432
7432
|
this.ACTION_SEPERATOR = '_actionSeparator_';
|
|
7433
|
+
}
|
|
7434
|
+
ngOnInit() {
|
|
7435
|
+
if (this.smartTable.sortable)
|
|
7436
|
+
this.sortEvent = new Subject();
|
|
7437
|
+
}
|
|
7438
|
+
ngOnDestroy() {
|
|
7439
|
+
this._destroy$.next();
|
|
7440
|
+
this._destroy$.complete();
|
|
7441
|
+
}
|
|
7442
|
+
ngAfterViewInit() {
|
|
7433
7443
|
const origRenderRows = this.myTableChild.renderRows.bind(this.myTableChild);
|
|
7434
7444
|
this.myTableChild.renderRows = () => {
|
|
7435
7445
|
try {
|
|
@@ -7441,14 +7451,6 @@ class Table {
|
|
|
7441
7451
|
}
|
|
7442
7452
|
};
|
|
7443
7453
|
}
|
|
7444
|
-
ngOnInit() {
|
|
7445
|
-
if (this.smartTable.sortable)
|
|
7446
|
-
this.sortEvent = new Subject();
|
|
7447
|
-
}
|
|
7448
|
-
ngOnDestroy() {
|
|
7449
|
-
this._destroy$.next();
|
|
7450
|
-
this._destroy$.complete();
|
|
7451
|
-
}
|
|
7452
7454
|
handleOnRowClick(element) {
|
|
7453
7455
|
if (this.smartTable.tableType === SmartTableType.INHERITED) {
|
|
7454
7456
|
this.onRowClick(element);
|