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

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.
@@ -12691,7 +12691,7 @@ var Selection = /** @class */ (function () {
12691
12691
  if (state) {
12692
12692
  var selectedStateKeys = Object.keys(this.selectedRowState);
12693
12693
  var unSelectedRowStateKeys = Object.keys(this.unSelectedRowState);
12694
- for (var _d = 0, _e = this.parent.currentViewData; _d < _e.length; _d++) {
12694
+ for (var _d = 0, _e = this.parent.getCurrentViewRecords(); _d < _e.length; _d++) {
12695
12695
  var data = _e[_d];
12696
12696
  var key = data[this.primaryKey].toString();
12697
12697
  if (selectedStateKeys.indexOf(key) === -1 && unSelectedRowStateKeys.indexOf(key) === -1) {