@syncfusion/ej2-filemanager 25.1.40 → 25.2.3

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.
@@ -216,7 +216,7 @@ var __decorate$3 = (undefined && undefined.__decorate) || function (decorators,
216
216
  */
217
217
  var columnArray = [
218
218
  {
219
- field: 'name', headerText: 'Name', minWidth: 120, isPrimaryKey: true,
219
+ field: 'name', headerText: 'Name', minWidth: 120,
220
220
  template: '<span class=\"e-fe-text\">${name}</span>',
221
221
  customAttributes: { class: 'e-fe-grid-name' }
222
222
  },
@@ -6446,6 +6446,9 @@ var ContextMenu$2 = /** @__PURE__ @class */ (function () {
6446
6446
  (closest(target, '#' + this.parent.element.id + GRID_ID).getElementsByClassName(EMPTY).length !== 0)))) {
6447
6447
  this.disabledItems.push('SelectAll');
6448
6448
  }
6449
+ else {
6450
+ this.disabledItems = this.disabledItems.filter(function (item) { return item !== 'SelectAll'; });
6451
+ }
6449
6452
  if (this.parent.selectedNodes.length === 0) {
6450
6453
  if (this.disabledItems.indexOf('Paste') === -1) {
6451
6454
  this.disabledItems.push('Paste');
@@ -10044,8 +10047,7 @@ var DetailsView = /** @__PURE__ @class */ (function () {
10044
10047
  allowResizing: this.parent.detailsViewSettings.columnResizing,
10045
10048
  selectionSettings: {
10046
10049
  type: this.parent.allowMultiSelection ? 'Multiple' : 'Single',
10047
- checkboxMode: 'ResetOnRowClick',
10048
- persistSelection: (this.parent.enableVirtualization) ? true : false
10050
+ checkboxMode: 'ResetOnRowClick'
10049
10051
  },
10050
10052
  enableRtl: this.parent.enableRtl,
10051
10053
  pageSettings: { pageSize: 20 },