@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.
@@ -144,7 +144,7 @@ var __decorate$3 = (undefined && undefined.__decorate) || function (decorators,
144
144
  */
145
145
  const columnArray = [
146
146
  {
147
- field: 'name', headerText: 'Name', minWidth: 120, isPrimaryKey: true,
147
+ field: 'name', headerText: 'Name', minWidth: 120,
148
148
  template: '<span class=\"e-fe-text\">${name}</span>',
149
149
  customAttributes: { class: 'e-fe-grid-name' }
150
150
  },
@@ -6284,6 +6284,9 @@ class ContextMenu$2 {
6284
6284
  (closest(target, '#' + this.parent.element.id + GRID_ID).getElementsByClassName(EMPTY).length !== 0)))) {
6285
6285
  this.disabledItems.push('SelectAll');
6286
6286
  }
6287
+ else {
6288
+ this.disabledItems = this.disabledItems.filter(item => item !== 'SelectAll');
6289
+ }
6287
6290
  if (this.parent.selectedNodes.length === 0) {
6288
6291
  if (this.disabledItems.indexOf('Paste') === -1) {
6289
6292
  this.disabledItems.push('Paste');
@@ -9835,8 +9838,7 @@ class DetailsView {
9835
9838
  allowResizing: this.parent.detailsViewSettings.columnResizing,
9836
9839
  selectionSettings: {
9837
9840
  type: this.parent.allowMultiSelection ? 'Multiple' : 'Single',
9838
- checkboxMode: 'ResetOnRowClick',
9839
- persistSelection: (this.parent.enableVirtualization) ? true : false
9841
+ checkboxMode: 'ResetOnRowClick'
9840
9842
  },
9841
9843
  enableRtl: this.parent.enableRtl,
9842
9844
  pageSettings: { pageSize: 20 },