@smartbit4all/ng-client 3.2.36 → 3.2.38

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.
@@ -5870,8 +5870,10 @@ class Table {
5870
5870
  return `${this.smartTable.selection.isSelected(row) ? 'deselect' : 'select'} row ${row.position + 1}`;
5871
5871
  }
5872
5872
  isHighlighted(row) {
5873
- if (row['data'][this.smartTable.highlightProperty]) {
5874
- return true;
5873
+ if (this.smartTable.highlightProperty) {
5874
+ if (row['data'][this.smartTable.highlightProperty]) {
5875
+ return true;
5876
+ }
5875
5877
  }
5876
5878
  if (!this.highlightedRows || !this.highlightedRows.length) {
5877
5879
  return false;
@@ -11042,7 +11044,12 @@ class SmartGridService {
11042
11044
  }
11043
11045
  async setPage(uuid, gridIdentifier, offset, limit) {
11044
11046
  await lastValueFrom(this.api.setPage(uuid, gridIdentifier, offset, limit));
11045
- await this.load(uuid, gridIdentifier);
11047
+ await this.update(uuid, gridIdentifier, {
11048
+ orderByList: this.gridModel.view?.orderByList,
11049
+ orderedColumnNames: this.gridModel.view?.orderedColumnNames,
11050
+ pageSize: +limit,
11051
+ });
11052
+ // await this.load(uuid, gridIdentifier);
11046
11053
  }
11047
11054
  async sort(smartGrid, gridUpdateData) {
11048
11055
  let gridModelResult = await this.api