@syncfusion/ej2-treegrid 25.2.6 → 26.1.35-760834
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/.eslintrc.json +243 -259
- package/README.md +83 -83
- package/dist/ej2-treegrid.min.js +1 -10
- package/dist/ej2-treegrid.umd.min.js +1 -10
- package/dist/ej2-treegrid.umd.min.js.map +1 -1
- package/dist/es6/ej2-treegrid.es2015.js +842 -553
- package/dist/es6/ej2-treegrid.es2015.js.map +1 -1
- package/dist/es6/ej2-treegrid.es5.js +1361 -1069
- package/dist/es6/ej2-treegrid.es5.js.map +1 -1
- package/dist/global/ej2-treegrid.min.js +1 -10
- package/dist/global/ej2-treegrid.min.js.map +1 -1
- package/dist/global/index.d.ts +0 -9
- package/dist/ts/undefined +73 -0
- package/license +9 -9
- package/package.json +70 -70
- package/src/treegrid/actions/clipboard.js +13 -13
- package/src/treegrid/actions/crud-actions.js +1 -1
- package/src/treegrid/actions/edit.js +11 -9
- package/src/treegrid/actions/excel-export.js +16 -4
- package/src/treegrid/actions/logger.js +13 -13
- package/src/treegrid/actions/page.js +4 -0
- package/src/treegrid/actions/rowdragdrop.js +27 -16
- package/src/treegrid/actions/selection.js +13 -1
- package/src/treegrid/actions/virtual-scroll.d.ts +2 -0
- package/src/treegrid/actions/virtual-scroll.js +26 -14
- package/src/treegrid/base/constant.d.ts +2 -0
- package/src/treegrid/base/constant.js +2 -0
- package/src/treegrid/base/data.js +22 -4
- package/src/treegrid/base/interface.js +0 -1
- package/src/treegrid/base/treegrid-model.d.ts +875 -875
- package/src/treegrid/base/treegrid.d.ts +45 -41
- package/src/treegrid/base/treegrid.js +338 -101
- package/src/treegrid/models/column-model.d.ts +6 -6
- package/src/treegrid/models/column.js +19 -19
- package/src/treegrid/models/edit-settings-model.d.ts +72 -72
- package/src/treegrid/models/edit-settings.js +19 -19
- package/src/treegrid/models/filter-settings-model.d.ts +206 -206
- package/src/treegrid/models/filter-settings.js +19 -19
- package/src/treegrid/models/infinite-scroll-settings-model.d.ts +16 -16
- package/src/treegrid/models/infinite-scroll-settings.js +19 -19
- package/src/treegrid/models/loading-indicator.js +19 -19
- package/src/treegrid/models/page-settings-model.d.ts +46 -46
- package/src/treegrid/models/page-settings.js +19 -19
- package/src/treegrid/models/rowdrop-settings-model.d.ts +6 -6
- package/src/treegrid/models/rowdrop-settings.js +19 -19
- package/src/treegrid/models/search-settings-model.d.ts +60 -60
- package/src/treegrid/models/search-settings.js +19 -19
- package/src/treegrid/models/selection-settings-model.d.ts +66 -66
- package/src/treegrid/models/selection-settings.js +19 -19
- package/src/treegrid/models/sort-settings-model.d.ts +24 -24
- package/src/treegrid/models/sort-settings.js +19 -19
- package/src/treegrid/models/summary-model.d.ts +64 -64
- package/src/treegrid/models/summary.js +19 -19
- package/src/treegrid/models/textwrap-settings-model.d.ts +9 -9
- package/src/treegrid/models/textwrap-settings.js +19 -19
- package/src/treegrid/renderer/virtual-row-model-generator.js +15 -15
- package/src/treegrid/renderer/virtual-tree-content-render.js +26 -20
- package/styles/bds-lite.css +745 -0
- package/styles/bds-lite.scss +18 -0
- package/styles/bds.css +765 -0
- package/styles/bds.scss +19 -0
- package/styles/bootstrap-dark-lite.css +506 -0
- package/styles/bootstrap-dark-lite.scss +18 -0
- package/styles/bootstrap-dark.css +187 -117
- package/styles/bootstrap-dark.scss +19 -1
- package/styles/bootstrap-lite.css +509 -0
- package/styles/bootstrap-lite.scss +18 -0
- package/styles/bootstrap.css +190 -121
- package/styles/bootstrap.scss +19 -1
- package/styles/bootstrap4-lite.css +550 -0
- package/styles/bootstrap4-lite.scss +18 -0
- package/styles/bootstrap4.css +194 -133
- package/styles/bootstrap4.scss +19 -1
- package/styles/bootstrap5-dark-lite.css +545 -0
- package/styles/bootstrap5-dark-lite.scss +18 -0
- package/styles/bootstrap5-dark.css +189 -123
- package/styles/bootstrap5-dark.scss +19 -1
- package/styles/bootstrap5-lite.css +545 -0
- package/styles/bootstrap5-lite.scss +18 -0
- package/styles/bootstrap5.3-lite.css +549 -0
- package/styles/bootstrap5.3-lite.scss +18 -0
- package/styles/bootstrap5.3.css +569 -0
- package/styles/bootstrap5.3.scss +19 -0
- package/styles/bootstrap5.css +188 -122
- package/styles/bootstrap5.scss +19 -1
- package/styles/fabric-dark-lite.css +485 -0
- package/styles/fabric-dark-lite.scss +18 -0
- package/styles/fabric-dark.css +188 -118
- package/styles/fabric-dark.scss +19 -1
- package/styles/fabric-lite.css +485 -0
- package/styles/fabric-lite.scss +18 -0
- package/styles/fabric.css +188 -111
- package/styles/fabric.scss +19 -1
- package/styles/fluent-dark-lite.css +548 -0
- package/styles/fluent-dark-lite.scss +18 -0
- package/styles/fluent-dark.css +195 -116
- package/styles/fluent-dark.scss +19 -1
- package/styles/fluent-lite.css +548 -0
- package/styles/fluent-lite.scss +18 -0
- package/styles/fluent.css +195 -116
- package/styles/fluent.scss +19 -1
- package/styles/fluent2-lite.css +735 -0
- package/styles/fluent2-lite.scss +18 -0
- package/styles/fluent2.css +758 -0
- package/styles/fluent2.scss +19 -0
- package/styles/highcontrast-light-lite.css +491 -0
- package/styles/highcontrast-light-lite.scss +18 -0
- package/styles/highcontrast-light.css +185 -103
- package/styles/highcontrast-light.scss +19 -1
- package/styles/highcontrast-lite.css +498 -0
- package/styles/highcontrast-lite.scss +18 -0
- package/styles/highcontrast.css +196 -107
- package/styles/highcontrast.scss +19 -1
- package/styles/material-dark-lite.css +567 -0
- package/styles/material-dark-lite.scss +18 -0
- package/styles/material-dark.css +220 -105
- package/styles/material-dark.scss +19 -1
- package/styles/material-lite.css +591 -0
- package/styles/material-lite.scss +18 -0
- package/styles/material.css +234 -129
- package/styles/material.scss +19 -1
- package/styles/material3-dark-lite.css +578 -0
- package/styles/material3-dark-lite.scss +18 -0
- package/styles/material3-dark.css +220 -185
- package/styles/material3-dark.scss +19 -1
- package/styles/material3-lite.css +580 -0
- package/styles/material3-lite.scss +18 -0
- package/styles/material3.css +221 -240
- package/styles/material3.scss +19 -1
- package/styles/tailwind-dark-lite.css +518 -0
- package/styles/tailwind-dark-lite.scss +18 -0
- package/styles/tailwind-dark.css +196 -103
- package/styles/tailwind-dark.scss +19 -1
- package/styles/tailwind-lite.css +518 -0
- package/styles/tailwind-lite.scss +18 -0
- package/styles/tailwind.css +196 -103
- package/styles/tailwind.scss +19 -1
- package/styles/tailwind3-lite.css +561 -0
- package/styles/tailwind3-lite.scss +18 -0
- package/styles/tailwind3.css +581 -0
- package/styles/tailwind3.scss +19 -0
- package/styles/treegrid/_all.scss +2 -2
- package/styles/treegrid/_bds-definition.scss +24 -28
- package/styles/treegrid/_bigger.scss +66 -0
- package/styles/treegrid/_bootstrap-dark-definition.scss +29 -30
- package/styles/treegrid/_bootstrap-definition.scss +29 -30
- package/styles/treegrid/_bootstrap4-definition.scss +29 -30
- package/styles/treegrid/_bootstrap5-definition.scss +24 -28
- package/styles/treegrid/_bootstrap5.3-definition.scss +24 -0
- package/styles/treegrid/_fabric-dark-definition.scss +29 -30
- package/styles/treegrid/_fabric-definition.scss +29 -30
- package/styles/treegrid/_fluent-definition.scss +25 -29
- package/styles/treegrid/_fluent2-definition.scss +24 -0
- package/styles/treegrid/_fusionnew-definition.scss +24 -28
- package/styles/treegrid/_highcontrast-definition.scss +29 -30
- package/styles/treegrid/_highcontrast-light-definition.scss +29 -30
- package/styles/treegrid/_icons.scss +47 -37
- package/styles/treegrid/_layout.scss +530 -455
- package/styles/treegrid/_material-dark-definition.scss +29 -30
- package/styles/treegrid/_material-definition.scss +29 -30
- package/styles/treegrid/_material3-definition.scss +24 -28
- package/styles/treegrid/_tailwind-definition.scss +24 -28
- package/styles/treegrid/_tailwind3-definition.scss +24 -0
- package/styles/treegrid/_theme.scss +1 -1
- package/styles/treegrid/bds.css +765 -0
- package/styles/treegrid/bds.scss +19 -0
- package/styles/treegrid/bootstrap-dark.css +187 -117
- package/styles/treegrid/bootstrap-dark.scss +1 -0
- package/styles/treegrid/bootstrap.css +190 -121
- package/styles/treegrid/bootstrap.scss +1 -0
- package/styles/treegrid/bootstrap4.css +194 -133
- package/styles/treegrid/bootstrap4.scss +1 -0
- package/styles/treegrid/bootstrap5-dark.css +189 -123
- package/styles/treegrid/bootstrap5-dark.scss +1 -0
- package/styles/treegrid/bootstrap5.3.css +569 -0
- package/styles/treegrid/bootstrap5.3.scss +19 -0
- package/styles/treegrid/bootstrap5.css +188 -122
- package/styles/treegrid/bootstrap5.scss +1 -0
- package/styles/treegrid/fabric-dark.css +188 -118
- package/styles/treegrid/fabric-dark.scss +1 -0
- package/styles/treegrid/fabric.css +188 -111
- package/styles/treegrid/fabric.scss +1 -0
- package/styles/treegrid/fluent-dark.css +195 -116
- package/styles/treegrid/fluent-dark.scss +1 -0
- package/styles/treegrid/fluent.css +195 -116
- package/styles/treegrid/fluent.scss +1 -0
- package/styles/treegrid/fluent2.css +758 -0
- package/styles/treegrid/fluent2.scss +19 -0
- package/styles/treegrid/highcontrast-light.css +185 -103
- package/styles/treegrid/highcontrast-light.scss +1 -0
- package/styles/treegrid/highcontrast.css +196 -107
- package/styles/treegrid/highcontrast.scss +1 -0
- package/styles/treegrid/icons/_bds.scss +37 -37
- package/styles/treegrid/icons/_bootstrap-dark.scss +47 -37
- package/styles/treegrid/icons/_bootstrap.scss +47 -37
- package/styles/treegrid/icons/_bootstrap4.scss +47 -37
- package/styles/treegrid/icons/_bootstrap5.3.scss +47 -0
- package/styles/treegrid/icons/_bootstrap5.scss +47 -37
- package/styles/treegrid/icons/_fabric-dark.scss +47 -37
- package/styles/treegrid/icons/_fabric.scss +47 -37
- package/styles/treegrid/icons/_fluent.scss +47 -37
- package/styles/treegrid/icons/_fluent2.scss +47 -0
- package/styles/treegrid/icons/_fusionnew.scss +30 -26
- package/styles/treegrid/icons/_highcontrast-light.scss +47 -37
- package/styles/treegrid/icons/_highcontrast.scss +47 -37
- package/styles/treegrid/icons/_material-dark.scss +47 -37
- package/styles/treegrid/icons/_material.scss +47 -37
- package/styles/treegrid/icons/_material3.scss +47 -37
- package/styles/treegrid/icons/_tailwind-dark.scss +47 -37
- package/styles/treegrid/icons/_tailwind.scss +47 -37
- package/styles/treegrid/icons/_tailwind3.scss +47 -0
- package/styles/treegrid/material-dark.css +220 -105
- package/styles/treegrid/material-dark.scss +1 -0
- package/styles/treegrid/material.css +234 -129
- package/styles/treegrid/material.scss +1 -0
- package/styles/treegrid/material3-dark.css +220 -185
- package/styles/treegrid/material3-dark.scss +2 -1
- package/styles/treegrid/material3.css +221 -240
- package/styles/treegrid/material3.scss +2 -1
- package/styles/treegrid/tailwind-dark.css +196 -103
- package/styles/treegrid/tailwind-dark.scss +1 -0
- package/styles/treegrid/tailwind.css +196 -103
- package/styles/treegrid/tailwind.scss +1 -0
- package/styles/treegrid/tailwind3.css +581 -0
- package/styles/treegrid/tailwind3.scss +19 -0
- package/CHANGELOG.md +0 -264
- package/helpers/e2e/index.d.ts +0 -1
- package/helpers/e2e/index.js +0 -8
- package/helpers/e2e/treegridhelper.d.ts +0 -21
- package/helpers/e2e/treegridhelper.js +0 -83
- package/tslint.json +0 -111
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TextAlign, ClipMode, ValueAccessor, IFilter, IFilterUI, IEditCell, CommandModel, freezeDirection } from '@syncfusion/ej2-grids';
|
|
1
|
+
import { TextAlign, ClipMode, ValueAccessor, IFilter, IFilterUI, IEditCell, CommandModel, freezeDirection } from '@syncfusion/ej2-grids';
|
|
2
2
|
import {ColumnModel} from "./column";
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -14,11 +14,11 @@ export interface ColumnModel {
|
|
|
14
14
|
export interface TreeGridColumnModel extends ColumnModel{
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
* Defines stacked columns
|
|
18
|
-
*
|
|
19
|
-
* @default null
|
|
20
|
-
*/
|
|
21
|
-
columns?: string[] | ColumnModel[];
|
|
17
|
+
* Defines stacked columns
|
|
18
|
+
*
|
|
19
|
+
* @default null
|
|
20
|
+
*/
|
|
21
|
+
columns?: string[] | ColumnModel[];
|
|
22
22
|
|
|
23
23
|
}
|
|
24
24
|
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
};
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
14
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17
|
-
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;
|
|
18
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
|
-
};
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17
|
+
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;
|
|
18
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
|
+
};
|
|
20
20
|
import { merge, Property } from '@syncfusion/ej2-base';
|
|
21
21
|
/**
|
|
22
22
|
* Represents TreeGrid `Column` model class.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChildProperty, Property } from '@syncfusion/ej2-base';
|
|
1
|
+
import { ChildProperty, Property } from '@syncfusion/ej2-base';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Interface for a class EditSettings
|
|
@@ -6,96 +6,96 @@ import { ChildProperty, Property } from '@syncfusion/ej2-base';import { EditMode
|
|
|
6
6
|
export interface EditSettingsModel {
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* If `allowAdding` is set to true, new records can be added to the TreeGrid.
|
|
10
|
-
*
|
|
11
|
-
* @default false
|
|
12
|
-
*/
|
|
13
|
-
allowAdding?: boolean;
|
|
9
|
+
* If `allowAdding` is set to true, new records can be added to the TreeGrid.
|
|
10
|
+
*
|
|
11
|
+
* @default false
|
|
12
|
+
*/
|
|
13
|
+
allowAdding?: boolean;
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
|
-
* If `allowEditing` is set to true, values can be updated in the existing record.
|
|
17
|
-
*
|
|
18
|
-
* @default false
|
|
19
|
-
*/
|
|
20
|
-
allowEditing?: boolean;
|
|
16
|
+
* If `allowEditing` is set to true, values can be updated in the existing record.
|
|
17
|
+
*
|
|
18
|
+
* @default false
|
|
19
|
+
*/
|
|
20
|
+
allowEditing?: boolean;
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
|
-
* If `allowDeleting` is set to true, existing record can be deleted from the TreeGrid.
|
|
24
|
-
*
|
|
25
|
-
* @default false
|
|
26
|
-
*/
|
|
27
|
-
allowDeleting?: boolean;
|
|
23
|
+
* If `allowDeleting` is set to true, existing record can be deleted from the TreeGrid.
|
|
24
|
+
*
|
|
25
|
+
* @default false
|
|
26
|
+
*/
|
|
27
|
+
allowDeleting?: boolean;
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
|
-
* Defines the mode to edit. The available editing modes are:
|
|
31
|
-
* ```props
|
|
32
|
-
* * Cell :- Defines the editing mode as Cell.
|
|
33
|
-
* * Row :- Defines the editing mode as Row.
|
|
34
|
-
* * Dialog :- Defines the editing mode as Dialog.
|
|
35
|
-
* * Batch :- Defines the editing mode as Batch.
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @default Cell
|
|
39
|
-
* @isEnumeration true
|
|
40
|
-
*/
|
|
41
|
-
mode?: EditMode;
|
|
30
|
+
* Defines the mode to edit. The available editing modes are:
|
|
31
|
+
* ```props
|
|
32
|
+
* * Cell :- Defines the editing mode as Cell.
|
|
33
|
+
* * Row :- Defines the editing mode as Row.
|
|
34
|
+
* * Dialog :- Defines the editing mode as Dialog.
|
|
35
|
+
* * Batch :- Defines the editing mode as Batch.
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
38
|
+
* @default Cell
|
|
39
|
+
* @isEnumeration true
|
|
40
|
+
*/
|
|
41
|
+
mode?: EditMode;
|
|
42
42
|
|
|
43
43
|
/**
|
|
44
|
-
* Defines the row position for new records. The available row positions are:
|
|
45
|
-
* ```props
|
|
46
|
-
* * Top :- Defines the row position as Top.
|
|
47
|
-
* * Bottom :- Defines the row position as Bottom.
|
|
48
|
-
* * Above :- Defines the row position as Above.
|
|
49
|
-
* * Below :- Defines the row position as Below.
|
|
50
|
-
* * Child :- Defines the row position as Child.
|
|
51
|
-
* ```
|
|
52
|
-
* {% codeBlock src='treegrid/newRowPosition/index.md' %}{% endcodeBlock %}
|
|
53
|
-
*
|
|
54
|
-
* @default Top
|
|
55
|
-
*/
|
|
56
|
-
newRowPosition?: RowPosition;
|
|
44
|
+
* Defines the row position for new records. The available row positions are:
|
|
45
|
+
* ```props
|
|
46
|
+
* * Top :- Defines the row position as Top.
|
|
47
|
+
* * Bottom :- Defines the row position as Bottom.
|
|
48
|
+
* * Above :- Defines the row position as Above.
|
|
49
|
+
* * Below :- Defines the row position as Below.
|
|
50
|
+
* * Child :- Defines the row position as Child.
|
|
51
|
+
* ```
|
|
52
|
+
* {% codeBlock src='treegrid/newRowPosition/index.md' %}{% endcodeBlock %}
|
|
53
|
+
*
|
|
54
|
+
* @default Top
|
|
55
|
+
*/
|
|
56
|
+
newRowPosition?: RowPosition;
|
|
57
57
|
|
|
58
58
|
/**
|
|
59
|
-
* If `allowEditOnDblClick` is set to false, TreeGrid will not allow editing of a record on double click.
|
|
60
|
-
*
|
|
61
|
-
* @default true
|
|
62
|
-
*/
|
|
63
|
-
allowEditOnDblClick?: boolean;
|
|
59
|
+
* If `allowEditOnDblClick` is set to false, TreeGrid will not allow editing of a record on double click.
|
|
60
|
+
*
|
|
61
|
+
* @default true
|
|
62
|
+
*/
|
|
63
|
+
allowEditOnDblClick?: boolean;
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
|
-
* if `showConfirmDialog` is set to false, confirm dialog does not show when batch changes are saved or discarded.
|
|
67
|
-
*
|
|
68
|
-
* @default true
|
|
69
|
-
*/
|
|
70
|
-
showConfirmDialog?: boolean;
|
|
66
|
+
* if `showConfirmDialog` is set to false, confirm dialog does not show when batch changes are saved or discarded.
|
|
67
|
+
*
|
|
68
|
+
* @default true
|
|
69
|
+
*/
|
|
70
|
+
showConfirmDialog?: boolean;
|
|
71
71
|
|
|
72
72
|
/**
|
|
73
|
-
* If `showDeleteConfirmDialog` is set to true, confirm dialog will show delete action. You can also cancel delete command.
|
|
74
|
-
*
|
|
75
|
-
* @default false
|
|
76
|
-
*/
|
|
77
|
-
showDeleteConfirmDialog?: boolean;
|
|
73
|
+
* If `showDeleteConfirmDialog` is set to true, confirm dialog will show delete action. You can also cancel delete command.
|
|
74
|
+
*
|
|
75
|
+
* @default false
|
|
76
|
+
*/
|
|
77
|
+
showDeleteConfirmDialog?: boolean;
|
|
78
78
|
|
|
79
79
|
/**
|
|
80
|
-
* Defines the custom edit elements for the dialog template.
|
|
81
|
-
*
|
|
82
|
-
* @default ''
|
|
83
|
-
* @aspType string
|
|
84
|
-
*/
|
|
85
|
-
template?: string | Function;
|
|
80
|
+
* Defines the custom edit elements for the dialog template.
|
|
81
|
+
*
|
|
82
|
+
* @default ''
|
|
83
|
+
* @aspType string
|
|
84
|
+
*/
|
|
85
|
+
template?: string | Function;
|
|
86
86
|
|
|
87
87
|
/**
|
|
88
|
-
* Defines the dialog params to edit.
|
|
89
|
-
*
|
|
90
|
-
* @default {}
|
|
91
|
-
*/
|
|
92
|
-
dialog?: IDialogUI;
|
|
88
|
+
* Defines the dialog params to edit.
|
|
89
|
+
*
|
|
90
|
+
* @default {}
|
|
91
|
+
*/
|
|
92
|
+
dialog?: IDialogUI;
|
|
93
93
|
|
|
94
94
|
/**
|
|
95
|
-
* If `allowNextRowEdit` is set as true, editing is continued to next row with keyboard navigation.
|
|
96
|
-
*
|
|
97
|
-
* @default false
|
|
98
|
-
*/
|
|
99
|
-
allowNextRowEdit?: boolean;
|
|
95
|
+
* If `allowNextRowEdit` is set as true, editing is continued to next row with keyboard navigation.
|
|
96
|
+
*
|
|
97
|
+
* @default false
|
|
98
|
+
*/
|
|
99
|
+
allowNextRowEdit?: boolean;
|
|
100
100
|
|
|
101
101
|
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
};
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
14
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17
|
-
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;
|
|
18
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
|
-
};
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17
|
+
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;
|
|
18
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
|
+
};
|
|
20
20
|
import { ChildProperty, Property } from '@syncfusion/ej2-base';
|
|
21
21
|
/**
|
|
22
22
|
* Configures the edit behavior of the TreeGrid.
|