@smartbit4all/ng-client 5.0.9 → 5.0.10
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.
|
@@ -7978,11 +7978,13 @@ class MaterialTableComponent extends Table {
|
|
|
7978
7978
|
super(cfService);
|
|
7979
7979
|
}
|
|
7980
7980
|
trackByFn(index, item) {
|
|
7981
|
-
|
|
7982
|
-
|
|
7983
|
-
|
|
7984
|
-
|
|
7985
|
-
|
|
7981
|
+
if (this.smartTable) {
|
|
7982
|
+
const selectionProp = this.smartTable?.selectionProperty;
|
|
7983
|
+
if (!!selectionProp) {
|
|
7984
|
+
const selectionKey = this.smartTable.getValueDeeply(item, selectionProp);
|
|
7985
|
+
if (selectionKey) {
|
|
7986
|
+
return selectionKey;
|
|
7987
|
+
}
|
|
7986
7988
|
}
|
|
7987
7989
|
}
|
|
7988
7990
|
const id = item.id;
|