@smartbit4all/ng-client 5.0.12 → 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.
@@ -7434,6 +7434,12 @@ class Table {
7434
7434
  ngOnInit() {
7435
7435
  if (this.smartTable.sortable)
7436
7436
  this.sortEvent = new Subject();
7437
+ }
7438
+ ngOnDestroy() {
7439
+ this._destroy$.next();
7440
+ this._destroy$.complete();
7441
+ }
7442
+ ngAfterViewInit() {
7437
7443
  const origRenderRows = this.myTableChild.renderRows.bind(this.myTableChild);
7438
7444
  this.myTableChild.renderRows = () => {
7439
7445
  try {
@@ -7445,10 +7451,6 @@ class Table {
7445
7451
  }
7446
7452
  };
7447
7453
  }
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);