@acorex/data-grid 6.5.61 → 6.5.63
Sign up to get free protection for your applications and to get access to all the features.
@@ -1107,18 +1107,20 @@ class AXDataGridComponent {
|
|
1107
1107
|
this.gridApi.forEachNode((node) => {
|
1108
1108
|
if (node.data !== undefined) {
|
1109
1109
|
let select = false;
|
1110
|
-
this.selectRow.
|
1111
|
-
|
1112
|
-
if (
|
1113
|
-
|
1110
|
+
if (this.selectRow.length) {
|
1111
|
+
this.selectRow.forEach((item) => {
|
1112
|
+
if (item.rowIndex != undefined && item.rowLevel != undefined) {
|
1113
|
+
if (node.data[this.keyField] === item.data[this.keyField]) {
|
1114
|
+
select = true;
|
1115
|
+
}
|
1114
1116
|
}
|
1115
|
-
|
1116
|
-
|
1117
|
-
|
1118
|
-
|
1117
|
+
else {
|
1118
|
+
if (this.keyField && node.data[this.keyField] === item[this.keyField]) {
|
1119
|
+
select = true;
|
1120
|
+
}
|
1119
1121
|
}
|
1120
|
-
}
|
1121
|
-
}
|
1122
|
+
});
|
1123
|
+
}
|
1122
1124
|
node.setSelected(select);
|
1123
1125
|
}
|
1124
1126
|
});
|