@smartbit4all/ng-client 3.2.31 → 3.2.32
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/esm2020/lib/smart-table/smarttable.model.mjs +2 -1
- package/esm2020/lib/smart-table/tables/table.mjs +4 -1
- package/fesm2015/smartbit4all-ng-client.mjs +4 -0
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +4 -0
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-table/smarttable.model.d.ts +3 -0
- package/package.json +1 -1
- package/smartbit4all-ng-client-3.2.32.tgz +0 -0
- package/smartbit4all-ng-client-3.2.31.tgz +0 -0
|
@@ -5445,6 +5445,7 @@ class SmartTable {
|
|
|
5445
5445
|
this.expandable = config.expandable;
|
|
5446
5446
|
this.expandedComponent = config.expandedComponent;
|
|
5447
5447
|
this.asyncOnExpand = config.asyncOnExpand;
|
|
5448
|
+
this.highlightProperty = config.highlightProperty;
|
|
5448
5449
|
this.customSmartTableHeaders = config.customSmartTableHeaders;
|
|
5449
5450
|
if (this.expandable) {
|
|
5450
5451
|
this.customSmartTableHeaders?.push({
|
|
@@ -5868,6 +5869,9 @@ class Table {
|
|
|
5868
5869
|
return `${this.smartTable.selection.isSelected(row) ? 'deselect' : 'select'} row ${row.position + 1}`;
|
|
5869
5870
|
}
|
|
5870
5871
|
isHighlighted(row) {
|
|
5872
|
+
if (row['data'][this.smartTable.highlightProperty]) {
|
|
5873
|
+
return true;
|
|
5874
|
+
}
|
|
5871
5875
|
if (!this.highlightedRows || !this.highlightedRows.length) {
|
|
5872
5876
|
return false;
|
|
5873
5877
|
}
|