@syncfusion/ej2-treegrid 30.1.38 → 31.1.17
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.
- package/aceconfig.js +17 -0
- package/dist/ej2-treegrid.min.js +2 -2
- package/dist/ej2-treegrid.umd.min.js +2 -2
- package/dist/ej2-treegrid.umd.min.js.map +1 -1
- package/dist/es6/ej2-treegrid.es2015.js +265 -159
- package/dist/es6/ej2-treegrid.es2015.js.map +1 -1
- package/dist/es6/ej2-treegrid.es5.js +293 -169
- package/dist/es6/ej2-treegrid.es5.js.map +1 -1
- package/dist/global/ej2-treegrid.min.js +2 -2
- package/dist/global/ej2-treegrid.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/dist/ts/index.d.ts +4 -0
- package/dist/ts/index.ts +4 -0
- package/dist/ts/treegrid/actions/batch-edit.d.ts +74 -0
- package/dist/ts/treegrid/actions/batch-edit.ts +627 -0
- package/dist/ts/treegrid/actions/clipboard.d.ts +36 -0
- package/dist/ts/treegrid/actions/clipboard.ts +174 -0
- package/dist/ts/treegrid/actions/column-chooser.d.ts +37 -0
- package/dist/ts/treegrid/actions/column-chooser.ts +55 -0
- package/dist/ts/treegrid/actions/column-menu.d.ts +24 -0
- package/dist/ts/treegrid/actions/column-menu.ts +39 -0
- package/dist/ts/treegrid/actions/command-column.d.ts +24 -0
- package/dist/ts/treegrid/actions/command-column.ts +32 -0
- package/dist/ts/treegrid/actions/context-menu.d.ts +42 -0
- package/dist/ts/treegrid/actions/context-menu.ts +149 -0
- package/dist/ts/treegrid/actions/crud-actions.d.ts +66 -0
- package/dist/ts/treegrid/actions/crud-actions.ts +388 -0
- package/dist/ts/treegrid/actions/detail-row.d.ts +39 -0
- package/dist/ts/treegrid/actions/detail-row.ts +124 -0
- package/dist/ts/treegrid/actions/edit.d.ts +121 -0
- package/dist/ts/treegrid/actions/edit.ts +1083 -0
- package/dist/ts/treegrid/actions/excel-export.d.ts +67 -0
- package/dist/ts/treegrid/actions/excel-export.ts +240 -0
- package/dist/ts/treegrid/actions/filter.d.ts +57 -0
- package/dist/ts/treegrid/actions/filter.ts +231 -0
- package/dist/ts/treegrid/actions/freeze-column.d.ts +28 -0
- package/dist/ts/treegrid/actions/freeze-column.ts +119 -0
- package/dist/ts/treegrid/actions/index.d.ts +24 -0
- package/dist/ts/treegrid/actions/index.ts +24 -0
- package/dist/ts/treegrid/actions/infinite-scroll.d.ts +96 -0
- package/dist/ts/treegrid/actions/infinite-scroll.ts +320 -0
- package/dist/ts/treegrid/actions/logger.d.ts +25 -0
- package/dist/ts/treegrid/actions/logger.ts +136 -0
- package/dist/ts/treegrid/actions/page.d.ts +67 -0
- package/dist/ts/treegrid/actions/page.ts +212 -0
- package/dist/ts/treegrid/actions/pdf-export.d.ts +63 -0
- package/dist/ts/treegrid/actions/pdf-export.ts +182 -0
- package/dist/ts/treegrid/actions/print.d.ts +37 -0
- package/dist/ts/treegrid/actions/print.ts +69 -0
- package/dist/ts/treegrid/actions/reorder.d.ts +36 -0
- package/dist/ts/treegrid/actions/reorder.ts +60 -0
- package/dist/ts/treegrid/actions/resize.d.ts +36 -0
- package/dist/ts/treegrid/actions/resize.ts +54 -0
- package/dist/ts/treegrid/actions/rowdragdrop.d.ts +405 -0
- package/dist/ts/treegrid/actions/rowdragdrop.ts +1896 -0
- package/dist/ts/treegrid/actions/selection.d.ts +51 -0
- package/dist/ts/treegrid/actions/selection.ts +530 -0
- package/dist/ts/treegrid/actions/sort.d.ts +63 -0
- package/dist/ts/treegrid/actions/sort.ts +149 -0
- package/dist/ts/treegrid/actions/summary.d.ts +47 -0
- package/dist/ts/treegrid/actions/summary.ts +231 -0
- package/dist/ts/treegrid/actions/toolbar.d.ts +52 -0
- package/dist/ts/treegrid/actions/toolbar.ts +154 -0
- package/dist/ts/treegrid/actions/virtual-scroll.d.ts +90 -0
- package/dist/ts/treegrid/actions/virtual-scroll.ts +306 -0
- package/dist/ts/treegrid/base/constant.d.ts +158 -0
- package/dist/ts/treegrid/base/constant.ts +158 -0
- package/dist/ts/treegrid/base/data.d.ts +90 -0
- package/dist/ts/treegrid/base/data.ts +904 -0
- package/dist/ts/treegrid/base/index.d.ts +11 -0
- package/dist/ts/treegrid/base/index.ts +11 -0
- package/dist/ts/treegrid/base/interface.d.ts +186 -0
- package/dist/ts/treegrid/base/interface.ts +191 -0
- package/dist/ts/treegrid/base/treegrid-model.d.ts +1100 -0
- package/dist/ts/treegrid/base/treegrid.d.ts +2422 -0
- package/dist/ts/treegrid/base/treegrid.ts +5962 -0
- package/dist/ts/treegrid/enum.d.ts +152 -0
- package/dist/ts/treegrid/enum.ts +217 -0
- package/dist/ts/treegrid/index.d.ts +9 -0
- package/dist/ts/treegrid/index.ts +9 -0
- package/dist/ts/treegrid/models/column-chooser-settings-model.d.ts +62 -0
- package/dist/ts/treegrid/models/column-chooser-settings.d.ts +53 -0
- package/dist/ts/treegrid/models/column-chooser-settings.ts +67 -0
- package/dist/ts/treegrid/models/column-model.d.ts +30 -0
- package/dist/ts/treegrid/models/column.d.ts +697 -0
- package/dist/ts/treegrid/models/column.ts +800 -0
- package/dist/ts/treegrid/models/edit-settings-model.d.ts +100 -0
- package/dist/ts/treegrid/models/edit-settings.d.ts +89 -0
- package/dist/ts/treegrid/models/edit-settings.ts +111 -0
- package/dist/ts/treegrid/models/filter-settings-model.d.ts +216 -0
- package/dist/ts/treegrid/models/filter-settings.d.ts +195 -0
- package/dist/ts/treegrid/models/filter-settings.ts +237 -0
- package/dist/ts/treegrid/models/index.d.ts +24 -0
- package/dist/ts/treegrid/models/index.ts +24 -0
- package/dist/ts/treegrid/models/infinite-scroll-settings-model.d.ts +29 -0
- package/dist/ts/treegrid/models/infinite-scroll-settings.d.ts +25 -0
- package/dist/ts/treegrid/models/infinite-scroll-settings.ts +31 -0
- package/dist/ts/treegrid/models/loading-indicator-model.d.ts +21 -0
- package/dist/ts/treegrid/models/loading-indicator.d.ts +19 -0
- package/dist/ts/treegrid/models/loading-indicator.ts +21 -0
- package/dist/ts/treegrid/models/page-settings-model.d.ts +66 -0
- package/dist/ts/treegrid/models/page-settings.d.ts +57 -0
- package/dist/ts/treegrid/models/page-settings.ts +73 -0
- package/dist/ts/treegrid/models/rowdrop-settings-model.d.ts +15 -0
- package/dist/ts/treegrid/models/rowdrop-settings.d.ts +34 -0
- package/dist/ts/treegrid/models/rowdrop-settings.ts +37 -0
- package/dist/ts/treegrid/models/search-settings-model.d.ts +79 -0
- package/dist/ts/treegrid/models/search-settings.d.ts +73 -0
- package/dist/ts/treegrid/models/search-settings.ts +83 -0
- package/dist/ts/treegrid/models/selection-settings-model.d.ts +76 -0
- package/dist/ts/treegrid/models/selection-settings.d.ts +68 -0
- package/dist/ts/treegrid/models/selection-settings.ts +82 -0
- package/dist/ts/treegrid/models/sort-settings-model.d.ts +49 -0
- package/dist/ts/treegrid/models/sort-settings.d.ts +43 -0
- package/dist/ts/treegrid/models/sort-settings.ts +51 -0
- package/dist/ts/treegrid/models/summary-model.d.ts +93 -0
- package/dist/ts/treegrid/models/summary.d.ts +126 -0
- package/dist/ts/treegrid/models/summary.ts +170 -0
- package/dist/ts/treegrid/models/textwrap-settings-model.d.ts +21 -0
- package/dist/ts/treegrid/models/textwrap-settings.d.ts +19 -0
- package/dist/ts/treegrid/models/textwrap-settings.ts +21 -0
- package/dist/ts/treegrid/renderer/index.d.ts +5 -0
- package/dist/ts/treegrid/renderer/index.ts +5 -0
- package/dist/ts/treegrid/renderer/render.d.ts +41 -0
- package/dist/ts/treegrid/renderer/render.ts +379 -0
- package/dist/ts/treegrid/renderer/virtual-row-model-generator.d.ts +16 -0
- package/dist/ts/treegrid/renderer/virtual-row-model-generator.ts +90 -0
- package/dist/ts/treegrid/renderer/virtual-tree-content-render.d.ts +353 -0
- package/dist/ts/treegrid/renderer/virtual-tree-content-render.ts +1125 -0
- package/dist/ts/treegrid/utils.d.ts +70 -0
- package/dist/ts/treegrid/utils.ts +217 -0
- package/package.json +51 -15
- package/src/treegrid/actions/context-menu.js +3 -1
- package/src/treegrid/actions/excel-export.d.ts +8 -0
- package/src/treegrid/actions/excel-export.js +13 -1
- package/src/treegrid/actions/freeze-column.js +1 -1
- package/src/treegrid/actions/pdf-export.d.ts +8 -0
- package/src/treegrid/actions/pdf-export.js +12 -0
- package/src/treegrid/actions/selection.js +1 -1
- package/src/treegrid/actions/virtual-scroll.js +2 -2
- package/src/treegrid/base/data.js +1 -1
- package/src/treegrid/base/treegrid-model.d.ts +32 -2
- package/src/treegrid/base/treegrid.d.ts +29 -2
- package/src/treegrid/base/treegrid.js +39 -2
- package/src/treegrid/models/column-chooser-settings-model.d.ts +62 -0
- package/src/treegrid/models/column-chooser-settings.d.ts +53 -0
- package/src/treegrid/models/column-chooser-settings.js +52 -0
- package/src/treegrid/renderer/virtual-tree-content-render.js +4 -9
- package/src/treegrid/utils.js +22 -6
|
@@ -773,13 +773,29 @@ var TreeClipboard = /** @__PURE__ @class */ (function (_super) {
|
|
|
773
773
|
* @returns {boolean} - Specifies whether remote data binding
|
|
774
774
|
*/
|
|
775
775
|
function isRemoteData(parent) {
|
|
776
|
-
if (parent
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
776
|
+
if (parent['treeGrid'] && parent['treeGrid']['isGantt']) {
|
|
777
|
+
if (parent['taskFields'].hasChildMapping) {
|
|
778
|
+
if (parent.dataSource instanceof DataManager) {
|
|
779
|
+
var adaptor = parent.dataSource.adaptor;
|
|
780
|
+
return (adaptor instanceof ODataAdaptor ||
|
|
781
|
+
(adaptor instanceof WebApiAdaptor) || (adaptor instanceof WebMethodAdaptor) ||
|
|
782
|
+
(adaptor instanceof CacheAdaptor) || adaptor instanceof UrlAdaptor);
|
|
783
|
+
}
|
|
784
|
+
return false;
|
|
785
|
+
}
|
|
786
|
+
else {
|
|
787
|
+
return false;
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
else {
|
|
791
|
+
if (parent.dataSource instanceof DataManager) {
|
|
792
|
+
var adaptor = parent.dataSource.adaptor;
|
|
793
|
+
return (adaptor instanceof ODataAdaptor ||
|
|
794
|
+
(adaptor instanceof WebApiAdaptor) || (adaptor instanceof WebMethodAdaptor) ||
|
|
795
|
+
(adaptor instanceof CacheAdaptor) || adaptor instanceof UrlAdaptor);
|
|
796
|
+
}
|
|
797
|
+
return false;
|
|
781
798
|
}
|
|
782
|
-
return false;
|
|
783
799
|
}
|
|
784
800
|
/**
|
|
785
801
|
* @param {TreeGrid | IGrid} parent - Tree Grid or Grid instance
|
|
@@ -1071,7 +1087,7 @@ var Selection = /** @__PURE__ @class */ (function () {
|
|
|
1071
1087
|
var headerCelllength = this.parent.getHeaderContent().querySelectorAll('.e-headercelldiv').length;
|
|
1072
1088
|
for (var j = 0; j < headerCelllength; j++) {
|
|
1073
1089
|
var headercell = this.parent.getHeaderContent().querySelectorAll('.e-headercelldiv')[parseInt(j.toString(), 10)];
|
|
1074
|
-
if (headercell.getAttribute('
|
|
1090
|
+
if (headercell.getAttribute('data-mappinguid') === mappingUid) {
|
|
1075
1091
|
columnIndex = j;
|
|
1076
1092
|
}
|
|
1077
1093
|
}
|
|
@@ -2361,7 +2377,7 @@ var DataManipulation = /** @__PURE__ @class */ (function () {
|
|
|
2361
2377
|
var targetEle = rowDetails.rows[parseInt(i.toString(), 10)].getElementsByClassName('e-treegridcollapse')[0];
|
|
2362
2378
|
childRecord = this.parent.rowTemplate ?
|
|
2363
2379
|
this.parent.grid.getCurrentViewRecords()[rowDetails.rows[parseInt(i.toString(), 10)].rowIndex] :
|
|
2364
|
-
this.parent.grid.getRowObjectFromUID(rowDetails.rows[parseInt(i.toString(), 10)].getAttribute('data-
|
|
2380
|
+
this.parent.grid.getRowObjectFromUID(rowDetails.rows[parseInt(i.toString(), 10)].getAttribute('data-uid')).data;
|
|
2365
2381
|
if (!isNullOrUndefined(targetEle) && childRecord.expanded) {
|
|
2366
2382
|
addClass([targetEle], 'e-treegridexpand');
|
|
2367
2383
|
removeClass([targetEle], 'e-treegridcollapse');
|
|
@@ -3753,6 +3769,57 @@ var __decorate$b = (undefined && undefined.__decorate) || function (decorators,
|
|
|
3753
3769
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
3754
3770
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
3755
3771
|
};
|
|
3772
|
+
/**
|
|
3773
|
+
* Configures the column chooser behavior of the Grid.
|
|
3774
|
+
*/
|
|
3775
|
+
var ColumnChooserSettings = /** @__PURE__ @class */ (function (_super) {
|
|
3776
|
+
__extends$d(ColumnChooserSettings, _super);
|
|
3777
|
+
function ColumnChooserSettings() {
|
|
3778
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
3779
|
+
}
|
|
3780
|
+
__decorate$b([
|
|
3781
|
+
Property('startsWith')
|
|
3782
|
+
], ColumnChooserSettings.prototype, "operator", void 0);
|
|
3783
|
+
__decorate$b([
|
|
3784
|
+
Property(false)
|
|
3785
|
+
], ColumnChooserSettings.prototype, "ignoreAccent", void 0);
|
|
3786
|
+
__decorate$b([
|
|
3787
|
+
Property(null)
|
|
3788
|
+
], ColumnChooserSettings.prototype, "headerTemplate", void 0);
|
|
3789
|
+
__decorate$b([
|
|
3790
|
+
Property(null)
|
|
3791
|
+
], ColumnChooserSettings.prototype, "template", void 0);
|
|
3792
|
+
__decorate$b([
|
|
3793
|
+
Property(null)
|
|
3794
|
+
], ColumnChooserSettings.prototype, "footerTemplate", void 0);
|
|
3795
|
+
__decorate$b([
|
|
3796
|
+
Property(true)
|
|
3797
|
+
], ColumnChooserSettings.prototype, "enableSearching", void 0);
|
|
3798
|
+
__decorate$b([
|
|
3799
|
+
Property(null)
|
|
3800
|
+
], ColumnChooserSettings.prototype, "renderCustomColumnChooser", void 0);
|
|
3801
|
+
return ColumnChooserSettings;
|
|
3802
|
+
}(ChildProperty));
|
|
3803
|
+
|
|
3804
|
+
var __extends$e = (undefined && undefined.__extends) || (function () {
|
|
3805
|
+
var extendStatics = function (d, b) {
|
|
3806
|
+
extendStatics = Object.setPrototypeOf ||
|
|
3807
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
3808
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
3809
|
+
return extendStatics(d, b);
|
|
3810
|
+
};
|
|
3811
|
+
return function (d, b) {
|
|
3812
|
+
extendStatics(d, b);
|
|
3813
|
+
function __() { this.constructor = d; }
|
|
3814
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
3815
|
+
};
|
|
3816
|
+
})();
|
|
3817
|
+
var __decorate$c = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
3818
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3819
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
3820
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
3821
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
3822
|
+
};
|
|
3756
3823
|
/**
|
|
3757
3824
|
* Represents the TreeGrid component.
|
|
3758
3825
|
* ```html
|
|
@@ -3764,7 +3831,7 @@ var __decorate$b = (undefined && undefined.__decorate) || function (decorators,
|
|
|
3764
3831
|
* ```
|
|
3765
3832
|
*/
|
|
3766
3833
|
var TreeGrid = /** @__PURE__ @class */ (function (_super) {
|
|
3767
|
-
__extends$
|
|
3834
|
+
__extends$e(TreeGrid, _super);
|
|
3768
3835
|
function TreeGrid(options, element) {
|
|
3769
3836
|
var _this = _super.call(this, options, element) || this;
|
|
3770
3837
|
_this.dataResults = {};
|
|
@@ -4617,7 +4684,7 @@ var TreeGrid = /** @__PURE__ @class */ (function (_super) {
|
|
|
4617
4684
|
}
|
|
4618
4685
|
}
|
|
4619
4686
|
var alignColumn;
|
|
4620
|
-
if (this.treeColumnIndex !== null && this.treeColumnIndex !== -1) {
|
|
4687
|
+
if (this.treeColumnIndex !== null && this.treeColumnIndex !== -1 && this.treeColumnIndex < this.columns.length) {
|
|
4621
4688
|
alignColumn = this.columnModel.filter(function (col) { return col.textAlign === 'Right' && col.field === _this.columnModel[_this.treeColumnIndex].field; });
|
|
4622
4689
|
if (alignColumn.length !== 0) {
|
|
4623
4690
|
failureCases.push('TextAlign right for the tree column is not applicable.');
|
|
@@ -4730,6 +4797,7 @@ var TreeGrid = /** @__PURE__ @class */ (function (_super) {
|
|
|
4730
4797
|
/* eslint-disable-next-line @typescript-eslint/no-explicit-any */
|
|
4731
4798
|
this.grid.toolbarTemplate = this.toolbarTemplate;
|
|
4732
4799
|
this.grid.showColumnChooser = this.showColumnChooser;
|
|
4800
|
+
this.grid.columnChooserSettings = this.columnChooserSettings;
|
|
4733
4801
|
this.grid.filterSettings = getActualProperties(this.filterSettings);
|
|
4734
4802
|
this.grid.selectionSettings = getActualProperties(this.selectionSettings);
|
|
4735
4803
|
this.grid.sortSettings = getActualProperties(this.sortSettings);
|
|
@@ -4757,6 +4825,7 @@ var TreeGrid = /** @__PURE__ @class */ (function (_super) {
|
|
|
4757
4825
|
var enableHtmlSanitizer = 'enableHtmlSanitizer';
|
|
4758
4826
|
this.grid["" + enableHtmlSanitizer] = this.enableHtmlSanitizer;
|
|
4759
4827
|
this.grid.enableStickyHeader = this.enableStickyHeader;
|
|
4828
|
+
this.grid.emptyRecordTemplate = this.emptyRecordTemplate;
|
|
4760
4829
|
var isTreeGrid = 'isTreeGrid';
|
|
4761
4830
|
this.grid["" + isTreeGrid] = true;
|
|
4762
4831
|
};
|
|
@@ -4823,6 +4892,14 @@ var TreeGrid = /** @__PURE__ @class */ (function (_super) {
|
|
|
4823
4892
|
_this.notify('excelCellInfo', args);
|
|
4824
4893
|
args = _this.dataResults;
|
|
4825
4894
|
};
|
|
4895
|
+
this.grid.excelAggregateQueryCellInfo = function (args) {
|
|
4896
|
+
_this.notify('excelAggregateCellInfo', args);
|
|
4897
|
+
args = _this.dataResults;
|
|
4898
|
+
};
|
|
4899
|
+
this.grid.pdfAggregateQueryCellInfo = function (args) {
|
|
4900
|
+
_this.notify('pdfAggregateCellInfo', args);
|
|
4901
|
+
args = _this.dataResults;
|
|
4902
|
+
};
|
|
4826
4903
|
this.grid.pdfQueryCellInfo = function (args) {
|
|
4827
4904
|
_this.notify('pdfCellInfo', args);
|
|
4828
4905
|
args = _this.dataResults;
|
|
@@ -5718,6 +5795,9 @@ var TreeGrid = /** @__PURE__ @class */ (function (_super) {
|
|
|
5718
5795
|
case 'enableAutoFill':
|
|
5719
5796
|
this.grid.enableAutoFill = this.enableAutoFill;
|
|
5720
5797
|
break;
|
|
5798
|
+
case 'columnChooserSettings':
|
|
5799
|
+
this.grid.columnChooserSettings = getActualProperties(this.columnChooserSettings);
|
|
5800
|
+
break;
|
|
5721
5801
|
case 'enableAdaptiveUI':
|
|
5722
5802
|
this.grid.enableAdaptiveUI = this.enableAdaptiveUI;
|
|
5723
5803
|
break;
|
|
@@ -5765,6 +5845,9 @@ var TreeGrid = /** @__PURE__ @class */ (function (_super) {
|
|
|
5765
5845
|
case 'enableStickyHeader':
|
|
5766
5846
|
this.grid.enableStickyHeader = this.enableStickyHeader;
|
|
5767
5847
|
break;
|
|
5848
|
+
case 'emptyRecordTemplate':
|
|
5849
|
+
this.grid.emptyRecordTemplate = this.emptyRecordTemplate;
|
|
5850
|
+
break;
|
|
5768
5851
|
case 'editSettings':
|
|
5769
5852
|
if (this.grid.isEdit && this.grid.editSettings.mode === 'Normal' && newProp["" + prop].mode &&
|
|
5770
5853
|
(newProp["" + prop].mode === 'Cell' || newProp["" + prop].mode === 'Row')) {
|
|
@@ -7488,9 +7571,17 @@ var TreeGrid = /** @__PURE__ @class */ (function (_super) {
|
|
|
7488
7571
|
}
|
|
7489
7572
|
var deff = new Deferred();
|
|
7490
7573
|
var childDataBind = 'childDataBind';
|
|
7574
|
+
var state;
|
|
7575
|
+
if (this.query) {
|
|
7576
|
+
state = this.grid.getDataModule().getStateEventArgument(this.query);
|
|
7577
|
+
state.action = expandingArgs;
|
|
7578
|
+
}
|
|
7579
|
+
else {
|
|
7580
|
+
state = expandingArgs;
|
|
7581
|
+
}
|
|
7491
7582
|
expandingArgs["" + childDataBind] = deff.resolve;
|
|
7492
7583
|
var record = expandingArgs.data;
|
|
7493
|
-
this.trigger(dataStateChange,
|
|
7584
|
+
this.trigger(dataStateChange, state);
|
|
7494
7585
|
deff.promise.then(function () {
|
|
7495
7586
|
if (expandingArgs.childData.length) {
|
|
7496
7587
|
if (isCountRequired(_this)) {
|
|
@@ -8252,403 +8343,415 @@ var TreeGrid = /** @__PURE__ @class */ (function (_super) {
|
|
|
8252
8343
|
}
|
|
8253
8344
|
};
|
|
8254
8345
|
var TreeGrid_1;
|
|
8255
|
-
__decorate$
|
|
8346
|
+
__decorate$c([
|
|
8256
8347
|
Property(0)
|
|
8257
8348
|
], TreeGrid.prototype, "frozenRows", void 0);
|
|
8258
|
-
__decorate$
|
|
8349
|
+
__decorate$c([
|
|
8259
8350
|
Property(0)
|
|
8260
8351
|
], TreeGrid.prototype, "frozenColumns", void 0);
|
|
8261
|
-
__decorate$
|
|
8352
|
+
__decorate$c([
|
|
8262
8353
|
Property('Ellipsis')
|
|
8263
8354
|
], TreeGrid.prototype, "clipMode", void 0);
|
|
8264
|
-
__decorate$
|
|
8355
|
+
__decorate$c([
|
|
8265
8356
|
Property([])
|
|
8266
8357
|
], TreeGrid.prototype, "columns", void 0);
|
|
8267
|
-
__decorate$
|
|
8358
|
+
__decorate$c([
|
|
8268
8359
|
Property(null)
|
|
8269
8360
|
], TreeGrid.prototype, "childMapping", void 0);
|
|
8270
|
-
__decorate$
|
|
8361
|
+
__decorate$c([
|
|
8271
8362
|
Property(null)
|
|
8272
8363
|
], TreeGrid.prototype, "hasChildMapping", void 0);
|
|
8273
|
-
__decorate$
|
|
8364
|
+
__decorate$c([
|
|
8274
8365
|
Property(0)
|
|
8275
8366
|
], TreeGrid.prototype, "treeColumnIndex", void 0);
|
|
8276
|
-
__decorate$
|
|
8367
|
+
__decorate$c([
|
|
8277
8368
|
Property(null)
|
|
8278
8369
|
], TreeGrid.prototype, "idMapping", void 0);
|
|
8279
|
-
__decorate$
|
|
8370
|
+
__decorate$c([
|
|
8280
8371
|
Property(null)
|
|
8281
8372
|
], TreeGrid.prototype, "parentIdMapping", void 0);
|
|
8282
|
-
__decorate$
|
|
8373
|
+
__decorate$c([
|
|
8283
8374
|
Property(false)
|
|
8284
8375
|
], TreeGrid.prototype, "enableCollapseAll", void 0);
|
|
8285
|
-
__decorate$
|
|
8376
|
+
__decorate$c([
|
|
8286
8377
|
Property(null)
|
|
8287
8378
|
], TreeGrid.prototype, "expandStateMapping", void 0);
|
|
8288
|
-
__decorate$
|
|
8379
|
+
__decorate$c([
|
|
8289
8380
|
Property(false)
|
|
8290
8381
|
], TreeGrid.prototype, "allowRowDragAndDrop", void 0);
|
|
8291
|
-
__decorate$
|
|
8382
|
+
__decorate$c([
|
|
8292
8383
|
Property([])
|
|
8293
8384
|
], TreeGrid.prototype, "dataSource", void 0);
|
|
8294
|
-
__decorate$
|
|
8385
|
+
__decorate$c([
|
|
8295
8386
|
Property()
|
|
8296
8387
|
], TreeGrid.prototype, "query", void 0);
|
|
8297
|
-
__decorate$
|
|
8388
|
+
__decorate$c([
|
|
8298
8389
|
Property()
|
|
8299
8390
|
], TreeGrid.prototype, "cloneQuery", void 0);
|
|
8300
|
-
__decorate$
|
|
8391
|
+
__decorate$c([
|
|
8301
8392
|
Property('AllPages')
|
|
8302
8393
|
], TreeGrid.prototype, "printMode", void 0);
|
|
8303
|
-
__decorate$
|
|
8394
|
+
__decorate$c([
|
|
8304
8395
|
Property(false)
|
|
8305
8396
|
], TreeGrid.prototype, "allowPaging", void 0);
|
|
8306
|
-
__decorate$
|
|
8397
|
+
__decorate$c([
|
|
8307
8398
|
Property(true)
|
|
8308
8399
|
], TreeGrid.prototype, "loadChildOnDemand", void 0);
|
|
8309
|
-
__decorate$
|
|
8400
|
+
__decorate$c([
|
|
8310
8401
|
Property(false)
|
|
8311
8402
|
], TreeGrid.prototype, "allowTextWrap", void 0);
|
|
8312
|
-
__decorate$
|
|
8403
|
+
__decorate$c([
|
|
8313
8404
|
Complex({}, TextWrapSettings)
|
|
8314
8405
|
], TreeGrid.prototype, "textWrapSettings", void 0);
|
|
8315
|
-
__decorate$
|
|
8406
|
+
__decorate$c([
|
|
8316
8407
|
Property(false)
|
|
8317
8408
|
], TreeGrid.prototype, "allowReordering", void 0);
|
|
8318
|
-
__decorate$
|
|
8409
|
+
__decorate$c([
|
|
8319
8410
|
Property(false)
|
|
8320
8411
|
], TreeGrid.prototype, "allowResizing", void 0);
|
|
8321
|
-
__decorate$
|
|
8412
|
+
__decorate$c([
|
|
8322
8413
|
Property(false)
|
|
8323
8414
|
], TreeGrid.prototype, "autoCheckHierarchy", void 0);
|
|
8324
|
-
__decorate$
|
|
8415
|
+
__decorate$c([
|
|
8325
8416
|
Complex({}, PageSettings)
|
|
8326
8417
|
], TreeGrid.prototype, "pageSettings", void 0);
|
|
8327
|
-
__decorate$
|
|
8418
|
+
__decorate$c([
|
|
8328
8419
|
Complex({}, RowDropSettings$1)
|
|
8329
8420
|
], TreeGrid.prototype, "rowDropSettings", void 0);
|
|
8330
|
-
__decorate$
|
|
8421
|
+
__decorate$c([
|
|
8331
8422
|
Property('USD')
|
|
8332
8423
|
], TreeGrid.prototype, "currencyCode", void 0);
|
|
8333
|
-
__decorate$
|
|
8424
|
+
__decorate$c([
|
|
8334
8425
|
Property()
|
|
8335
8426
|
], TreeGrid.prototype, "pagerTemplate", void 0);
|
|
8336
|
-
__decorate$
|
|
8427
|
+
__decorate$c([
|
|
8337
8428
|
Property(false)
|
|
8338
8429
|
], TreeGrid.prototype, "showColumnMenu", void 0);
|
|
8339
|
-
__decorate$
|
|
8430
|
+
__decorate$c([
|
|
8340
8431
|
Property(false)
|
|
8341
8432
|
], TreeGrid.prototype, "showColumnChooser", void 0);
|
|
8342
|
-
__decorate$
|
|
8433
|
+
__decorate$c([
|
|
8434
|
+
Complex({}, ColumnChooserSettings)
|
|
8435
|
+
], TreeGrid.prototype, "columnChooserSettings", void 0);
|
|
8436
|
+
__decorate$c([
|
|
8343
8437
|
Property(false)
|
|
8344
8438
|
], TreeGrid.prototype, "allowSorting", void 0);
|
|
8345
|
-
__decorate$
|
|
8439
|
+
__decorate$c([
|
|
8346
8440
|
Property(true)
|
|
8347
8441
|
], TreeGrid.prototype, "allowMultiSorting", void 0);
|
|
8348
|
-
__decorate$
|
|
8442
|
+
__decorate$c([
|
|
8349
8443
|
Complex({}, SortSettings)
|
|
8350
8444
|
], TreeGrid.prototype, "sortSettings", void 0);
|
|
8351
|
-
__decorate$
|
|
8445
|
+
__decorate$c([
|
|
8352
8446
|
Collection([], AggregateRow)
|
|
8353
8447
|
], TreeGrid.prototype, "aggregates", void 0);
|
|
8354
|
-
__decorate$
|
|
8448
|
+
__decorate$c([
|
|
8355
8449
|
Complex({}, EditSettings)
|
|
8356
8450
|
], TreeGrid.prototype, "editSettings", void 0);
|
|
8357
|
-
__decorate$
|
|
8451
|
+
__decorate$c([
|
|
8358
8452
|
Property(false)
|
|
8359
8453
|
], TreeGrid.prototype, "allowFiltering", void 0);
|
|
8360
|
-
__decorate$
|
|
8454
|
+
__decorate$c([
|
|
8361
8455
|
Property()
|
|
8362
8456
|
], TreeGrid.prototype, "detailTemplate", void 0);
|
|
8363
|
-
__decorate$
|
|
8457
|
+
__decorate$c([
|
|
8364
8458
|
Complex({}, FilterSettings)
|
|
8365
8459
|
], TreeGrid.prototype, "filterSettings", void 0);
|
|
8366
|
-
__decorate$
|
|
8460
|
+
__decorate$c([
|
|
8367
8461
|
Complex({}, SearchSettings)
|
|
8368
8462
|
], TreeGrid.prototype, "searchSettings", void 0);
|
|
8369
|
-
__decorate$
|
|
8463
|
+
__decorate$c([
|
|
8370
8464
|
Property()
|
|
8371
8465
|
], TreeGrid.prototype, "toolbar", void 0);
|
|
8372
|
-
__decorate$
|
|
8466
|
+
__decorate$c([
|
|
8373
8467
|
Property()
|
|
8374
8468
|
], TreeGrid.prototype, "toolbarTemplate", void 0);
|
|
8375
|
-
__decorate$
|
|
8469
|
+
__decorate$c([
|
|
8376
8470
|
Property('Default')
|
|
8377
8471
|
], TreeGrid.prototype, "gridLines", void 0);
|
|
8378
|
-
__decorate$
|
|
8472
|
+
__decorate$c([
|
|
8379
8473
|
Property()
|
|
8380
8474
|
], TreeGrid.prototype, "contextMenuItems", void 0);
|
|
8381
|
-
__decorate$
|
|
8475
|
+
__decorate$c([
|
|
8382
8476
|
Property()
|
|
8383
8477
|
], TreeGrid.prototype, "columnMenuItems", void 0);
|
|
8384
|
-
__decorate$
|
|
8478
|
+
__decorate$c([
|
|
8385
8479
|
Property()
|
|
8386
8480
|
], TreeGrid.prototype, "rowTemplate", void 0);
|
|
8387
|
-
__decorate$
|
|
8481
|
+
__decorate$c([
|
|
8388
8482
|
Property('Parent')
|
|
8389
8483
|
], TreeGrid.prototype, "copyHierarchyMode", void 0);
|
|
8390
|
-
__decorate$
|
|
8484
|
+
__decorate$c([
|
|
8391
8485
|
Property(null)
|
|
8392
8486
|
], TreeGrid.prototype, "rowHeight", void 0);
|
|
8393
|
-
__decorate$
|
|
8487
|
+
__decorate$c([
|
|
8394
8488
|
Property(true)
|
|
8395
8489
|
], TreeGrid.prototype, "enableAltRow", void 0);
|
|
8396
|
-
__decorate$
|
|
8490
|
+
__decorate$c([
|
|
8397
8491
|
Property(true)
|
|
8398
8492
|
], TreeGrid.prototype, "allowKeyboard", void 0);
|
|
8399
|
-
__decorate$
|
|
8493
|
+
__decorate$c([
|
|
8400
8494
|
Property(false)
|
|
8401
8495
|
], TreeGrid.prototype, "enableHover", void 0);
|
|
8402
|
-
__decorate$
|
|
8496
|
+
__decorate$c([
|
|
8403
8497
|
Property(false)
|
|
8404
8498
|
], TreeGrid.prototype, "enableAutoFill", void 0);
|
|
8405
|
-
__decorate$
|
|
8499
|
+
__decorate$c([
|
|
8406
8500
|
Property(false)
|
|
8407
8501
|
], TreeGrid.prototype, "enableAdaptiveUI", void 0);
|
|
8408
|
-
__decorate$
|
|
8502
|
+
__decorate$c([
|
|
8409
8503
|
Property(false)
|
|
8410
8504
|
], TreeGrid.prototype, "enableImmutableMode", void 0);
|
|
8411
|
-
__decorate$
|
|
8505
|
+
__decorate$c([
|
|
8412
8506
|
Property(false)
|
|
8413
8507
|
], TreeGrid.prototype, "enableStickyHeader", void 0);
|
|
8414
|
-
__decorate$
|
|
8508
|
+
__decorate$c([
|
|
8509
|
+
Property()
|
|
8510
|
+
], TreeGrid.prototype, "emptyRecordTemplate", void 0);
|
|
8511
|
+
__decorate$c([
|
|
8415
8512
|
Property('auto')
|
|
8416
8513
|
], TreeGrid.prototype, "height", void 0);
|
|
8417
|
-
__decorate$
|
|
8514
|
+
__decorate$c([
|
|
8418
8515
|
Property('auto')
|
|
8419
8516
|
], TreeGrid.prototype, "width", void 0);
|
|
8420
|
-
__decorate$
|
|
8517
|
+
__decorate$c([
|
|
8421
8518
|
Complex({}, LoadingIndicator)
|
|
8422
8519
|
], TreeGrid.prototype, "loadingIndicator", void 0);
|
|
8423
|
-
__decorate$
|
|
8520
|
+
__decorate$c([
|
|
8424
8521
|
Property(true)
|
|
8425
8522
|
], TreeGrid.prototype, "enableVirtualMaskRow", void 0);
|
|
8426
|
-
__decorate$
|
|
8523
|
+
__decorate$c([
|
|
8427
8524
|
Property(false)
|
|
8428
8525
|
], TreeGrid.prototype, "enableVirtualization", void 0);
|
|
8429
|
-
__decorate$
|
|
8526
|
+
__decorate$c([
|
|
8430
8527
|
Property(false)
|
|
8431
8528
|
], TreeGrid.prototype, "enableColumnVirtualization", void 0);
|
|
8432
|
-
__decorate$
|
|
8529
|
+
__decorate$c([
|
|
8433
8530
|
Property(false)
|
|
8434
8531
|
], TreeGrid.prototype, "enableHtmlSanitizer", void 0);
|
|
8435
|
-
__decorate$
|
|
8532
|
+
__decorate$c([
|
|
8436
8533
|
Property(false)
|
|
8437
8534
|
], TreeGrid.prototype, "enableInfiniteScrolling", void 0);
|
|
8438
|
-
__decorate$
|
|
8535
|
+
__decorate$c([
|
|
8439
8536
|
Complex({}, InfiniteScrollSettings)
|
|
8440
8537
|
], TreeGrid.prototype, "infiniteScrollSettings", void 0);
|
|
8441
|
-
__decorate$
|
|
8538
|
+
__decorate$c([
|
|
8442
8539
|
Property('All')
|
|
8443
8540
|
], TreeGrid.prototype, "columnQueryMode", void 0);
|
|
8444
|
-
__decorate$
|
|
8541
|
+
__decorate$c([
|
|
8445
8542
|
Property(true)
|
|
8446
8543
|
], TreeGrid.prototype, "allowSelection", void 0);
|
|
8447
|
-
__decorate$
|
|
8544
|
+
__decorate$c([
|
|
8448
8545
|
Property(-1)
|
|
8449
8546
|
], TreeGrid.prototype, "selectedRowIndex", void 0);
|
|
8450
|
-
__decorate$
|
|
8547
|
+
__decorate$c([
|
|
8451
8548
|
Complex({}, SelectionSettings)
|
|
8452
8549
|
], TreeGrid.prototype, "selectionSettings", void 0);
|
|
8453
|
-
__decorate$
|
|
8550
|
+
__decorate$c([
|
|
8454
8551
|
Property(false)
|
|
8455
8552
|
], TreeGrid.prototype, "allowExcelExport", void 0);
|
|
8456
|
-
__decorate$
|
|
8553
|
+
__decorate$c([
|
|
8457
8554
|
Property(false)
|
|
8458
8555
|
], TreeGrid.prototype, "allowPdfExport", void 0);
|
|
8459
|
-
__decorate$
|
|
8556
|
+
__decorate$c([
|
|
8460
8557
|
Event()
|
|
8461
8558
|
], TreeGrid.prototype, "created", void 0);
|
|
8462
|
-
__decorate$
|
|
8559
|
+
__decorate$c([
|
|
8463
8560
|
Event()
|
|
8464
8561
|
], TreeGrid.prototype, "load", void 0);
|
|
8465
|
-
__decorate$
|
|
8562
|
+
__decorate$c([
|
|
8466
8563
|
Event()
|
|
8467
8564
|
], TreeGrid.prototype, "expanding", void 0);
|
|
8468
|
-
__decorate$
|
|
8565
|
+
__decorate$c([
|
|
8469
8566
|
Event()
|
|
8470
8567
|
], TreeGrid.prototype, "expanded", void 0);
|
|
8471
|
-
__decorate$
|
|
8568
|
+
__decorate$c([
|
|
8472
8569
|
Event()
|
|
8473
8570
|
], TreeGrid.prototype, "collapsing", void 0);
|
|
8474
|
-
__decorate$
|
|
8571
|
+
__decorate$c([
|
|
8475
8572
|
Event()
|
|
8476
8573
|
], TreeGrid.prototype, "collapsed", void 0);
|
|
8477
|
-
__decorate$
|
|
8574
|
+
__decorate$c([
|
|
8478
8575
|
Event()
|
|
8479
8576
|
], TreeGrid.prototype, "cellSave", void 0);
|
|
8480
|
-
__decorate$
|
|
8577
|
+
__decorate$c([
|
|
8481
8578
|
Event()
|
|
8482
8579
|
], TreeGrid.prototype, "cellSaved", void 0);
|
|
8483
|
-
__decorate$
|
|
8580
|
+
__decorate$c([
|
|
8484
8581
|
Event()
|
|
8485
8582
|
], TreeGrid.prototype, "actionBegin", void 0);
|
|
8486
|
-
__decorate$
|
|
8583
|
+
__decorate$c([
|
|
8487
8584
|
Event()
|
|
8488
8585
|
], TreeGrid.prototype, "actionComplete", void 0);
|
|
8489
|
-
__decorate$
|
|
8586
|
+
__decorate$c([
|
|
8490
8587
|
Event()
|
|
8491
8588
|
], TreeGrid.prototype, "beginEdit", void 0);
|
|
8492
|
-
__decorate$
|
|
8589
|
+
__decorate$c([
|
|
8493
8590
|
Event()
|
|
8494
8591
|
], TreeGrid.prototype, "batchAdd", void 0);
|
|
8495
|
-
__decorate$
|
|
8592
|
+
__decorate$c([
|
|
8496
8593
|
Event()
|
|
8497
8594
|
], TreeGrid.prototype, "batchDelete", void 0);
|
|
8498
|
-
__decorate$
|
|
8595
|
+
__decorate$c([
|
|
8499
8596
|
Event()
|
|
8500
8597
|
], TreeGrid.prototype, "batchCancel", void 0);
|
|
8501
|
-
__decorate$
|
|
8598
|
+
__decorate$c([
|
|
8502
8599
|
Event()
|
|
8503
8600
|
], TreeGrid.prototype, "beforeBatchAdd", void 0);
|
|
8504
|
-
__decorate$
|
|
8601
|
+
__decorate$c([
|
|
8505
8602
|
Event()
|
|
8506
8603
|
], TreeGrid.prototype, "beforeBatchDelete", void 0);
|
|
8507
|
-
__decorate$
|
|
8604
|
+
__decorate$c([
|
|
8508
8605
|
Event()
|
|
8509
8606
|
], TreeGrid.prototype, "beforeBatchSave", void 0);
|
|
8510
|
-
__decorate$
|
|
8607
|
+
__decorate$c([
|
|
8511
8608
|
Event()
|
|
8512
8609
|
], TreeGrid.prototype, "cellEdit", void 0);
|
|
8513
|
-
__decorate$
|
|
8610
|
+
__decorate$c([
|
|
8514
8611
|
Event()
|
|
8515
8612
|
], TreeGrid.prototype, "actionFailure", void 0);
|
|
8516
|
-
__decorate$
|
|
8613
|
+
__decorate$c([
|
|
8517
8614
|
Event()
|
|
8518
8615
|
], TreeGrid.prototype, "dataBound", void 0);
|
|
8519
|
-
__decorate$
|
|
8616
|
+
__decorate$c([
|
|
8520
8617
|
Event()
|
|
8521
8618
|
], TreeGrid.prototype, "dataSourceChanged", void 0);
|
|
8522
|
-
__decorate$
|
|
8619
|
+
__decorate$c([
|
|
8523
8620
|
Event()
|
|
8524
8621
|
], TreeGrid.prototype, "dataStateChange", void 0);
|
|
8525
|
-
__decorate$
|
|
8622
|
+
__decorate$c([
|
|
8526
8623
|
Event()
|
|
8527
8624
|
], TreeGrid.prototype, "recordDoubleClick", void 0);
|
|
8528
|
-
__decorate$
|
|
8625
|
+
__decorate$c([
|
|
8529
8626
|
Event()
|
|
8530
8627
|
], TreeGrid.prototype, "rowDataBound", void 0);
|
|
8531
|
-
__decorate$
|
|
8628
|
+
__decorate$c([
|
|
8532
8629
|
Event()
|
|
8533
8630
|
], TreeGrid.prototype, "detailDataBound", void 0);
|
|
8534
|
-
__decorate$
|
|
8631
|
+
__decorate$c([
|
|
8535
8632
|
Event()
|
|
8536
8633
|
], TreeGrid.prototype, "queryCellInfo", void 0);
|
|
8537
|
-
__decorate$
|
|
8634
|
+
__decorate$c([
|
|
8538
8635
|
Event()
|
|
8539
8636
|
], TreeGrid.prototype, "rowSelecting", void 0);
|
|
8540
|
-
__decorate$
|
|
8637
|
+
__decorate$c([
|
|
8541
8638
|
Event()
|
|
8542
8639
|
], TreeGrid.prototype, "rowSelected", void 0);
|
|
8543
|
-
__decorate$
|
|
8640
|
+
__decorate$c([
|
|
8544
8641
|
Event()
|
|
8545
8642
|
], TreeGrid.prototype, "rowDeselecting", void 0);
|
|
8546
|
-
__decorate$
|
|
8643
|
+
__decorate$c([
|
|
8547
8644
|
Event()
|
|
8548
8645
|
], TreeGrid.prototype, "rowDeselected", void 0);
|
|
8549
|
-
__decorate$
|
|
8646
|
+
__decorate$c([
|
|
8550
8647
|
Event()
|
|
8551
8648
|
], TreeGrid.prototype, "headerCellInfo", void 0);
|
|
8552
|
-
__decorate$
|
|
8649
|
+
__decorate$c([
|
|
8553
8650
|
Event()
|
|
8554
8651
|
], TreeGrid.prototype, "cellSelecting", void 0);
|
|
8555
|
-
__decorate$
|
|
8652
|
+
__decorate$c([
|
|
8556
8653
|
Event()
|
|
8557
8654
|
], TreeGrid.prototype, "columnMenuOpen", void 0);
|
|
8558
|
-
__decorate$
|
|
8655
|
+
__decorate$c([
|
|
8559
8656
|
Event()
|
|
8560
8657
|
], TreeGrid.prototype, "columnMenuClick", void 0);
|
|
8561
|
-
__decorate$
|
|
8658
|
+
__decorate$c([
|
|
8562
8659
|
Event()
|
|
8563
8660
|
], TreeGrid.prototype, "cellSelected", void 0);
|
|
8564
|
-
__decorate$
|
|
8661
|
+
__decorate$c([
|
|
8565
8662
|
Event()
|
|
8566
8663
|
], TreeGrid.prototype, "cellDeselecting", void 0);
|
|
8567
|
-
__decorate$
|
|
8664
|
+
__decorate$c([
|
|
8568
8665
|
Event()
|
|
8569
8666
|
], TreeGrid.prototype, "cellDeselected", void 0);
|
|
8570
|
-
__decorate$
|
|
8667
|
+
__decorate$c([
|
|
8571
8668
|
Event()
|
|
8572
8669
|
], TreeGrid.prototype, "resizeStart", void 0);
|
|
8573
|
-
__decorate$
|
|
8670
|
+
__decorate$c([
|
|
8574
8671
|
Event()
|
|
8575
8672
|
], TreeGrid.prototype, "resizing", void 0);
|
|
8576
|
-
__decorate$
|
|
8673
|
+
__decorate$c([
|
|
8577
8674
|
Event()
|
|
8578
8675
|
], TreeGrid.prototype, "resizeStop", void 0);
|
|
8579
|
-
__decorate$
|
|
8676
|
+
__decorate$c([
|
|
8580
8677
|
Event()
|
|
8581
8678
|
], TreeGrid.prototype, "columnDragStart", void 0);
|
|
8582
|
-
__decorate$
|
|
8679
|
+
__decorate$c([
|
|
8583
8680
|
Event()
|
|
8584
8681
|
], TreeGrid.prototype, "columnDrag", void 0);
|
|
8585
|
-
__decorate$
|
|
8682
|
+
__decorate$c([
|
|
8586
8683
|
Event()
|
|
8587
8684
|
], TreeGrid.prototype, "columnDrop", void 0);
|
|
8588
|
-
__decorate$
|
|
8685
|
+
__decorate$c([
|
|
8589
8686
|
Event()
|
|
8590
8687
|
], TreeGrid.prototype, "checkboxChange", void 0);
|
|
8591
|
-
__decorate$
|
|
8688
|
+
__decorate$c([
|
|
8592
8689
|
Event()
|
|
8593
8690
|
], TreeGrid.prototype, "printComplete", void 0);
|
|
8594
|
-
__decorate$
|
|
8691
|
+
__decorate$c([
|
|
8595
8692
|
Event()
|
|
8596
8693
|
], TreeGrid.prototype, "beforePrint", void 0);
|
|
8597
|
-
__decorate$
|
|
8694
|
+
__decorate$c([
|
|
8598
8695
|
Event()
|
|
8599
8696
|
], TreeGrid.prototype, "toolbarClick", void 0);
|
|
8600
|
-
__decorate$
|
|
8697
|
+
__decorate$c([
|
|
8601
8698
|
Event()
|
|
8602
8699
|
], TreeGrid.prototype, "beforeDataBound", void 0);
|
|
8603
|
-
__decorate$
|
|
8700
|
+
__decorate$c([
|
|
8604
8701
|
Event()
|
|
8605
8702
|
], TreeGrid.prototype, "contextMenuOpen", void 0);
|
|
8606
|
-
__decorate$
|
|
8703
|
+
__decorate$c([
|
|
8607
8704
|
Event()
|
|
8608
8705
|
], TreeGrid.prototype, "contextMenuClick", void 0);
|
|
8609
|
-
__decorate$
|
|
8706
|
+
__decorate$c([
|
|
8610
8707
|
Event()
|
|
8611
8708
|
], TreeGrid.prototype, "beforeCopy", void 0);
|
|
8612
|
-
__decorate$
|
|
8709
|
+
__decorate$c([
|
|
8613
8710
|
Event()
|
|
8614
8711
|
], TreeGrid.prototype, "beforePaste", void 0);
|
|
8615
|
-
__decorate$
|
|
8712
|
+
__decorate$c([
|
|
8616
8713
|
Event()
|
|
8617
8714
|
], TreeGrid.prototype, "rowDrag", void 0);
|
|
8618
|
-
__decorate$
|
|
8715
|
+
__decorate$c([
|
|
8619
8716
|
Event()
|
|
8620
8717
|
], TreeGrid.prototype, "rowDragStart", void 0);
|
|
8621
|
-
__decorate$
|
|
8718
|
+
__decorate$c([
|
|
8622
8719
|
Event()
|
|
8623
8720
|
], TreeGrid.prototype, "rowDragStartHelper", void 0);
|
|
8624
|
-
__decorate$
|
|
8721
|
+
__decorate$c([
|
|
8625
8722
|
Event()
|
|
8626
8723
|
], TreeGrid.prototype, "rowDrop", void 0);
|
|
8627
|
-
__decorate$
|
|
8724
|
+
__decorate$c([
|
|
8628
8725
|
Event()
|
|
8629
8726
|
], TreeGrid.prototype, "pdfQueryCellInfo", void 0);
|
|
8630
|
-
__decorate$
|
|
8727
|
+
__decorate$c([
|
|
8631
8728
|
Event()
|
|
8632
8729
|
], TreeGrid.prototype, "pdfHeaderQueryCellInfo", void 0);
|
|
8633
|
-
__decorate$
|
|
8730
|
+
__decorate$c([
|
|
8634
8731
|
Event()
|
|
8635
8732
|
], TreeGrid.prototype, "excelQueryCellInfo", void 0);
|
|
8636
|
-
__decorate$
|
|
8733
|
+
__decorate$c([
|
|
8734
|
+
Event()
|
|
8735
|
+
], TreeGrid.prototype, "pdfAggregateQueryCellInfo", void 0);
|
|
8736
|
+
__decorate$c([
|
|
8737
|
+
Event()
|
|
8738
|
+
], TreeGrid.prototype, "excelAggregateQueryCellInfo", void 0);
|
|
8739
|
+
__decorate$c([
|
|
8637
8740
|
Event()
|
|
8638
8741
|
], TreeGrid.prototype, "excelHeaderQueryCellInfo", void 0);
|
|
8639
|
-
__decorate$
|
|
8742
|
+
__decorate$c([
|
|
8640
8743
|
Event()
|
|
8641
8744
|
], TreeGrid.prototype, "beforeExcelExport", void 0);
|
|
8642
|
-
__decorate$
|
|
8745
|
+
__decorate$c([
|
|
8643
8746
|
Event()
|
|
8644
8747
|
], TreeGrid.prototype, "excelExportComplete", void 0);
|
|
8645
|
-
__decorate$
|
|
8748
|
+
__decorate$c([
|
|
8646
8749
|
Event()
|
|
8647
8750
|
], TreeGrid.prototype, "beforePdfExport", void 0);
|
|
8648
|
-
__decorate$
|
|
8751
|
+
__decorate$c([
|
|
8649
8752
|
Event()
|
|
8650
8753
|
], TreeGrid.prototype, "pdfExportComplete", void 0);
|
|
8651
|
-
TreeGrid = TreeGrid_1 = __decorate$
|
|
8754
|
+
TreeGrid = TreeGrid_1 = __decorate$c([
|
|
8652
8755
|
NotifyPropertyChanges
|
|
8653
8756
|
], TreeGrid);
|
|
8654
8757
|
return TreeGrid;
|
|
@@ -10631,7 +10734,7 @@ var RowDD = /** @__PURE__ @class */ (function () {
|
|
|
10631
10734
|
return RowDD;
|
|
10632
10735
|
}());
|
|
10633
10736
|
|
|
10634
|
-
var __extends$
|
|
10737
|
+
var __extends$f = (undefined && undefined.__extends) || (function () {
|
|
10635
10738
|
var extendStatics = function (d, b) {
|
|
10636
10739
|
extendStatics = Object.setPrototypeOf ||
|
|
10637
10740
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -10644,7 +10747,7 @@ var __extends$e = (undefined && undefined.__extends) || (function () {
|
|
|
10644
10747
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
10645
10748
|
};
|
|
10646
10749
|
})();
|
|
10647
|
-
var __decorate$
|
|
10750
|
+
var __decorate$d = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
10648
10751
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10649
10752
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10650
10753
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -10654,17 +10757,17 @@ var __decorate$c = (undefined && undefined.__decorate) || function (decorators,
|
|
|
10654
10757
|
* Configures the settings for row dragging and dropping within the TreeGrid, allowing for enhanced user interaction and data manipulation capabilities.
|
|
10655
10758
|
*/
|
|
10656
10759
|
var RowDropSettings = /** @__PURE__ @class */ (function (_super) {
|
|
10657
|
-
__extends$
|
|
10760
|
+
__extends$f(RowDropSettings, _super);
|
|
10658
10761
|
function RowDropSettings() {
|
|
10659
10762
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
10660
10763
|
}
|
|
10661
|
-
__decorate$
|
|
10764
|
+
__decorate$d([
|
|
10662
10765
|
Property()
|
|
10663
10766
|
], RowDropSettings.prototype, "targetID", void 0);
|
|
10664
10767
|
return RowDropSettings;
|
|
10665
10768
|
}(ChildProperty));
|
|
10666
10769
|
|
|
10667
|
-
var __extends$
|
|
10770
|
+
var __extends$g = (undefined && undefined.__extends) || (function () {
|
|
10668
10771
|
var extendStatics = function (d, b) {
|
|
10669
10772
|
extendStatics = Object.setPrototypeOf ||
|
|
10670
10773
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -10683,7 +10786,7 @@ var __extends$f = (undefined && undefined.__extends) || (function () {
|
|
|
10683
10786
|
* @hidden
|
|
10684
10787
|
*/
|
|
10685
10788
|
var TreeVirtualRowModelGenerator = /** @__PURE__ @class */ (function (_super) {
|
|
10686
|
-
__extends$
|
|
10789
|
+
__extends$g(TreeVirtualRowModelGenerator, _super);
|
|
10687
10790
|
function TreeVirtualRowModelGenerator(parent) {
|
|
10688
10791
|
var _this = _super.call(this, parent) || this;
|
|
10689
10792
|
_this.addEventListener();
|
|
@@ -11031,6 +11134,7 @@ var ExcelExport = /** @__PURE__ @class */ (function () {
|
|
|
11031
11134
|
this.parent.on('updateResults', this.updateExcelResultModel, this);
|
|
11032
11135
|
this.parent.on('excelCellInfo', this.excelQueryCellInfo, this);
|
|
11033
11136
|
this.parent.grid.on('export-RowDataBound', this.exportRowDataBound, this);
|
|
11137
|
+
this.parent.on('excelAggregateCellInfo', this.excelAggregateCellInfo, this);
|
|
11034
11138
|
this.parent.grid.on('finalPageSetup', this.finalPageSetup, this);
|
|
11035
11139
|
};
|
|
11036
11140
|
/**
|
|
@@ -11053,6 +11157,7 @@ var ExcelExport = /** @__PURE__ @class */ (function () {
|
|
|
11053
11157
|
this.parent.off('updateResults', this.updateExcelResultModel);
|
|
11054
11158
|
this.parent.off('excelCellInfo', this.excelQueryCellInfo);
|
|
11055
11159
|
this.parent.grid.off('export-RowDataBound', this.exportRowDataBound);
|
|
11160
|
+
this.parent.off('excelAggregateCellInfo', this.excelAggregateCellInfo);
|
|
11056
11161
|
this.parent.grid.off('finalPageSetup', this.finalPageSetup);
|
|
11057
11162
|
};
|
|
11058
11163
|
ExcelExport.prototype.updateExcelResultModel = function (returnResult) {
|
|
@@ -11071,7 +11176,7 @@ var ExcelExport = /** @__PURE__ @class */ (function () {
|
|
|
11071
11176
|
this.isCollapsedStatePersist = excelExportProperties.isCollapsedStatePersist;
|
|
11072
11177
|
}
|
|
11073
11178
|
if (!isNullOrUndefined(excelExportProperties)) {
|
|
11074
|
-
if (!isNullOrUndefined(excelExportProperties.dataSource) && !excelExportProperties.dataSource['dataSource']) {
|
|
11179
|
+
if (!this.isLocal() && !isNullOrUndefined(excelExportProperties.dataSource) && !excelExportProperties.dataSource['dataSource']) {
|
|
11075
11180
|
return this.parent.grid.excelExportModule.Map(this.parent.grid, excelExportProperties, isMultipleExport, workbook, isCsv, isBlob);
|
|
11076
11181
|
}
|
|
11077
11182
|
if (excelExportProperties.exportType === 'CurrentPage') {
|
|
@@ -11180,6 +11285,16 @@ var ExcelExport = /** @__PURE__ @class */ (function () {
|
|
|
11180
11285
|
this.parent.notify('updateResults', args);
|
|
11181
11286
|
this.parent.trigger('excelQueryCellInfo', args);
|
|
11182
11287
|
};
|
|
11288
|
+
/**
|
|
11289
|
+
* TreeGrid Excel Export Aggregate cell modifier
|
|
11290
|
+
*
|
|
11291
|
+
* @param {AggregateQueryCellInfoEventArgs} args - current cell details
|
|
11292
|
+
* @hidden
|
|
11293
|
+
* @returns {void}
|
|
11294
|
+
*/
|
|
11295
|
+
ExcelExport.prototype.excelAggregateCellInfo = function (args) {
|
|
11296
|
+
this.parent.trigger('excelAggregateQueryCellInfo', args);
|
|
11297
|
+
};
|
|
11183
11298
|
ExcelExport.prototype.exportRowDataBound = function (excelRow) {
|
|
11184
11299
|
if (excelRow.type === 'excel') {
|
|
11185
11300
|
var excelrowobj = excelRow.rowObj.data;
|
|
@@ -11249,6 +11364,7 @@ var PdfExport = /** @__PURE__ @class */ (function () {
|
|
|
11249
11364
|
PdfExport.prototype.addEventListener = function () {
|
|
11250
11365
|
this.parent.on('pdfCellInfo', this.pdfQueryCellInfo, this);
|
|
11251
11366
|
this.parent.on('updateResults', this.updatePdfResultModel, this);
|
|
11367
|
+
this.parent.on('pdfAggregateCellInfo', this.pdfAggregateCellInfo, this);
|
|
11252
11368
|
};
|
|
11253
11369
|
/**
|
|
11254
11370
|
* @hidden
|
|
@@ -11260,6 +11376,7 @@ var PdfExport = /** @__PURE__ @class */ (function () {
|
|
|
11260
11376
|
}
|
|
11261
11377
|
this.parent.off('pdfCellInfo', this.pdfQueryCellInfo);
|
|
11262
11378
|
this.parent.off('updateResults', this.updatePdfResultModel);
|
|
11379
|
+
this.parent.off('pdfAggregateCellInfo', this.pdfAggregateCellInfo);
|
|
11263
11380
|
};
|
|
11264
11381
|
/**
|
|
11265
11382
|
* To destroy the PDF Export
|
|
@@ -11375,6 +11492,16 @@ var PdfExport = /** @__PURE__ @class */ (function () {
|
|
|
11375
11492
|
this.parent.notify('updateResults', args);
|
|
11376
11493
|
this.parent.trigger('pdfQueryCellInfo', args);
|
|
11377
11494
|
};
|
|
11495
|
+
/**
|
|
11496
|
+
* TreeGrid PDF Export Aggregate cell modifier
|
|
11497
|
+
*
|
|
11498
|
+
* @param {AggregateQueryCellInfoEventArgs} args - current cell details
|
|
11499
|
+
* @hidden
|
|
11500
|
+
* @returns {void}
|
|
11501
|
+
*/
|
|
11502
|
+
PdfExport.prototype.pdfAggregateCellInfo = function (args) {
|
|
11503
|
+
this.parent.trigger('pdfAggregateQueryCellInfo', args);
|
|
11504
|
+
};
|
|
11378
11505
|
return PdfExport;
|
|
11379
11506
|
}());
|
|
11380
11507
|
|
|
@@ -12231,7 +12358,9 @@ var ContextMenu = /** @__PURE__ @class */ (function () {
|
|
|
12231
12358
|
}
|
|
12232
12359
|
}
|
|
12233
12360
|
tObj.grid.contextMenuModule.contextMenu.hideItems(tObj.grid.contextMenuModule['hiddenItems']);
|
|
12234
|
-
indent
|
|
12361
|
+
if (indent || outdent) {
|
|
12362
|
+
indent.style.display = outdent.style.display = 'none';
|
|
12363
|
+
}
|
|
12235
12364
|
}
|
|
12236
12365
|
}
|
|
12237
12366
|
};
|
|
@@ -14157,7 +14286,7 @@ var DetailRow = /** @__PURE__ @class */ (function () {
|
|
|
14157
14286
|
return DetailRow;
|
|
14158
14287
|
}());
|
|
14159
14288
|
|
|
14160
|
-
var __extends$
|
|
14289
|
+
var __extends$h = (undefined && undefined.__extends) || (function () {
|
|
14161
14290
|
var extendStatics = function (d, b) {
|
|
14162
14291
|
extendStatics = Object.setPrototypeOf ||
|
|
14163
14292
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -14176,7 +14305,7 @@ var __extends$g = (undefined && undefined.__extends) || (function () {
|
|
|
14176
14305
|
* @hidden
|
|
14177
14306
|
*/
|
|
14178
14307
|
var VirtualTreeContentRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
14179
|
-
__extends$
|
|
14308
|
+
__extends$h(VirtualTreeContentRenderer, _super);
|
|
14180
14309
|
function VirtualTreeContentRenderer(parent, locator) {
|
|
14181
14310
|
var _this = _super.call(this, parent, locator) || this;
|
|
14182
14311
|
_this.isExpandCollapse = false;
|
|
@@ -14918,11 +15047,6 @@ var VirtualTreeContentRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
14918
15047
|
(this.parent.pageSettings.pageSize / 2) && (this.endIndex - nextSetResIndex) < (this.parent.pageSettings.pageSize / 2)) {
|
|
14919
15048
|
this.startIndex = lastIndex - (this.parent.pageSettings.pageSize / 2);
|
|
14920
15049
|
}
|
|
14921
|
-
if (currentViewData.length && this.startIndex > currentViewData[0]["" + indexValue] &&
|
|
14922
|
-
((this.startIndex - currentViewData[0]["" + indexValue]) < (this.parent.pageSettings.pageSize / 2)) &&
|
|
14923
|
-
this.parent.selectionModule && this.parent.selectionModule.isRowSelected) {
|
|
14924
|
-
this.startIndex = currentViewData[0]["" + indexValue] + (this.parent.pageSettings.pageSize / 2);
|
|
14925
|
-
}
|
|
14926
15050
|
if (scrollArgs.offset.top > (rowHeight * this.totalRecords)) {
|
|
14927
15051
|
this.translateY = this.getTranslateY(scrollArgs.offset.top, content.getBoundingClientRect().height);
|
|
14928
15052
|
}
|
|
@@ -14954,7 +15078,7 @@ var VirtualTreeContentRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
14954
15078
|
&& !this.parent.dataSource.dataSource.offline && this.parent.dataSource.dataSource.url !== ''))) {
|
|
14955
15079
|
var viewInfo = this.currentInfo = getValue('getInfoFromView', this).apply(this, [scrollArgs.direction, info, scrollArgs.offset]);
|
|
14956
15080
|
this.previousInfo = viewInfo;
|
|
14957
|
-
if (this.prevInfo && ((info.axis === 'Y' && this.prevInfo.blockIndexes.toString() === viewInfo.blockIndexes.toString())
|
|
15081
|
+
if (this.prevInfo && (isRemoteData(this.parent.root) && viewInfo.event !== 'model-changed') && ((info.axis === 'Y' && this.prevInfo.blockIndexes.toString() === viewInfo.blockIndexes.toString())
|
|
14958
15082
|
|| ((info.axis === 'X' && this.prevInfo.columnIndexes.toString() === viewInfo.columnIndexes.toString())
|
|
14959
15083
|
|| (this.parent.isFrozenGrid() && this.parent.getVisibleFrozenLeftCount() >= viewInfo.columnIndexes[0]
|
|
14960
15084
|
&& this.prevInfo.columnIndexes.toString().includes(viewInfo.columnIndexes.toString()))))) {
|
|
@@ -14972,9 +15096,9 @@ var VirtualTreeContentRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
14972
15096
|
this.parent.setColumnIndexesInView(this.parent.enableColumnVirtualization ? viewInfo.columnIndexes : []);
|
|
14973
15097
|
var page = viewInfo.loadNext && !viewInfo.loadSelf ? viewInfo.nextInfo.page : viewInfo.page;
|
|
14974
15098
|
this.parent.setProperties({ pageSettings: { currentPage: page } }, true);
|
|
14975
|
-
if (downScroll && this.endIndex === this.totalRecords && viewInfo.loadNext) {
|
|
14976
|
-
|
|
14977
|
-
}
|
|
15099
|
+
// if (downScroll && this.endIndex === this.totalRecords && viewInfo.loadNext) {
|
|
15100
|
+
// viewInfo.loadNext = false;
|
|
15101
|
+
// }
|
|
14978
15102
|
this.requestType = 'virtualscroll';
|
|
14979
15103
|
if (scrollArgs.direction !== 'right' && scrollArgs.direction !== 'left' && !isRemoteData(this.parent.root)) {
|
|
14980
15104
|
viewInfo.event = viewInfo.event === 'refresh-virtual-block' ? 'model-changed' : viewInfo.event;
|
|
@@ -15136,7 +15260,7 @@ var VirtualTreeContentRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
15136
15260
|
return VirtualTreeContentRenderer;
|
|
15137
15261
|
}(VirtualContentRenderer));
|
|
15138
15262
|
var TreeInterSectionObserver = /** @__PURE__ @class */ (function (_super) {
|
|
15139
|
-
__extends$
|
|
15263
|
+
__extends$h(TreeInterSectionObserver, _super);
|
|
15140
15264
|
function TreeInterSectionObserver() {
|
|
15141
15265
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
15142
15266
|
_this.isWheeling = false;
|
|
@@ -15263,7 +15387,7 @@ var TreeInterSectionObserver = /** @__PURE__ @class */ (function (_super) {
|
|
|
15263
15387
|
return TreeInterSectionObserver;
|
|
15264
15388
|
}(InterSectionObserver));
|
|
15265
15389
|
|
|
15266
|
-
var __extends$
|
|
15390
|
+
var __extends$i = (undefined && undefined.__extends) || (function () {
|
|
15267
15391
|
var extendStatics = function (d, b) {
|
|
15268
15392
|
extendStatics = Object.setPrototypeOf ||
|
|
15269
15393
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -15419,8 +15543,8 @@ var VirtualScroll = /** @__PURE__ @class */ (function () {
|
|
|
15419
15543
|
if (this.setEndIndexToGantt) {
|
|
15420
15544
|
this.ganttEndIndex = counts.endIndex;
|
|
15421
15545
|
}
|
|
15422
|
-
if ((counts.endIndex + this.parent.pageSettings.pageSize >= counts.count &&
|
|
15423
|
-
|| !(this.parent['isGantt'] && this.parent['isAddedFromGantt'])) {
|
|
15546
|
+
if (((counts.endIndex + this.parent.pageSettings.pageSize >= counts.count) &&
|
|
15547
|
+
(this.parent.root && counts.count !== this.ganttEndIndex) && this.parent['isAddedFromGantt']) || !(this.parent['isGantt'] && this.parent['isAddedFromGantt'])) {
|
|
15424
15548
|
startIndex = counts.startIndex + (counts.count - counts.endIndex);
|
|
15425
15549
|
endIndex = counts.count;
|
|
15426
15550
|
this.setEndIndexToGantt = false;
|
|
@@ -15526,7 +15650,7 @@ var VirtualScroll = /** @__PURE__ @class */ (function () {
|
|
|
15526
15650
|
return VirtualScroll;
|
|
15527
15651
|
}());
|
|
15528
15652
|
var TreeVirtual = /** @__PURE__ @class */ (function (_super) {
|
|
15529
|
-
__extends$
|
|
15653
|
+
__extends$i(TreeVirtual, _super);
|
|
15530
15654
|
function TreeVirtual(parent, locator) {
|
|
15531
15655
|
var _this = _super.call(this, parent, locator) || this;
|
|
15532
15656
|
getValue('parent', _this).off('initial-load', getValue('instantiateRenderer', _this), _this);
|
|
@@ -15615,7 +15739,7 @@ var Freeze = /** @__PURE__ @class */ (function () {
|
|
|
15615
15739
|
}
|
|
15616
15740
|
for (var i = 0; i < rows.length; i++) {
|
|
15617
15741
|
var row = rows[parseInt(i.toString(), 10)];
|
|
15618
|
-
var rData = this.parent.grid.getRowObjectFromUID(row.getAttribute('data-
|
|
15742
|
+
var rData = this.parent.grid.getRowObjectFromUID(row.getAttribute('data-uid')).data;
|
|
15619
15743
|
if (!isNullOrUndefined(movableRows) && row.parentElement.firstElementChild.clientHeight > 0) {
|
|
15620
15744
|
row.style.height = row.parentElement.firstElementChild.clientHeight + 'px';
|
|
15621
15745
|
}
|