@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.
@@ -10091,7 +10091,7 @@ class DetailsView {
10091
10091
  const columnData = JSON.parse(JSON.stringify(this.gridObj.columns));
10092
10092
  if (columnData[len - 1].field && (columnData[len - 1].field === 'filterPath')) {
10093
10093
  /* istanbul ignore next */
10094
- if (this.gridObj.sortSettings.columns[0].field === 'filterPath') {
10094
+ if (!isNullOrUndefined(this.gridObj.sortSettings.columns[0]) && this.gridObj.sortSettings.columns[0].field === 'filterPath') {
10095
10095
  if (this.parent.sortOrder !== 'None') {
10096
10096
  this.gridObj.sortColumn('name', this.parent.sortOrder);
10097
10097
  }
@@ -10539,10 +10539,6 @@ class DetailsView {
10539
10539
  }
10540
10540
  this.parent.visitedItem = args.row;
10541
10541
  if ((!this.parent.enableVirtualization) || (!args.isHeaderCheckboxClicked)) {
10542
- if (this.parent.allowMultiSelection && !isNullOrUndefined(item) && !isNullOrUndefined(item.querySelector('.e-checkselect'))) {
10543
- const checkItem = item.querySelector('.e-checkselect');
10544
- checkItem.focus();
10545
- }
10546
10542
  this.addFocus(this.gridObj.selectedRowIndex);
10547
10543
  }
10548
10544
  if (!this.parent.isLayoutChange) {