@syncfusion/ej2-grids 20.4.54-54739 → 20.4.54-54740

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.
@@ -12259,7 +12259,7 @@ class Selection {
12259
12259
  if (state) {
12260
12260
  const selectedStateKeys = Object.keys(this.selectedRowState);
12261
12261
  const unSelectedRowStateKeys = Object.keys(this.unSelectedRowState);
12262
- for (const data of this.parent.currentViewData) {
12262
+ for (const data of this.parent.getCurrentViewRecords()) {
12263
12263
  const key = data[this.primaryKey].toString();
12264
12264
  if (selectedStateKeys.indexOf(key) === -1 && unSelectedRowStateKeys.indexOf(key) === -1) {
12265
12265
  this.selectedRowState[data[this.primaryKey]] = true;