@syncfusion/ej2-treegrid 30.2.4 → 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/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 +263 -157
- package/dist/es6/ej2-treegrid.es2015.js.map +1 -1
- package/dist/es6/ej2-treegrid.es5.js +291 -167
- 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 +12 -0
- 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 +3 -8
- package/src/treegrid/utils.js +22 -6
|
@@ -657,13 +657,29 @@ class TreeClipboard extends Clipboard {
|
|
|
657
657
|
* @returns {boolean} - Specifies whether remote data binding
|
|
658
658
|
*/
|
|
659
659
|
function isRemoteData(parent) {
|
|
660
|
-
if (parent
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
660
|
+
if (parent['treeGrid'] && parent['treeGrid']['isGantt']) {
|
|
661
|
+
if (parent['taskFields'].hasChildMapping) {
|
|
662
|
+
if (parent.dataSource instanceof DataManager) {
|
|
663
|
+
const adaptor = parent.dataSource.adaptor;
|
|
664
|
+
return (adaptor instanceof ODataAdaptor ||
|
|
665
|
+
(adaptor instanceof WebApiAdaptor) || (adaptor instanceof WebMethodAdaptor) ||
|
|
666
|
+
(adaptor instanceof CacheAdaptor) || adaptor instanceof UrlAdaptor);
|
|
667
|
+
}
|
|
668
|
+
return false;
|
|
669
|
+
}
|
|
670
|
+
else {
|
|
671
|
+
return false;
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
else {
|
|
675
|
+
if (parent.dataSource instanceof DataManager) {
|
|
676
|
+
const adaptor = parent.dataSource.adaptor;
|
|
677
|
+
return (adaptor instanceof ODataAdaptor ||
|
|
678
|
+
(adaptor instanceof WebApiAdaptor) || (adaptor instanceof WebMethodAdaptor) ||
|
|
679
|
+
(adaptor instanceof CacheAdaptor) || adaptor instanceof UrlAdaptor);
|
|
680
|
+
}
|
|
681
|
+
return false;
|
|
665
682
|
}
|
|
666
|
-
return false;
|
|
667
683
|
}
|
|
668
684
|
/**
|
|
669
685
|
* @param {TreeGrid | IGrid} parent - Tree Grid or Grid instance
|
|
@@ -954,7 +970,7 @@ class Selection {
|
|
|
954
970
|
const headerCelllength = this.parent.getHeaderContent().querySelectorAll('.e-headercelldiv').length;
|
|
955
971
|
for (let j = 0; j < headerCelllength; j++) {
|
|
956
972
|
const headercell = this.parent.getHeaderContent().querySelectorAll('.e-headercelldiv')[parseInt(j.toString(), 10)];
|
|
957
|
-
if (headercell.getAttribute('
|
|
973
|
+
if (headercell.getAttribute('data-mappinguid') === mappingUid) {
|
|
958
974
|
columnIndex = j;
|
|
959
975
|
}
|
|
960
976
|
}
|
|
@@ -2195,7 +2211,7 @@ class DataManipulation {
|
|
|
2195
2211
|
const targetEle = rowDetails.rows[parseInt(i.toString(), 10)].getElementsByClassName('e-treegridcollapse')[0];
|
|
2196
2212
|
childRecord = this.parent.rowTemplate ?
|
|
2197
2213
|
this.parent.grid.getCurrentViewRecords()[rowDetails.rows[parseInt(i.toString(), 10)].rowIndex] :
|
|
2198
|
-
this.parent.grid.getRowObjectFromUID(rowDetails.rows[parseInt(i.toString(), 10)].getAttribute('data-
|
|
2214
|
+
this.parent.grid.getRowObjectFromUID(rowDetails.rows[parseInt(i.toString(), 10)].getAttribute('data-uid')).data;
|
|
2199
2215
|
if (!isNullOrUndefined(targetEle) && childRecord.expanded) {
|
|
2200
2216
|
addClass([targetEle], 'e-treegridexpand');
|
|
2201
2217
|
removeClass([targetEle], 'e-treegridcollapse');
|
|
@@ -3461,6 +3477,39 @@ var __decorate$b = (undefined && undefined.__decorate) || function (decorators,
|
|
|
3461
3477
|
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;
|
|
3462
3478
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
3463
3479
|
};
|
|
3480
|
+
/**
|
|
3481
|
+
* Configures the column chooser behavior of the Grid.
|
|
3482
|
+
*/
|
|
3483
|
+
class ColumnChooserSettings extends ChildProperty {
|
|
3484
|
+
}
|
|
3485
|
+
__decorate$b([
|
|
3486
|
+
Property('startsWith')
|
|
3487
|
+
], ColumnChooserSettings.prototype, "operator", void 0);
|
|
3488
|
+
__decorate$b([
|
|
3489
|
+
Property(false)
|
|
3490
|
+
], ColumnChooserSettings.prototype, "ignoreAccent", void 0);
|
|
3491
|
+
__decorate$b([
|
|
3492
|
+
Property(null)
|
|
3493
|
+
], ColumnChooserSettings.prototype, "headerTemplate", void 0);
|
|
3494
|
+
__decorate$b([
|
|
3495
|
+
Property(null)
|
|
3496
|
+
], ColumnChooserSettings.prototype, "template", void 0);
|
|
3497
|
+
__decorate$b([
|
|
3498
|
+
Property(null)
|
|
3499
|
+
], ColumnChooserSettings.prototype, "footerTemplate", void 0);
|
|
3500
|
+
__decorate$b([
|
|
3501
|
+
Property(true)
|
|
3502
|
+
], ColumnChooserSettings.prototype, "enableSearching", void 0);
|
|
3503
|
+
__decorate$b([
|
|
3504
|
+
Property(null)
|
|
3505
|
+
], ColumnChooserSettings.prototype, "renderCustomColumnChooser", void 0);
|
|
3506
|
+
|
|
3507
|
+
var __decorate$c = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
3508
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3509
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
3510
|
+
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;
|
|
3511
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
3512
|
+
};
|
|
3464
3513
|
var TreeGrid_1;
|
|
3465
3514
|
/**
|
|
3466
3515
|
* Represents the TreeGrid component.
|
|
@@ -4320,7 +4369,7 @@ let TreeGrid = TreeGrid_1 = class TreeGrid extends Component {
|
|
|
4320
4369
|
}
|
|
4321
4370
|
}
|
|
4322
4371
|
let alignColumn;
|
|
4323
|
-
if (this.treeColumnIndex !== null && this.treeColumnIndex !== -1) {
|
|
4372
|
+
if (this.treeColumnIndex !== null && this.treeColumnIndex !== -1 && this.treeColumnIndex < this.columns.length) {
|
|
4324
4373
|
alignColumn = this.columnModel.filter((col) => col.textAlign === 'Right' && col.field === this.columnModel[this.treeColumnIndex].field);
|
|
4325
4374
|
if (alignColumn.length !== 0) {
|
|
4326
4375
|
failureCases.push('TextAlign right for the tree column is not applicable.');
|
|
@@ -4427,6 +4476,7 @@ let TreeGrid = TreeGrid_1 = class TreeGrid extends Component {
|
|
|
4427
4476
|
/* eslint-disable-next-line @typescript-eslint/no-explicit-any */
|
|
4428
4477
|
this.grid.toolbarTemplate = this.toolbarTemplate;
|
|
4429
4478
|
this.grid.showColumnChooser = this.showColumnChooser;
|
|
4479
|
+
this.grid.columnChooserSettings = this.columnChooserSettings;
|
|
4430
4480
|
this.grid.filterSettings = getActualProperties(this.filterSettings);
|
|
4431
4481
|
this.grid.selectionSettings = getActualProperties(this.selectionSettings);
|
|
4432
4482
|
this.grid.sortSettings = getActualProperties(this.sortSettings);
|
|
@@ -4454,6 +4504,7 @@ let TreeGrid = TreeGrid_1 = class TreeGrid extends Component {
|
|
|
4454
4504
|
const enableHtmlSanitizer = 'enableHtmlSanitizer';
|
|
4455
4505
|
this.grid[`${enableHtmlSanitizer}`] = this.enableHtmlSanitizer;
|
|
4456
4506
|
this.grid.enableStickyHeader = this.enableStickyHeader;
|
|
4507
|
+
this.grid.emptyRecordTemplate = this.emptyRecordTemplate;
|
|
4457
4508
|
const isTreeGrid = 'isTreeGrid';
|
|
4458
4509
|
this.grid[`${isTreeGrid}`] = true;
|
|
4459
4510
|
}
|
|
@@ -4519,6 +4570,14 @@ let TreeGrid = TreeGrid_1 = class TreeGrid extends Component {
|
|
|
4519
4570
|
this.notify('excelCellInfo', args);
|
|
4520
4571
|
args = this.dataResults;
|
|
4521
4572
|
};
|
|
4573
|
+
this.grid.excelAggregateQueryCellInfo = (args) => {
|
|
4574
|
+
this.notify('excelAggregateCellInfo', args);
|
|
4575
|
+
args = this.dataResults;
|
|
4576
|
+
};
|
|
4577
|
+
this.grid.pdfAggregateQueryCellInfo = (args) => {
|
|
4578
|
+
this.notify('pdfAggregateCellInfo', args);
|
|
4579
|
+
args = this.dataResults;
|
|
4580
|
+
};
|
|
4522
4581
|
this.grid.pdfQueryCellInfo = (args) => {
|
|
4523
4582
|
this.notify('pdfCellInfo', args);
|
|
4524
4583
|
args = this.dataResults;
|
|
@@ -5403,6 +5462,9 @@ let TreeGrid = TreeGrid_1 = class TreeGrid extends Component {
|
|
|
5403
5462
|
case 'enableAutoFill':
|
|
5404
5463
|
this.grid.enableAutoFill = this.enableAutoFill;
|
|
5405
5464
|
break;
|
|
5465
|
+
case 'columnChooserSettings':
|
|
5466
|
+
this.grid.columnChooserSettings = getActualProperties(this.columnChooserSettings);
|
|
5467
|
+
break;
|
|
5406
5468
|
case 'enableAdaptiveUI':
|
|
5407
5469
|
this.grid.enableAdaptiveUI = this.enableAdaptiveUI;
|
|
5408
5470
|
break;
|
|
@@ -5450,6 +5512,9 @@ let TreeGrid = TreeGrid_1 = class TreeGrid extends Component {
|
|
|
5450
5512
|
case 'enableStickyHeader':
|
|
5451
5513
|
this.grid.enableStickyHeader = this.enableStickyHeader;
|
|
5452
5514
|
break;
|
|
5515
|
+
case 'emptyRecordTemplate':
|
|
5516
|
+
this.grid.emptyRecordTemplate = this.emptyRecordTemplate;
|
|
5517
|
+
break;
|
|
5453
5518
|
case 'editSettings':
|
|
5454
5519
|
if (this.grid.isEdit && this.grid.editSettings.mode === 'Normal' && newProp[`${prop}`].mode &&
|
|
5455
5520
|
(newProp[`${prop}`].mode === 'Cell' || newProp[`${prop}`].mode === 'Row')) {
|
|
@@ -7156,9 +7221,17 @@ let TreeGrid = TreeGrid_1 = class TreeGrid extends Component {
|
|
|
7156
7221
|
}
|
|
7157
7222
|
const deff = new Deferred();
|
|
7158
7223
|
const childDataBind = 'childDataBind';
|
|
7224
|
+
let state;
|
|
7225
|
+
if (this.query) {
|
|
7226
|
+
state = this.grid.getDataModule().getStateEventArgument(this.query);
|
|
7227
|
+
state.action = expandingArgs;
|
|
7228
|
+
}
|
|
7229
|
+
else {
|
|
7230
|
+
state = expandingArgs;
|
|
7231
|
+
}
|
|
7159
7232
|
expandingArgs[`${childDataBind}`] = deff.resolve;
|
|
7160
7233
|
const record = expandingArgs.data;
|
|
7161
|
-
this.trigger(dataStateChange,
|
|
7234
|
+
this.trigger(dataStateChange, state);
|
|
7162
7235
|
deff.promise.then(() => {
|
|
7163
7236
|
if (expandingArgs.childData.length) {
|
|
7164
7237
|
if (isCountRequired(this)) {
|
|
@@ -7906,403 +7979,415 @@ let TreeGrid = TreeGrid_1 = class TreeGrid extends Component {
|
|
|
7906
7979
|
}
|
|
7907
7980
|
}
|
|
7908
7981
|
};
|
|
7909
|
-
__decorate$
|
|
7982
|
+
__decorate$c([
|
|
7910
7983
|
Property(0)
|
|
7911
7984
|
], TreeGrid.prototype, "frozenRows", void 0);
|
|
7912
|
-
__decorate$
|
|
7985
|
+
__decorate$c([
|
|
7913
7986
|
Property(0)
|
|
7914
7987
|
], TreeGrid.prototype, "frozenColumns", void 0);
|
|
7915
|
-
__decorate$
|
|
7988
|
+
__decorate$c([
|
|
7916
7989
|
Property('Ellipsis')
|
|
7917
7990
|
], TreeGrid.prototype, "clipMode", void 0);
|
|
7918
|
-
__decorate$
|
|
7991
|
+
__decorate$c([
|
|
7919
7992
|
Property([])
|
|
7920
7993
|
], TreeGrid.prototype, "columns", void 0);
|
|
7921
|
-
__decorate$
|
|
7994
|
+
__decorate$c([
|
|
7922
7995
|
Property(null)
|
|
7923
7996
|
], TreeGrid.prototype, "childMapping", void 0);
|
|
7924
|
-
__decorate$
|
|
7997
|
+
__decorate$c([
|
|
7925
7998
|
Property(null)
|
|
7926
7999
|
], TreeGrid.prototype, "hasChildMapping", void 0);
|
|
7927
|
-
__decorate$
|
|
8000
|
+
__decorate$c([
|
|
7928
8001
|
Property(0)
|
|
7929
8002
|
], TreeGrid.prototype, "treeColumnIndex", void 0);
|
|
7930
|
-
__decorate$
|
|
8003
|
+
__decorate$c([
|
|
7931
8004
|
Property(null)
|
|
7932
8005
|
], TreeGrid.prototype, "idMapping", void 0);
|
|
7933
|
-
__decorate$
|
|
8006
|
+
__decorate$c([
|
|
7934
8007
|
Property(null)
|
|
7935
8008
|
], TreeGrid.prototype, "parentIdMapping", void 0);
|
|
7936
|
-
__decorate$
|
|
8009
|
+
__decorate$c([
|
|
7937
8010
|
Property(false)
|
|
7938
8011
|
], TreeGrid.prototype, "enableCollapseAll", void 0);
|
|
7939
|
-
__decorate$
|
|
8012
|
+
__decorate$c([
|
|
7940
8013
|
Property(null)
|
|
7941
8014
|
], TreeGrid.prototype, "expandStateMapping", void 0);
|
|
7942
|
-
__decorate$
|
|
8015
|
+
__decorate$c([
|
|
7943
8016
|
Property(false)
|
|
7944
8017
|
], TreeGrid.prototype, "allowRowDragAndDrop", void 0);
|
|
7945
|
-
__decorate$
|
|
8018
|
+
__decorate$c([
|
|
7946
8019
|
Property([])
|
|
7947
8020
|
], TreeGrid.prototype, "dataSource", void 0);
|
|
7948
|
-
__decorate$
|
|
8021
|
+
__decorate$c([
|
|
7949
8022
|
Property()
|
|
7950
8023
|
], TreeGrid.prototype, "query", void 0);
|
|
7951
|
-
__decorate$
|
|
8024
|
+
__decorate$c([
|
|
7952
8025
|
Property()
|
|
7953
8026
|
], TreeGrid.prototype, "cloneQuery", void 0);
|
|
7954
|
-
__decorate$
|
|
8027
|
+
__decorate$c([
|
|
7955
8028
|
Property('AllPages')
|
|
7956
8029
|
], TreeGrid.prototype, "printMode", void 0);
|
|
7957
|
-
__decorate$
|
|
8030
|
+
__decorate$c([
|
|
7958
8031
|
Property(false)
|
|
7959
8032
|
], TreeGrid.prototype, "allowPaging", void 0);
|
|
7960
|
-
__decorate$
|
|
8033
|
+
__decorate$c([
|
|
7961
8034
|
Property(true)
|
|
7962
8035
|
], TreeGrid.prototype, "loadChildOnDemand", void 0);
|
|
7963
|
-
__decorate$
|
|
8036
|
+
__decorate$c([
|
|
7964
8037
|
Property(false)
|
|
7965
8038
|
], TreeGrid.prototype, "allowTextWrap", void 0);
|
|
7966
|
-
__decorate$
|
|
8039
|
+
__decorate$c([
|
|
7967
8040
|
Complex({}, TextWrapSettings)
|
|
7968
8041
|
], TreeGrid.prototype, "textWrapSettings", void 0);
|
|
7969
|
-
__decorate$
|
|
8042
|
+
__decorate$c([
|
|
7970
8043
|
Property(false)
|
|
7971
8044
|
], TreeGrid.prototype, "allowReordering", void 0);
|
|
7972
|
-
__decorate$
|
|
8045
|
+
__decorate$c([
|
|
7973
8046
|
Property(false)
|
|
7974
8047
|
], TreeGrid.prototype, "allowResizing", void 0);
|
|
7975
|
-
__decorate$
|
|
8048
|
+
__decorate$c([
|
|
7976
8049
|
Property(false)
|
|
7977
8050
|
], TreeGrid.prototype, "autoCheckHierarchy", void 0);
|
|
7978
|
-
__decorate$
|
|
8051
|
+
__decorate$c([
|
|
7979
8052
|
Complex({}, PageSettings)
|
|
7980
8053
|
], TreeGrid.prototype, "pageSettings", void 0);
|
|
7981
|
-
__decorate$
|
|
8054
|
+
__decorate$c([
|
|
7982
8055
|
Complex({}, RowDropSettings$1)
|
|
7983
8056
|
], TreeGrid.prototype, "rowDropSettings", void 0);
|
|
7984
|
-
__decorate$
|
|
8057
|
+
__decorate$c([
|
|
7985
8058
|
Property('USD')
|
|
7986
8059
|
], TreeGrid.prototype, "currencyCode", void 0);
|
|
7987
|
-
__decorate$
|
|
8060
|
+
__decorate$c([
|
|
7988
8061
|
Property()
|
|
7989
8062
|
], TreeGrid.prototype, "pagerTemplate", void 0);
|
|
7990
|
-
__decorate$
|
|
8063
|
+
__decorate$c([
|
|
7991
8064
|
Property(false)
|
|
7992
8065
|
], TreeGrid.prototype, "showColumnMenu", void 0);
|
|
7993
|
-
__decorate$
|
|
8066
|
+
__decorate$c([
|
|
7994
8067
|
Property(false)
|
|
7995
8068
|
], TreeGrid.prototype, "showColumnChooser", void 0);
|
|
7996
|
-
__decorate$
|
|
8069
|
+
__decorate$c([
|
|
8070
|
+
Complex({}, ColumnChooserSettings)
|
|
8071
|
+
], TreeGrid.prototype, "columnChooserSettings", void 0);
|
|
8072
|
+
__decorate$c([
|
|
7997
8073
|
Property(false)
|
|
7998
8074
|
], TreeGrid.prototype, "allowSorting", void 0);
|
|
7999
|
-
__decorate$
|
|
8075
|
+
__decorate$c([
|
|
8000
8076
|
Property(true)
|
|
8001
8077
|
], TreeGrid.prototype, "allowMultiSorting", void 0);
|
|
8002
|
-
__decorate$
|
|
8078
|
+
__decorate$c([
|
|
8003
8079
|
Complex({}, SortSettings)
|
|
8004
8080
|
], TreeGrid.prototype, "sortSettings", void 0);
|
|
8005
|
-
__decorate$
|
|
8081
|
+
__decorate$c([
|
|
8006
8082
|
Collection([], AggregateRow)
|
|
8007
8083
|
], TreeGrid.prototype, "aggregates", void 0);
|
|
8008
|
-
__decorate$
|
|
8084
|
+
__decorate$c([
|
|
8009
8085
|
Complex({}, EditSettings)
|
|
8010
8086
|
], TreeGrid.prototype, "editSettings", void 0);
|
|
8011
|
-
__decorate$
|
|
8087
|
+
__decorate$c([
|
|
8012
8088
|
Property(false)
|
|
8013
8089
|
], TreeGrid.prototype, "allowFiltering", void 0);
|
|
8014
|
-
__decorate$
|
|
8090
|
+
__decorate$c([
|
|
8015
8091
|
Property()
|
|
8016
8092
|
], TreeGrid.prototype, "detailTemplate", void 0);
|
|
8017
|
-
__decorate$
|
|
8093
|
+
__decorate$c([
|
|
8018
8094
|
Complex({}, FilterSettings)
|
|
8019
8095
|
], TreeGrid.prototype, "filterSettings", void 0);
|
|
8020
|
-
__decorate$
|
|
8096
|
+
__decorate$c([
|
|
8021
8097
|
Complex({}, SearchSettings)
|
|
8022
8098
|
], TreeGrid.prototype, "searchSettings", void 0);
|
|
8023
|
-
__decorate$
|
|
8099
|
+
__decorate$c([
|
|
8024
8100
|
Property()
|
|
8025
8101
|
], TreeGrid.prototype, "toolbar", void 0);
|
|
8026
|
-
__decorate$
|
|
8102
|
+
__decorate$c([
|
|
8027
8103
|
Property()
|
|
8028
8104
|
], TreeGrid.prototype, "toolbarTemplate", void 0);
|
|
8029
|
-
__decorate$
|
|
8105
|
+
__decorate$c([
|
|
8030
8106
|
Property('Default')
|
|
8031
8107
|
], TreeGrid.prototype, "gridLines", void 0);
|
|
8032
|
-
__decorate$
|
|
8108
|
+
__decorate$c([
|
|
8033
8109
|
Property()
|
|
8034
8110
|
], TreeGrid.prototype, "contextMenuItems", void 0);
|
|
8035
|
-
__decorate$
|
|
8111
|
+
__decorate$c([
|
|
8036
8112
|
Property()
|
|
8037
8113
|
], TreeGrid.prototype, "columnMenuItems", void 0);
|
|
8038
|
-
__decorate$
|
|
8114
|
+
__decorate$c([
|
|
8039
8115
|
Property()
|
|
8040
8116
|
], TreeGrid.prototype, "rowTemplate", void 0);
|
|
8041
|
-
__decorate$
|
|
8117
|
+
__decorate$c([
|
|
8042
8118
|
Property('Parent')
|
|
8043
8119
|
], TreeGrid.prototype, "copyHierarchyMode", void 0);
|
|
8044
|
-
__decorate$
|
|
8120
|
+
__decorate$c([
|
|
8045
8121
|
Property(null)
|
|
8046
8122
|
], TreeGrid.prototype, "rowHeight", void 0);
|
|
8047
|
-
__decorate$
|
|
8123
|
+
__decorate$c([
|
|
8048
8124
|
Property(true)
|
|
8049
8125
|
], TreeGrid.prototype, "enableAltRow", void 0);
|
|
8050
|
-
__decorate$
|
|
8126
|
+
__decorate$c([
|
|
8051
8127
|
Property(true)
|
|
8052
8128
|
], TreeGrid.prototype, "allowKeyboard", void 0);
|
|
8053
|
-
__decorate$
|
|
8129
|
+
__decorate$c([
|
|
8054
8130
|
Property(false)
|
|
8055
8131
|
], TreeGrid.prototype, "enableHover", void 0);
|
|
8056
|
-
__decorate$
|
|
8132
|
+
__decorate$c([
|
|
8057
8133
|
Property(false)
|
|
8058
8134
|
], TreeGrid.prototype, "enableAutoFill", void 0);
|
|
8059
|
-
__decorate$
|
|
8135
|
+
__decorate$c([
|
|
8060
8136
|
Property(false)
|
|
8061
8137
|
], TreeGrid.prototype, "enableAdaptiveUI", void 0);
|
|
8062
|
-
__decorate$
|
|
8138
|
+
__decorate$c([
|
|
8063
8139
|
Property(false)
|
|
8064
8140
|
], TreeGrid.prototype, "enableImmutableMode", void 0);
|
|
8065
|
-
__decorate$
|
|
8141
|
+
__decorate$c([
|
|
8066
8142
|
Property(false)
|
|
8067
8143
|
], TreeGrid.prototype, "enableStickyHeader", void 0);
|
|
8068
|
-
__decorate$
|
|
8144
|
+
__decorate$c([
|
|
8145
|
+
Property()
|
|
8146
|
+
], TreeGrid.prototype, "emptyRecordTemplate", void 0);
|
|
8147
|
+
__decorate$c([
|
|
8069
8148
|
Property('auto')
|
|
8070
8149
|
], TreeGrid.prototype, "height", void 0);
|
|
8071
|
-
__decorate$
|
|
8150
|
+
__decorate$c([
|
|
8072
8151
|
Property('auto')
|
|
8073
8152
|
], TreeGrid.prototype, "width", void 0);
|
|
8074
|
-
__decorate$
|
|
8153
|
+
__decorate$c([
|
|
8075
8154
|
Complex({}, LoadingIndicator)
|
|
8076
8155
|
], TreeGrid.prototype, "loadingIndicator", void 0);
|
|
8077
|
-
__decorate$
|
|
8156
|
+
__decorate$c([
|
|
8078
8157
|
Property(true)
|
|
8079
8158
|
], TreeGrid.prototype, "enableVirtualMaskRow", void 0);
|
|
8080
|
-
__decorate$
|
|
8159
|
+
__decorate$c([
|
|
8081
8160
|
Property(false)
|
|
8082
8161
|
], TreeGrid.prototype, "enableVirtualization", void 0);
|
|
8083
|
-
__decorate$
|
|
8162
|
+
__decorate$c([
|
|
8084
8163
|
Property(false)
|
|
8085
8164
|
], TreeGrid.prototype, "enableColumnVirtualization", void 0);
|
|
8086
|
-
__decorate$
|
|
8165
|
+
__decorate$c([
|
|
8087
8166
|
Property(false)
|
|
8088
8167
|
], TreeGrid.prototype, "enableHtmlSanitizer", void 0);
|
|
8089
|
-
__decorate$
|
|
8168
|
+
__decorate$c([
|
|
8090
8169
|
Property(false)
|
|
8091
8170
|
], TreeGrid.prototype, "enableInfiniteScrolling", void 0);
|
|
8092
|
-
__decorate$
|
|
8171
|
+
__decorate$c([
|
|
8093
8172
|
Complex({}, InfiniteScrollSettings)
|
|
8094
8173
|
], TreeGrid.prototype, "infiniteScrollSettings", void 0);
|
|
8095
|
-
__decorate$
|
|
8174
|
+
__decorate$c([
|
|
8096
8175
|
Property('All')
|
|
8097
8176
|
], TreeGrid.prototype, "columnQueryMode", void 0);
|
|
8098
|
-
__decorate$
|
|
8177
|
+
__decorate$c([
|
|
8099
8178
|
Property(true)
|
|
8100
8179
|
], TreeGrid.prototype, "allowSelection", void 0);
|
|
8101
|
-
__decorate$
|
|
8180
|
+
__decorate$c([
|
|
8102
8181
|
Property(-1)
|
|
8103
8182
|
], TreeGrid.prototype, "selectedRowIndex", void 0);
|
|
8104
|
-
__decorate$
|
|
8183
|
+
__decorate$c([
|
|
8105
8184
|
Complex({}, SelectionSettings)
|
|
8106
8185
|
], TreeGrid.prototype, "selectionSettings", void 0);
|
|
8107
|
-
__decorate$
|
|
8186
|
+
__decorate$c([
|
|
8108
8187
|
Property(false)
|
|
8109
8188
|
], TreeGrid.prototype, "allowExcelExport", void 0);
|
|
8110
|
-
__decorate$
|
|
8189
|
+
__decorate$c([
|
|
8111
8190
|
Property(false)
|
|
8112
8191
|
], TreeGrid.prototype, "allowPdfExport", void 0);
|
|
8113
|
-
__decorate$
|
|
8192
|
+
__decorate$c([
|
|
8114
8193
|
Event()
|
|
8115
8194
|
], TreeGrid.prototype, "created", void 0);
|
|
8116
|
-
__decorate$
|
|
8195
|
+
__decorate$c([
|
|
8117
8196
|
Event()
|
|
8118
8197
|
], TreeGrid.prototype, "load", void 0);
|
|
8119
|
-
__decorate$
|
|
8198
|
+
__decorate$c([
|
|
8120
8199
|
Event()
|
|
8121
8200
|
], TreeGrid.prototype, "expanding", void 0);
|
|
8122
|
-
__decorate$
|
|
8201
|
+
__decorate$c([
|
|
8123
8202
|
Event()
|
|
8124
8203
|
], TreeGrid.prototype, "expanded", void 0);
|
|
8125
|
-
__decorate$
|
|
8204
|
+
__decorate$c([
|
|
8126
8205
|
Event()
|
|
8127
8206
|
], TreeGrid.prototype, "collapsing", void 0);
|
|
8128
|
-
__decorate$
|
|
8207
|
+
__decorate$c([
|
|
8129
8208
|
Event()
|
|
8130
8209
|
], TreeGrid.prototype, "collapsed", void 0);
|
|
8131
|
-
__decorate$
|
|
8210
|
+
__decorate$c([
|
|
8132
8211
|
Event()
|
|
8133
8212
|
], TreeGrid.prototype, "cellSave", void 0);
|
|
8134
|
-
__decorate$
|
|
8213
|
+
__decorate$c([
|
|
8135
8214
|
Event()
|
|
8136
8215
|
], TreeGrid.prototype, "cellSaved", void 0);
|
|
8137
|
-
__decorate$
|
|
8216
|
+
__decorate$c([
|
|
8138
8217
|
Event()
|
|
8139
8218
|
], TreeGrid.prototype, "actionBegin", void 0);
|
|
8140
|
-
__decorate$
|
|
8219
|
+
__decorate$c([
|
|
8141
8220
|
Event()
|
|
8142
8221
|
], TreeGrid.prototype, "actionComplete", void 0);
|
|
8143
|
-
__decorate$
|
|
8222
|
+
__decorate$c([
|
|
8144
8223
|
Event()
|
|
8145
8224
|
], TreeGrid.prototype, "beginEdit", void 0);
|
|
8146
|
-
__decorate$
|
|
8225
|
+
__decorate$c([
|
|
8147
8226
|
Event()
|
|
8148
8227
|
], TreeGrid.prototype, "batchAdd", void 0);
|
|
8149
|
-
__decorate$
|
|
8228
|
+
__decorate$c([
|
|
8150
8229
|
Event()
|
|
8151
8230
|
], TreeGrid.prototype, "batchDelete", void 0);
|
|
8152
|
-
__decorate$
|
|
8231
|
+
__decorate$c([
|
|
8153
8232
|
Event()
|
|
8154
8233
|
], TreeGrid.prototype, "batchCancel", void 0);
|
|
8155
|
-
__decorate$
|
|
8234
|
+
__decorate$c([
|
|
8156
8235
|
Event()
|
|
8157
8236
|
], TreeGrid.prototype, "beforeBatchAdd", void 0);
|
|
8158
|
-
__decorate$
|
|
8237
|
+
__decorate$c([
|
|
8159
8238
|
Event()
|
|
8160
8239
|
], TreeGrid.prototype, "beforeBatchDelete", void 0);
|
|
8161
|
-
__decorate$
|
|
8240
|
+
__decorate$c([
|
|
8162
8241
|
Event()
|
|
8163
8242
|
], TreeGrid.prototype, "beforeBatchSave", void 0);
|
|
8164
|
-
__decorate$
|
|
8243
|
+
__decorate$c([
|
|
8165
8244
|
Event()
|
|
8166
8245
|
], TreeGrid.prototype, "cellEdit", void 0);
|
|
8167
|
-
__decorate$
|
|
8246
|
+
__decorate$c([
|
|
8168
8247
|
Event()
|
|
8169
8248
|
], TreeGrid.prototype, "actionFailure", void 0);
|
|
8170
|
-
__decorate$
|
|
8249
|
+
__decorate$c([
|
|
8171
8250
|
Event()
|
|
8172
8251
|
], TreeGrid.prototype, "dataBound", void 0);
|
|
8173
|
-
__decorate$
|
|
8252
|
+
__decorate$c([
|
|
8174
8253
|
Event()
|
|
8175
8254
|
], TreeGrid.prototype, "dataSourceChanged", void 0);
|
|
8176
|
-
__decorate$
|
|
8255
|
+
__decorate$c([
|
|
8177
8256
|
Event()
|
|
8178
8257
|
], TreeGrid.prototype, "dataStateChange", void 0);
|
|
8179
|
-
__decorate$
|
|
8258
|
+
__decorate$c([
|
|
8180
8259
|
Event()
|
|
8181
8260
|
], TreeGrid.prototype, "recordDoubleClick", void 0);
|
|
8182
|
-
__decorate$
|
|
8261
|
+
__decorate$c([
|
|
8183
8262
|
Event()
|
|
8184
8263
|
], TreeGrid.prototype, "rowDataBound", void 0);
|
|
8185
|
-
__decorate$
|
|
8264
|
+
__decorate$c([
|
|
8186
8265
|
Event()
|
|
8187
8266
|
], TreeGrid.prototype, "detailDataBound", void 0);
|
|
8188
|
-
__decorate$
|
|
8267
|
+
__decorate$c([
|
|
8189
8268
|
Event()
|
|
8190
8269
|
], TreeGrid.prototype, "queryCellInfo", void 0);
|
|
8191
|
-
__decorate$
|
|
8270
|
+
__decorate$c([
|
|
8192
8271
|
Event()
|
|
8193
8272
|
], TreeGrid.prototype, "rowSelecting", void 0);
|
|
8194
|
-
__decorate$
|
|
8273
|
+
__decorate$c([
|
|
8195
8274
|
Event()
|
|
8196
8275
|
], TreeGrid.prototype, "rowSelected", void 0);
|
|
8197
|
-
__decorate$
|
|
8276
|
+
__decorate$c([
|
|
8198
8277
|
Event()
|
|
8199
8278
|
], TreeGrid.prototype, "rowDeselecting", void 0);
|
|
8200
|
-
__decorate$
|
|
8279
|
+
__decorate$c([
|
|
8201
8280
|
Event()
|
|
8202
8281
|
], TreeGrid.prototype, "rowDeselected", void 0);
|
|
8203
|
-
__decorate$
|
|
8282
|
+
__decorate$c([
|
|
8204
8283
|
Event()
|
|
8205
8284
|
], TreeGrid.prototype, "headerCellInfo", void 0);
|
|
8206
|
-
__decorate$
|
|
8285
|
+
__decorate$c([
|
|
8207
8286
|
Event()
|
|
8208
8287
|
], TreeGrid.prototype, "cellSelecting", void 0);
|
|
8209
|
-
__decorate$
|
|
8288
|
+
__decorate$c([
|
|
8210
8289
|
Event()
|
|
8211
8290
|
], TreeGrid.prototype, "columnMenuOpen", void 0);
|
|
8212
|
-
__decorate$
|
|
8291
|
+
__decorate$c([
|
|
8213
8292
|
Event()
|
|
8214
8293
|
], TreeGrid.prototype, "columnMenuClick", void 0);
|
|
8215
|
-
__decorate$
|
|
8294
|
+
__decorate$c([
|
|
8216
8295
|
Event()
|
|
8217
8296
|
], TreeGrid.prototype, "cellSelected", void 0);
|
|
8218
|
-
__decorate$
|
|
8297
|
+
__decorate$c([
|
|
8219
8298
|
Event()
|
|
8220
8299
|
], TreeGrid.prototype, "cellDeselecting", void 0);
|
|
8221
|
-
__decorate$
|
|
8300
|
+
__decorate$c([
|
|
8222
8301
|
Event()
|
|
8223
8302
|
], TreeGrid.prototype, "cellDeselected", void 0);
|
|
8224
|
-
__decorate$
|
|
8303
|
+
__decorate$c([
|
|
8225
8304
|
Event()
|
|
8226
8305
|
], TreeGrid.prototype, "resizeStart", void 0);
|
|
8227
|
-
__decorate$
|
|
8306
|
+
__decorate$c([
|
|
8228
8307
|
Event()
|
|
8229
8308
|
], TreeGrid.prototype, "resizing", void 0);
|
|
8230
|
-
__decorate$
|
|
8309
|
+
__decorate$c([
|
|
8231
8310
|
Event()
|
|
8232
8311
|
], TreeGrid.prototype, "resizeStop", void 0);
|
|
8233
|
-
__decorate$
|
|
8312
|
+
__decorate$c([
|
|
8234
8313
|
Event()
|
|
8235
8314
|
], TreeGrid.prototype, "columnDragStart", void 0);
|
|
8236
|
-
__decorate$
|
|
8315
|
+
__decorate$c([
|
|
8237
8316
|
Event()
|
|
8238
8317
|
], TreeGrid.prototype, "columnDrag", void 0);
|
|
8239
|
-
__decorate$
|
|
8318
|
+
__decorate$c([
|
|
8240
8319
|
Event()
|
|
8241
8320
|
], TreeGrid.prototype, "columnDrop", void 0);
|
|
8242
|
-
__decorate$
|
|
8321
|
+
__decorate$c([
|
|
8243
8322
|
Event()
|
|
8244
8323
|
], TreeGrid.prototype, "checkboxChange", void 0);
|
|
8245
|
-
__decorate$
|
|
8324
|
+
__decorate$c([
|
|
8246
8325
|
Event()
|
|
8247
8326
|
], TreeGrid.prototype, "printComplete", void 0);
|
|
8248
|
-
__decorate$
|
|
8327
|
+
__decorate$c([
|
|
8249
8328
|
Event()
|
|
8250
8329
|
], TreeGrid.prototype, "beforePrint", void 0);
|
|
8251
|
-
__decorate$
|
|
8330
|
+
__decorate$c([
|
|
8252
8331
|
Event()
|
|
8253
8332
|
], TreeGrid.prototype, "toolbarClick", void 0);
|
|
8254
|
-
__decorate$
|
|
8333
|
+
__decorate$c([
|
|
8255
8334
|
Event()
|
|
8256
8335
|
], TreeGrid.prototype, "beforeDataBound", void 0);
|
|
8257
|
-
__decorate$
|
|
8336
|
+
__decorate$c([
|
|
8258
8337
|
Event()
|
|
8259
8338
|
], TreeGrid.prototype, "contextMenuOpen", void 0);
|
|
8260
|
-
__decorate$
|
|
8339
|
+
__decorate$c([
|
|
8261
8340
|
Event()
|
|
8262
8341
|
], TreeGrid.prototype, "contextMenuClick", void 0);
|
|
8263
|
-
__decorate$
|
|
8342
|
+
__decorate$c([
|
|
8264
8343
|
Event()
|
|
8265
8344
|
], TreeGrid.prototype, "beforeCopy", void 0);
|
|
8266
|
-
__decorate$
|
|
8345
|
+
__decorate$c([
|
|
8267
8346
|
Event()
|
|
8268
8347
|
], TreeGrid.prototype, "beforePaste", void 0);
|
|
8269
|
-
__decorate$
|
|
8348
|
+
__decorate$c([
|
|
8270
8349
|
Event()
|
|
8271
8350
|
], TreeGrid.prototype, "rowDrag", void 0);
|
|
8272
|
-
__decorate$
|
|
8351
|
+
__decorate$c([
|
|
8273
8352
|
Event()
|
|
8274
8353
|
], TreeGrid.prototype, "rowDragStart", void 0);
|
|
8275
|
-
__decorate$
|
|
8354
|
+
__decorate$c([
|
|
8276
8355
|
Event()
|
|
8277
8356
|
], TreeGrid.prototype, "rowDragStartHelper", void 0);
|
|
8278
|
-
__decorate$
|
|
8357
|
+
__decorate$c([
|
|
8279
8358
|
Event()
|
|
8280
8359
|
], TreeGrid.prototype, "rowDrop", void 0);
|
|
8281
|
-
__decorate$
|
|
8360
|
+
__decorate$c([
|
|
8282
8361
|
Event()
|
|
8283
8362
|
], TreeGrid.prototype, "pdfQueryCellInfo", void 0);
|
|
8284
|
-
__decorate$
|
|
8363
|
+
__decorate$c([
|
|
8285
8364
|
Event()
|
|
8286
8365
|
], TreeGrid.prototype, "pdfHeaderQueryCellInfo", void 0);
|
|
8287
|
-
__decorate$
|
|
8366
|
+
__decorate$c([
|
|
8288
8367
|
Event()
|
|
8289
8368
|
], TreeGrid.prototype, "excelQueryCellInfo", void 0);
|
|
8290
|
-
__decorate$
|
|
8369
|
+
__decorate$c([
|
|
8370
|
+
Event()
|
|
8371
|
+
], TreeGrid.prototype, "pdfAggregateQueryCellInfo", void 0);
|
|
8372
|
+
__decorate$c([
|
|
8373
|
+
Event()
|
|
8374
|
+
], TreeGrid.prototype, "excelAggregateQueryCellInfo", void 0);
|
|
8375
|
+
__decorate$c([
|
|
8291
8376
|
Event()
|
|
8292
8377
|
], TreeGrid.prototype, "excelHeaderQueryCellInfo", void 0);
|
|
8293
|
-
__decorate$
|
|
8378
|
+
__decorate$c([
|
|
8294
8379
|
Event()
|
|
8295
8380
|
], TreeGrid.prototype, "beforeExcelExport", void 0);
|
|
8296
|
-
__decorate$
|
|
8381
|
+
__decorate$c([
|
|
8297
8382
|
Event()
|
|
8298
8383
|
], TreeGrid.prototype, "excelExportComplete", void 0);
|
|
8299
|
-
__decorate$
|
|
8384
|
+
__decorate$c([
|
|
8300
8385
|
Event()
|
|
8301
8386
|
], TreeGrid.prototype, "beforePdfExport", void 0);
|
|
8302
|
-
__decorate$
|
|
8387
|
+
__decorate$c([
|
|
8303
8388
|
Event()
|
|
8304
8389
|
], TreeGrid.prototype, "pdfExportComplete", void 0);
|
|
8305
|
-
TreeGrid = TreeGrid_1 = __decorate$
|
|
8390
|
+
TreeGrid = TreeGrid_1 = __decorate$c([
|
|
8306
8391
|
NotifyPropertyChanges
|
|
8307
8392
|
], TreeGrid);
|
|
8308
8393
|
|
|
@@ -10268,7 +10353,7 @@ class RowDD {
|
|
|
10268
10353
|
}
|
|
10269
10354
|
}
|
|
10270
10355
|
|
|
10271
|
-
var __decorate$
|
|
10356
|
+
var __decorate$d = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
10272
10357
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10273
10358
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10274
10359
|
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;
|
|
@@ -10279,7 +10364,7 @@ var __decorate$c = (undefined && undefined.__decorate) || function (decorators,
|
|
|
10279
10364
|
*/
|
|
10280
10365
|
class RowDropSettings extends ChildProperty {
|
|
10281
10366
|
}
|
|
10282
|
-
__decorate$
|
|
10367
|
+
__decorate$d([
|
|
10283
10368
|
Property()
|
|
10284
10369
|
], RowDropSettings.prototype, "targetID", void 0);
|
|
10285
10370
|
|
|
@@ -10633,6 +10718,7 @@ class ExcelExport {
|
|
|
10633
10718
|
this.parent.on('updateResults', this.updateExcelResultModel, this);
|
|
10634
10719
|
this.parent.on('excelCellInfo', this.excelQueryCellInfo, this);
|
|
10635
10720
|
this.parent.grid.on('export-RowDataBound', this.exportRowDataBound, this);
|
|
10721
|
+
this.parent.on('excelAggregateCellInfo', this.excelAggregateCellInfo, this);
|
|
10636
10722
|
this.parent.grid.on('finalPageSetup', this.finalPageSetup, this);
|
|
10637
10723
|
}
|
|
10638
10724
|
/**
|
|
@@ -10655,6 +10741,7 @@ class ExcelExport {
|
|
|
10655
10741
|
this.parent.off('updateResults', this.updateExcelResultModel);
|
|
10656
10742
|
this.parent.off('excelCellInfo', this.excelQueryCellInfo);
|
|
10657
10743
|
this.parent.grid.off('export-RowDataBound', this.exportRowDataBound);
|
|
10744
|
+
this.parent.off('excelAggregateCellInfo', this.excelAggregateCellInfo);
|
|
10658
10745
|
this.parent.grid.off('finalPageSetup', this.finalPageSetup);
|
|
10659
10746
|
}
|
|
10660
10747
|
updateExcelResultModel(returnResult) {
|
|
@@ -10781,6 +10868,16 @@ class ExcelExport {
|
|
|
10781
10868
|
this.parent.notify('updateResults', args);
|
|
10782
10869
|
this.parent.trigger('excelQueryCellInfo', args);
|
|
10783
10870
|
}
|
|
10871
|
+
/**
|
|
10872
|
+
* TreeGrid Excel Export Aggregate cell modifier
|
|
10873
|
+
*
|
|
10874
|
+
* @param {AggregateQueryCellInfoEventArgs} args - current cell details
|
|
10875
|
+
* @hidden
|
|
10876
|
+
* @returns {void}
|
|
10877
|
+
*/
|
|
10878
|
+
excelAggregateCellInfo(args) {
|
|
10879
|
+
this.parent.trigger('excelAggregateQueryCellInfo', args);
|
|
10880
|
+
}
|
|
10784
10881
|
exportRowDataBound(excelRow) {
|
|
10785
10882
|
if (excelRow.type === 'excel') {
|
|
10786
10883
|
const excelrowobj = excelRow.rowObj.data;
|
|
@@ -10849,6 +10946,7 @@ class PdfExport {
|
|
|
10849
10946
|
addEventListener() {
|
|
10850
10947
|
this.parent.on('pdfCellInfo', this.pdfQueryCellInfo, this);
|
|
10851
10948
|
this.parent.on('updateResults', this.updatePdfResultModel, this);
|
|
10949
|
+
this.parent.on('pdfAggregateCellInfo', this.pdfAggregateCellInfo, this);
|
|
10852
10950
|
}
|
|
10853
10951
|
/**
|
|
10854
10952
|
* @hidden
|
|
@@ -10860,6 +10958,7 @@ class PdfExport {
|
|
|
10860
10958
|
}
|
|
10861
10959
|
this.parent.off('pdfCellInfo', this.pdfQueryCellInfo);
|
|
10862
10960
|
this.parent.off('updateResults', this.updatePdfResultModel);
|
|
10961
|
+
this.parent.off('pdfAggregateCellInfo', this.pdfAggregateCellInfo);
|
|
10863
10962
|
}
|
|
10864
10963
|
/**
|
|
10865
10964
|
* To destroy the PDF Export
|
|
@@ -10974,6 +11073,16 @@ class PdfExport {
|
|
|
10974
11073
|
this.parent.notify('updateResults', args);
|
|
10975
11074
|
this.parent.trigger('pdfQueryCellInfo', args);
|
|
10976
11075
|
}
|
|
11076
|
+
/**
|
|
11077
|
+
* TreeGrid PDF Export Aggregate cell modifier
|
|
11078
|
+
*
|
|
11079
|
+
* @param {AggregateQueryCellInfoEventArgs} args - current cell details
|
|
11080
|
+
* @hidden
|
|
11081
|
+
* @returns {void}
|
|
11082
|
+
*/
|
|
11083
|
+
pdfAggregateCellInfo(args) {
|
|
11084
|
+
this.parent.trigger('pdfAggregateQueryCellInfo', args);
|
|
11085
|
+
}
|
|
10977
11086
|
}
|
|
10978
11087
|
|
|
10979
11088
|
/**
|
|
@@ -11812,7 +11921,9 @@ class ContextMenu {
|
|
|
11812
11921
|
}
|
|
11813
11922
|
}
|
|
11814
11923
|
tObj.grid.contextMenuModule.contextMenu.hideItems(tObj.grid.contextMenuModule['hiddenItems']);
|
|
11815
|
-
indent
|
|
11924
|
+
if (indent || outdent) {
|
|
11925
|
+
indent.style.display = outdent.style.display = 'none';
|
|
11926
|
+
}
|
|
11816
11927
|
}
|
|
11817
11928
|
}
|
|
11818
11929
|
}
|
|
@@ -14449,11 +14560,6 @@ class VirtualTreeContentRenderer extends VirtualContentRenderer {
|
|
|
14449
14560
|
(this.parent.pageSettings.pageSize / 2) && (this.endIndex - nextSetResIndex) < (this.parent.pageSettings.pageSize / 2)) {
|
|
14450
14561
|
this.startIndex = lastIndex - (this.parent.pageSettings.pageSize / 2);
|
|
14451
14562
|
}
|
|
14452
|
-
if (currentViewData.length && this.startIndex > currentViewData[0][`${indexValue}`] &&
|
|
14453
|
-
((this.startIndex - currentViewData[0][`${indexValue}`]) < (this.parent.pageSettings.pageSize / 2)) &&
|
|
14454
|
-
this.parent.selectionModule && this.parent.selectionModule.isRowSelected) {
|
|
14455
|
-
this.startIndex = currentViewData[0][`${indexValue}`] + (this.parent.pageSettings.pageSize / 2);
|
|
14456
|
-
}
|
|
14457
14563
|
if (scrollArgs.offset.top > (rowHeight * this.totalRecords)) {
|
|
14458
14564
|
this.translateY = this.getTranslateY(scrollArgs.offset.top, content.getBoundingClientRect().height);
|
|
14459
14565
|
}
|
|
@@ -14503,9 +14609,9 @@ class VirtualTreeContentRenderer extends VirtualContentRenderer {
|
|
|
14503
14609
|
this.parent.setColumnIndexesInView(this.parent.enableColumnVirtualization ? viewInfo.columnIndexes : []);
|
|
14504
14610
|
const page = viewInfo.loadNext && !viewInfo.loadSelf ? viewInfo.nextInfo.page : viewInfo.page;
|
|
14505
14611
|
this.parent.setProperties({ pageSettings: { currentPage: page } }, true);
|
|
14506
|
-
if (downScroll && this.endIndex === this.totalRecords && viewInfo.loadNext) {
|
|
14507
|
-
|
|
14508
|
-
}
|
|
14612
|
+
// if (downScroll && this.endIndex === this.totalRecords && viewInfo.loadNext) {
|
|
14613
|
+
// viewInfo.loadNext = false;
|
|
14614
|
+
// }
|
|
14509
14615
|
this.requestType = 'virtualscroll';
|
|
14510
14616
|
if (scrollArgs.direction !== 'right' && scrollArgs.direction !== 'left' && !isRemoteData(this.parent.root)) {
|
|
14511
14617
|
viewInfo.event = viewInfo.event === 'refresh-virtual-block' ? 'model-changed' : viewInfo.event;
|
|
@@ -14931,8 +15037,8 @@ class VirtualScroll {
|
|
|
14931
15037
|
if (this.setEndIndexToGantt) {
|
|
14932
15038
|
this.ganttEndIndex = counts.endIndex;
|
|
14933
15039
|
}
|
|
14934
|
-
if ((counts.endIndex + this.parent.pageSettings.pageSize >= counts.count &&
|
|
14935
|
-
|| !(this.parent['isGantt'] && this.parent['isAddedFromGantt'])) {
|
|
15040
|
+
if (((counts.endIndex + this.parent.pageSettings.pageSize >= counts.count) &&
|
|
15041
|
+
(this.parent.root && counts.count !== this.ganttEndIndex) && this.parent['isAddedFromGantt']) || !(this.parent['isGantt'] && this.parent['isAddedFromGantt'])) {
|
|
14936
15042
|
startIndex = counts.startIndex + (counts.count - counts.endIndex);
|
|
14937
15043
|
endIndex = counts.count;
|
|
14938
15044
|
this.setEndIndexToGantt = false;
|
|
@@ -15119,7 +15225,7 @@ class Freeze {
|
|
|
15119
15225
|
}
|
|
15120
15226
|
for (let i = 0; i < rows.length; i++) {
|
|
15121
15227
|
const row = rows[parseInt(i.toString(), 10)];
|
|
15122
|
-
const rData = this.parent.grid.getRowObjectFromUID(row.getAttribute('data-
|
|
15228
|
+
const rData = this.parent.grid.getRowObjectFromUID(row.getAttribute('data-uid')).data;
|
|
15123
15229
|
if (!isNullOrUndefined(movableRows) && row.parentElement.firstElementChild.clientHeight > 0) {
|
|
15124
15230
|
row.style.height = row.parentElement.firstElementChild.clientHeight + 'px';
|
|
15125
15231
|
}
|