@syncfusion/ej2-filemanager 22.2.5 → 22.2.12

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.
@@ -10283,7 +10283,7 @@ var DetailsView = /** @__PURE__ @class */ (function () {
10283
10283
  var columnData = JSON.parse(JSON.stringify(this.gridObj.columns));
10284
10284
  if (columnData[len - 1].field && (columnData[len - 1].field === 'filterPath')) {
10285
10285
  /* istanbul ignore next */
10286
- if (this.gridObj.sortSettings.columns[0].field === 'filterPath') {
10286
+ if (!isNullOrUndefined(this.gridObj.sortSettings.columns[0]) && this.gridObj.sortSettings.columns[0].field === 'filterPath') {
10287
10287
  if (this.parent.sortOrder !== 'None') {
10288
10288
  this.gridObj.sortColumn('name', this.parent.sortOrder);
10289
10289
  }
@@ -10732,10 +10732,6 @@ var DetailsView = /** @__PURE__ @class */ (function () {
10732
10732
  }
10733
10733
  this.parent.visitedItem = args.row;
10734
10734
  if ((!this.parent.enableVirtualization) || (!args.isHeaderCheckboxClicked)) {
10735
- if (this.parent.allowMultiSelection && !isNullOrUndefined(item) && !isNullOrUndefined(item.querySelector('.e-checkselect'))) {
10736
- var checkItem = item.querySelector('.e-checkselect');
10737
- checkItem.focus();
10738
- }
10739
10735
  this.addFocus(this.gridObj.selectedRowIndex);
10740
10736
  }
10741
10737
  if (!this.parent.isLayoutChange) {