@syncfusion/ej2-treegrid 25.2.6 → 26.1.35-469198
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 +698 -530
- package/dist/es6/ej2-treegrid.es2015.js.map +1 -1
- package/dist/es6/ej2-treegrid.es5.js +1215 -1046
- 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 +602 -0
- package/license +9 -9
- package/package.json +70 -70
- package/src/treegrid/actions/clipboard.js +13 -13
- package/src/treegrid/actions/edit.js +8 -7
- package/src/treegrid/actions/excel-export.js +4 -3
- package/src/treegrid/actions/logger.js +13 -13
- package/src/treegrid/actions/page.js +4 -0
- package/src/treegrid/actions/rowdragdrop.js +25 -14
- package/src/treegrid/actions/selection.js +4 -1
- package/src/treegrid/actions/virtual-scroll.js +13 -13
- package/src/treegrid/base/constant.js +2 -0
- package/src/treegrid/base/data.js +2 -1
- package/src/treegrid/base/interface.js +0 -1
- package/src/treegrid/base/treegrid-model.d.ts +875 -875
- package/src/treegrid/base/treegrid.js +260 -92
- 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 +15 -14
- 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 +1637 -0
- package/styles/bootstrap5.3-lite.scss +18 -0
- package/styles/bootstrap5.3.css +1657 -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 +1856 -0
- package/styles/fluent2-lite.scss +18 -0
- package/styles/fluent2.css +1879 -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 +1666 -0
- package/styles/material3-dark-lite.scss +18 -0
- package/styles/material3-dark.css +1310 -187
- package/styles/material3-dark.scss +19 -1
- package/styles/material3-lite.css +1668 -0
- package/styles/material3-lite.scss +18 -0
- package/styles/material3.css +1311 -242
- 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 +1697 -0
- package/styles/tailwind3-lite.scss +18 -0
- package/styles/tailwind3.css +1717 -0
- package/styles/tailwind3.scss +19 -0
- package/styles/treegrid/_all.scss +2 -2
- package/styles/treegrid/_bds-definition.scss +49 -28
- package/styles/treegrid/_bigger.scss +66 -0
- package/styles/treegrid/_bootstrap-dark-definition.scss +54 -30
- package/styles/treegrid/_bootstrap-definition.scss +54 -30
- package/styles/treegrid/_bootstrap4-definition.scss +54 -30
- package/styles/treegrid/_bootstrap5-definition.scss +49 -28
- package/styles/treegrid/_bootstrap5.3-definition.scss +49 -0
- package/styles/treegrid/_fabric-dark-definition.scss +54 -30
- package/styles/treegrid/_fabric-definition.scss +54 -30
- package/styles/treegrid/_fluent-definition.scss +50 -29
- package/styles/treegrid/_fluent2-definition.scss +49 -0
- package/styles/treegrid/_fusionnew-definition.scss +49 -28
- package/styles/treegrid/_highcontrast-definition.scss +54 -30
- package/styles/treegrid/_highcontrast-light-definition.scss +54 -30
- package/styles/treegrid/_icons.scss +47 -37
- package/styles/treegrid/_layout.scss +530 -455
- package/styles/treegrid/_material-dark-definition.scss +54 -30
- package/styles/treegrid/_material-definition.scss +54 -30
- package/styles/treegrid/_material3-definition.scss +49 -28
- package/styles/treegrid/_tailwind-definition.scss +49 -28
- package/styles/treegrid/_tailwind3-definition.scss +49 -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 +1657 -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 +1879 -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 +1310 -187
- package/styles/treegrid/material3-dark.scss +2 -1
- package/styles/treegrid/material3.css +1311 -242
- 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 +1717 -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/index.d.ts +0 -4
- package/index.js +0 -4
- package/src/index.d.ts +0 -4
- package/src/treegrid/actions/batch-edit.d.ts +0 -73
- package/src/treegrid/actions/clipboard.d.ts +0 -36
- package/src/treegrid/actions/column-chooser.d.ts +0 -37
- package/src/treegrid/actions/column-menu.d.ts +0 -24
- package/src/treegrid/actions/command-column.d.ts +0 -24
- package/src/treegrid/actions/context-menu.d.ts +0 -42
- package/src/treegrid/actions/crud-actions.d.ts +0 -66
- package/src/treegrid/actions/detail-row.d.ts +0 -39
- package/src/treegrid/actions/edit.d.ts +0 -112
- package/src/treegrid/actions/excel-export.d.ts +0 -59
- package/src/treegrid/actions/filter.d.ts +0 -57
- package/src/treegrid/actions/freeze-column.d.ts +0 -28
- package/src/treegrid/actions/index.d.ts +0 -24
- package/src/treegrid/actions/infinite-scroll.d.ts +0 -96
- package/src/treegrid/actions/logger.d.ts +0 -25
- package/src/treegrid/actions/page.d.ts +0 -67
- package/src/treegrid/actions/pdf-export.d.ts +0 -55
- package/src/treegrid/actions/print.d.ts +0 -37
- package/src/treegrid/actions/reorder.d.ts +0 -36
- package/src/treegrid/actions/resize.d.ts +0 -36
- package/src/treegrid/actions/rowdragdrop.d.ts +0 -113
- package/src/treegrid/actions/selection.d.ts +0 -51
- package/src/treegrid/actions/sort.d.ts +0 -63
- package/src/treegrid/actions/summary.d.ts +0 -47
- package/src/treegrid/actions/toolbar.d.ts +0 -52
- package/src/treegrid/actions/virtual-scroll.d.ts +0 -53
- package/src/treegrid/base/constant.d.ts +0 -160
- package/src/treegrid/base/data.d.ts +0 -90
- package/src/treegrid/base/index.d.ts +0 -11
- package/src/treegrid/base/interface.d.ts +0 -182
- package/src/treegrid/base/treegrid.d.ts +0 -2186
- package/src/treegrid/enum.d.ts +0 -155
- package/src/treegrid/index.d.ts +0 -9
- package/src/treegrid/models/column.d.ts +0 -752
- package/src/treegrid/models/edit-settings.d.ts +0 -90
- package/src/treegrid/models/filter-settings.d.ts +0 -203
- package/src/treegrid/models/index.d.ts +0 -24
- package/src/treegrid/models/infinite-scroll-settings.d.ts +0 -25
- package/src/treegrid/models/loading-indicator.d.ts +0 -19
- package/src/treegrid/models/page-settings.d.ts +0 -60
- package/src/treegrid/models/rowdrop-settings.d.ts +0 -27
- package/src/treegrid/models/search-settings.d.ts +0 -71
- package/src/treegrid/models/selection-settings.d.ts +0 -79
- package/src/treegrid/models/sort-settings.d.ts +0 -40
- package/src/treegrid/models/summary.d.ts +0 -124
- package/src/treegrid/models/textwrap-settings.d.ts +0 -16
- package/src/treegrid/renderer/index.d.ts +0 -5
- package/src/treegrid/renderer/render.d.ts +0 -41
- package/src/treegrid/renderer/virtual-row-model-generator.d.ts +0 -16
- package/src/treegrid/renderer/virtual-tree-content-render.d.ts +0 -75
- package/src/treegrid/utils.d.ts +0 -70
- package/treegrid.d.ts +0 -4
- package/treegrid.js +0 -4
- package/tslint.json +0 -111
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Property, ChildProperty } from '@syncfusion/ej2-base';
|
|
1
|
+
import { Property, ChildProperty } from '@syncfusion/ej2-base';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Interface for a class PageSettings
|
|
@@ -6,64 +6,64 @@ import { Property, ChildProperty } from '@syncfusion/ej2-base';import { PageSize
|
|
|
6
6
|
export interface PageSettingsModel {
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* Defines the number of records to be displayed in TreeGrid per page.
|
|
10
|
-
*
|
|
11
|
-
* @default 12
|
|
12
|
-
*/
|
|
13
|
-
pageSize?: number;
|
|
9
|
+
* Defines the number of records to be displayed in TreeGrid per page.
|
|
10
|
+
*
|
|
11
|
+
* @default 12
|
|
12
|
+
*/
|
|
13
|
+
pageSize?: number;
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
|
-
* Defines the number of pages to be displayed in the TreeGrid pager container.
|
|
17
|
-
*
|
|
18
|
-
* @default 8
|
|
19
|
-
*/
|
|
20
|
-
pageCount?: number;
|
|
16
|
+
* Defines the number of pages to be displayed in the TreeGrid pager container.
|
|
17
|
+
*
|
|
18
|
+
* @default 8
|
|
19
|
+
*/
|
|
20
|
+
pageCount?: number;
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
|
-
* Defines the current page number of the pager in TreeGrid.
|
|
24
|
-
*
|
|
25
|
-
* @default 1
|
|
26
|
-
*/
|
|
27
|
-
currentPage?: number;
|
|
23
|
+
* Defines the current page number of the pager in TreeGrid.
|
|
24
|
+
*
|
|
25
|
+
* @default 1
|
|
26
|
+
*/
|
|
27
|
+
currentPage?: number;
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
|
-
* @hidden
|
|
31
|
-
* Gets the total records count of the TreeGrid.
|
|
32
|
-
*/
|
|
33
|
-
totalRecordsCount?: number;
|
|
30
|
+
* @hidden
|
|
31
|
+
* Gets the total records count of the TreeGrid.
|
|
32
|
+
*/
|
|
33
|
+
totalRecordsCount?: number;
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
|
-
* If `enableQueryString` set to true,
|
|
37
|
-
* then it pass current page information as a query string along with the URL while navigating to other page in TreeGrid.
|
|
38
|
-
*
|
|
39
|
-
* @default false
|
|
40
|
-
*/
|
|
41
|
-
enableQueryString?: boolean;
|
|
36
|
+
* If `enableQueryString` set to true,
|
|
37
|
+
* then it pass current page information as a query string along with the URL while navigating to other page in TreeGrid.
|
|
38
|
+
*
|
|
39
|
+
* @default false
|
|
40
|
+
*/
|
|
41
|
+
enableQueryString?: boolean;
|
|
42
42
|
|
|
43
43
|
/**
|
|
44
|
-
* If `pageSizes` set to true or Array of values,
|
|
45
|
-
* It renders DropDownList in the pager of TreeGrid which allow us to select pageSize from DropDownList.
|
|
46
|
-
*
|
|
47
|
-
* @default false
|
|
48
|
-
*/
|
|
49
|
-
pageSizes?: boolean | (number | string)[];
|
|
44
|
+
* If `pageSizes` set to true or Array of values,
|
|
45
|
+
* It renders DropDownList in the pager of TreeGrid which allow us to select pageSize from DropDownList.
|
|
46
|
+
*
|
|
47
|
+
* @default false
|
|
48
|
+
*/
|
|
49
|
+
pageSizes?: boolean | (number | string)[];
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
|
-
* Defines the template which renders customized elements in pager of TreeGrid instead of default elements.
|
|
53
|
-
* It accepts either [template string](https://ej2.syncfusion.com/documentation/common/template-engine/) or HTML element ID.
|
|
54
|
-
*
|
|
55
|
-
* @default null
|
|
56
|
-
* @aspType string
|
|
57
|
-
*/
|
|
58
|
-
template?: string | Function;
|
|
52
|
+
* Defines the template which renders customized elements in pager of TreeGrid instead of default elements.
|
|
53
|
+
* It accepts either [template string](https://ej2.syncfusion.com/documentation/common/template-engine/) or HTML element ID.
|
|
54
|
+
*
|
|
55
|
+
* @default null
|
|
56
|
+
* @aspType string
|
|
57
|
+
*/
|
|
58
|
+
template?: string | Function;
|
|
59
59
|
|
|
60
60
|
/**
|
|
61
|
-
* Specifies the mode of record count in a page. The options are,
|
|
62
|
-
* * `All`: Count all the records.
|
|
63
|
-
* * `Root`: Count only zeroth level parent records.
|
|
64
|
-
*
|
|
65
|
-
* @default All
|
|
66
|
-
*/
|
|
67
|
-
pageSizeMode?: PageSizeMode;
|
|
61
|
+
* Specifies the mode of record count in a page. The options are,
|
|
62
|
+
* * `All`: Count all the records.
|
|
63
|
+
* * `Root`: Count only zeroth level parent records.
|
|
64
|
+
*
|
|
65
|
+
* @default All
|
|
66
|
+
*/
|
|
67
|
+
pageSizeMode?: PageSizeMode;
|
|
68
68
|
|
|
69
69
|
}
|
|
@@ -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 { Property, ChildProperty } from '@syncfusion/ej2-base';
|
|
21
21
|
/**
|
|
22
22
|
* Configures the paging behavior of the TreeGrid.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Property, ChildProperty } from '@syncfusion/ej2-base';
|
|
1
|
+
import { Property, ChildProperty } from '@syncfusion/ej2-base';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Interface for a class RowDropSettings
|
|
@@ -6,10 +6,10 @@ import { Property, ChildProperty } from '@syncfusion/ej2-base';import { ITreeDat
|
|
|
6
6
|
export interface RowDropSettingsModel {
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* Defines the ID of droppable component on which row drop should occur.
|
|
10
|
-
*
|
|
11
|
-
* @default null
|
|
12
|
-
*/
|
|
13
|
-
targetID?: string;
|
|
9
|
+
* Defines the ID of droppable component on which row drop should occur.
|
|
10
|
+
*
|
|
11
|
+
* @default null
|
|
12
|
+
*/
|
|
13
|
+
targetID?: string;
|
|
14
14
|
|
|
15
15
|
}
|
|
@@ -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 { Property, ChildProperty } from '@syncfusion/ej2-base';
|
|
21
21
|
/**
|
|
22
22
|
* Configures the row drop settings of the TreeGrid.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Property, ChildProperty } from '@syncfusion/ej2-base';
|
|
1
|
+
import { Property, ChildProperty } from '@syncfusion/ej2-base';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Interface for a class SearchSettings
|
|
@@ -6,72 +6,72 @@ import { Property, ChildProperty } from '@syncfusion/ej2-base';import { FilterHi
|
|
|
6
6
|
export interface SearchSettingsModel {
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* Specifies the columns to be searched at initial rendering of the TreeGrid. You can also get the columns that were currently filtered.
|
|
10
|
-
*
|
|
11
|
-
* @default []
|
|
12
|
-
*/
|
|
13
|
-
fields?: string[];
|
|
9
|
+
* Specifies the columns to be searched at initial rendering of the TreeGrid. You can also get the columns that were currently filtered.
|
|
10
|
+
*
|
|
11
|
+
* @default []
|
|
12
|
+
*/
|
|
13
|
+
fields?: string[];
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
|
-
* If ignoreCase set to true, then search ignores the diacritic characters or accents while filtering.
|
|
17
|
-
*
|
|
18
|
-
* > Check the [`Diacritics`](../../treegrid/filtering/#diacritics/) filtering.
|
|
19
|
-
*
|
|
20
|
-
* @default false
|
|
21
|
-
*/
|
|
22
|
-
ignoreCase?: boolean;
|
|
16
|
+
* If ignoreCase set to true, then search ignores the diacritic characters or accents while filtering.
|
|
17
|
+
*
|
|
18
|
+
* > Check the [`Diacritics`](../../treegrid/filtering/#diacritics/) filtering.
|
|
19
|
+
*
|
|
20
|
+
* @default false
|
|
21
|
+
*/
|
|
22
|
+
ignoreCase?: boolean;
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
* Defines the operator to search records. The available operators are:
|
|
26
|
-
* <table>
|
|
27
|
-
* <tr>
|
|
28
|
-
* <td colspan=1 rowspan=1>
|
|
29
|
-
* Operator<br/></td><td colspan=1 rowspan=1>
|
|
30
|
-
* Description<br/></td></tr>
|
|
31
|
-
* <tr>
|
|
32
|
-
* <td colspan=1 rowspan=1>
|
|
33
|
-
* startswith<br/></td><td colspan=1 rowspan=1>
|
|
34
|
-
* Checks whether the string begins with the specified string.<br/></td></tr>
|
|
35
|
-
* <tr>
|
|
36
|
-
* <td colspan=1 rowspan=1>
|
|
37
|
-
* endswith<br/></td><td colspan=1 rowspan=1>
|
|
38
|
-
* Checks whether the string ends with the specified string.<br/></td></tr>
|
|
39
|
-
* <tr>
|
|
40
|
-
* <td colspan=1 rowspan=1>
|
|
41
|
-
* contains<br/></td><td colspan=1 rowspan=1>
|
|
42
|
-
* Checks whether the string contains the specified string. <br/></td></tr>
|
|
43
|
-
* <tr>
|
|
44
|
-
* <td colspan=1 rowspan=1>
|
|
45
|
-
* equal<br/></td><td colspan=1 rowspan=1>
|
|
46
|
-
* Checks whether the string is equal to the specified string.<br/></td></tr>
|
|
47
|
-
* <tr>
|
|
48
|
-
* <td colspan=1 rowspan=1>
|
|
49
|
-
* notequal<br/></td><td colspan=1 rowspan=1>
|
|
50
|
-
* Checks for strings not equal to the specified string. <br/></td></tr>
|
|
51
|
-
* </table>
|
|
52
|
-
*
|
|
53
|
-
* @default 'contains'
|
|
54
|
-
*/
|
|
55
|
-
operator?: string;
|
|
25
|
+
* Defines the operator to search records. The available operators are:
|
|
26
|
+
* <table>
|
|
27
|
+
* <tr>
|
|
28
|
+
* <td colspan=1 rowspan=1>
|
|
29
|
+
* Operator<br/></td><td colspan=1 rowspan=1>
|
|
30
|
+
* Description<br/></td></tr>
|
|
31
|
+
* <tr>
|
|
32
|
+
* <td colspan=1 rowspan=1>
|
|
33
|
+
* startswith<br/></td><td colspan=1 rowspan=1>
|
|
34
|
+
* Checks whether the string begins with the specified string.<br/></td></tr>
|
|
35
|
+
* <tr>
|
|
36
|
+
* <td colspan=1 rowspan=1>
|
|
37
|
+
* endswith<br/></td><td colspan=1 rowspan=1>
|
|
38
|
+
* Checks whether the string ends with the specified string.<br/></td></tr>
|
|
39
|
+
* <tr>
|
|
40
|
+
* <td colspan=1 rowspan=1>
|
|
41
|
+
* contains<br/></td><td colspan=1 rowspan=1>
|
|
42
|
+
* Checks whether the string contains the specified string. <br/></td></tr>
|
|
43
|
+
* <tr>
|
|
44
|
+
* <td colspan=1 rowspan=1>
|
|
45
|
+
* equal<br/></td><td colspan=1 rowspan=1>
|
|
46
|
+
* Checks whether the string is equal to the specified string.<br/></td></tr>
|
|
47
|
+
* <tr>
|
|
48
|
+
* <td colspan=1 rowspan=1>
|
|
49
|
+
* notequal<br/></td><td colspan=1 rowspan=1>
|
|
50
|
+
* Checks for strings not equal to the specified string. <br/></td></tr>
|
|
51
|
+
* </table>
|
|
52
|
+
*
|
|
53
|
+
* @default 'contains'
|
|
54
|
+
*/
|
|
55
|
+
operator?: string;
|
|
56
56
|
|
|
57
57
|
/**
|
|
58
|
-
* A key word for searching the TreeGrid content.
|
|
59
|
-
*/
|
|
60
|
-
key?: string;
|
|
58
|
+
* A key word for searching the TreeGrid content.
|
|
59
|
+
*/
|
|
60
|
+
key?: string;
|
|
61
61
|
|
|
62
62
|
/**
|
|
63
|
-
* Defines the search hierarchy modes. The available options are,
|
|
64
|
-
* ```props
|
|
65
|
-
* * Parent :- Shows the searched record with parent record.
|
|
66
|
-
* * Child :- Shows the searched record with child record.
|
|
67
|
-
* * Both :- shows the searched record with both parent and child record.
|
|
68
|
-
* * None :- Shows only the searched record.
|
|
69
|
-
* ```
|
|
70
|
-
*
|
|
71
|
-
* @default Parent
|
|
72
|
-
* @isEnumeration true
|
|
73
|
-
* @aspType FilterHierarchyMode
|
|
74
|
-
*/
|
|
75
|
-
hierarchyMode?: FilterHierarchyMode;
|
|
63
|
+
* Defines the search hierarchy modes. The available options are,
|
|
64
|
+
* ```props
|
|
65
|
+
* * Parent :- Shows the searched record with parent record.
|
|
66
|
+
* * Child :- Shows the searched record with child record.
|
|
67
|
+
* * Both :- shows the searched record with both parent and child record.
|
|
68
|
+
* * None :- Shows only the searched record.
|
|
69
|
+
* ```
|
|
70
|
+
*
|
|
71
|
+
* @default Parent
|
|
72
|
+
* @isEnumeration true
|
|
73
|
+
* @aspType FilterHierarchyMode
|
|
74
|
+
*/
|
|
75
|
+
hierarchyMode?: FilterHierarchyMode;
|
|
76
76
|
|
|
77
77
|
}
|
|
@@ -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 { Property, ChildProperty } from '@syncfusion/ej2-base';
|
|
21
21
|
/**
|
|
22
22
|
* Configures the filtering behavior of the TreeGrid.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Property, ChildProperty } from '@syncfusion/ej2-base';
|
|
1
|
+
import { Property, ChildProperty } from '@syncfusion/ej2-base';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Interface for a class SelectionSettings
|
|
@@ -6,82 +6,82 @@ import { Property, ChildProperty } from '@syncfusion/ej2-base';import { Selectio
|
|
|
6
6
|
export interface SelectionSettingsModel {
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* TreeGrid supports row, cell, and both (row and cell) selection mode.
|
|
10
|
-
* ```props
|
|
11
|
-
* * Row :- Selects the entire row.
|
|
12
|
-
* * Cell :- Selects the cell alone.
|
|
13
|
-
* * Both :- Selects the entire row and its cell.
|
|
14
|
-
* ```
|
|
15
|
-
*
|
|
16
|
-
* @default Syncfusion.EJ2.Grids.SelectionMode.Row
|
|
17
|
-
* @isEnumeration true
|
|
18
|
-
* @aspType Syncfusion.EJ2.Grids.SelectionMode
|
|
19
|
-
*/
|
|
20
|
-
mode?: SelectionMode;
|
|
9
|
+
* TreeGrid supports row, cell, and both (row and cell) selection mode.
|
|
10
|
+
* ```props
|
|
11
|
+
* * Row :- Selects the entire row.
|
|
12
|
+
* * Cell :- Selects the cell alone.
|
|
13
|
+
* * Both :- Selects the entire row and its cell.
|
|
14
|
+
* ```
|
|
15
|
+
*
|
|
16
|
+
* @default Syncfusion.EJ2.Grids.SelectionMode.Row
|
|
17
|
+
* @isEnumeration true
|
|
18
|
+
* @aspType Syncfusion.EJ2.Grids.SelectionMode
|
|
19
|
+
*/
|
|
20
|
+
mode?: SelectionMode;
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
|
-
* The cell selection modes are flow and box. It requires the selection
|
|
24
|
-
* [`mode`](#mode) to be either cell or both.
|
|
25
|
-
* ```props
|
|
26
|
-
* * Flow :- Selects the range of cells between start index and end index that also includes the other cells of the selected rows.
|
|
27
|
-
* * Box :- Selects the range of cells within the start and end column indexes that includes in between cells of rows within the range.
|
|
28
|
-
* ```
|
|
29
|
-
*
|
|
30
|
-
* @default Syncfusion.EJ2.Grids.CellSelectionMode.Flow
|
|
31
|
-
* @isEnumeration true
|
|
32
|
-
* @aspType Syncfusion.EJ2.Grids.CellSelectionMode
|
|
33
|
-
*/
|
|
34
|
-
cellSelectionMode?: CellSelectionMode;
|
|
23
|
+
* The cell selection modes are flow and box. It requires the selection
|
|
24
|
+
* [`mode`](#mode) to be either cell or both.
|
|
25
|
+
* ```props
|
|
26
|
+
* * Flow :- Selects the range of cells between start index and end index that also includes the other cells of the selected rows.
|
|
27
|
+
* * Box :- Selects the range of cells within the start and end column indexes that includes in between cells of rows within the range.
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* @default Syncfusion.EJ2.Grids.CellSelectionMode.Flow
|
|
31
|
+
* @isEnumeration true
|
|
32
|
+
* @aspType Syncfusion.EJ2.Grids.CellSelectionMode
|
|
33
|
+
*/
|
|
34
|
+
cellSelectionMode?: CellSelectionMode;
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
|
-
* Defines options for selection type. They are
|
|
38
|
-
* ```props
|
|
39
|
-
* * Single :- Allows selection of only a row or a cell.
|
|
40
|
-
* * Multiple :- Allows selection of multiple rows or cells.
|
|
41
|
-
* ```
|
|
42
|
-
*
|
|
43
|
-
* @default Syncfusion.EJ2.Grids.SelectionType.Single
|
|
44
|
-
* @isEnumeration true
|
|
45
|
-
* @aspType Syncfusion.EJ2.Grids.SelectionType
|
|
46
|
-
*/
|
|
47
|
-
type?: SelectionType;
|
|
37
|
+
* Defines options for selection type. They are
|
|
38
|
+
* ```props
|
|
39
|
+
* * Single :- Allows selection of only a row or a cell.
|
|
40
|
+
* * Multiple :- Allows selection of multiple rows or cells.
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* @default Syncfusion.EJ2.Grids.SelectionType.Single
|
|
44
|
+
* @isEnumeration true
|
|
45
|
+
* @aspType Syncfusion.EJ2.Grids.SelectionType
|
|
46
|
+
*/
|
|
47
|
+
type?: SelectionType;
|
|
48
48
|
|
|
49
49
|
/**
|
|
50
|
-
* If 'persistSelection' set to true, then the TreeGrid selection is persisted on all operations.
|
|
51
|
-
* For persisting selection in the TreeGrid, any one of the column should be enabled as a primary key.
|
|
52
|
-
*
|
|
53
|
-
* @default false
|
|
54
|
-
*/
|
|
55
|
-
persistSelection?: boolean;
|
|
50
|
+
* If 'persistSelection' set to true, then the TreeGrid selection is persisted on all operations.
|
|
51
|
+
* For persisting selection in the TreeGrid, any one of the column should be enabled as a primary key.
|
|
52
|
+
*
|
|
53
|
+
* @default false
|
|
54
|
+
*/
|
|
55
|
+
persistSelection?: boolean;
|
|
56
56
|
|
|
57
57
|
/**
|
|
58
|
-
* Defines options for checkbox selection Mode. They are
|
|
59
|
-
* ```props
|
|
60
|
-
* * Default :- This is the default value of the checkboxMode. In this mode, user can select multiple rows by clicking rows one by one.
|
|
61
|
-
* * ResetOnRowClick :- In ResetOnRowClick mode, on clicking a row it will reset previously selected row and also multiple.
|
|
62
|
-
* ```
|
|
63
|
-
* rows can be selected by using CTRL or SHIFT key.
|
|
64
|
-
*
|
|
65
|
-
* @default Syncfusion.EJ2.Grids.CheckboxSelectionType.Default
|
|
66
|
-
* @isEnumeration true
|
|
67
|
-
* @aspType Syncfusion.EJ2.Grids.CheckboxSelectionType
|
|
68
|
-
*/
|
|
69
|
-
checkboxMode?: CheckboxSelectionType;
|
|
58
|
+
* Defines options for checkbox selection Mode. They are
|
|
59
|
+
* ```props
|
|
60
|
+
* * Default :- This is the default value of the checkboxMode. In this mode, user can select multiple rows by clicking rows one by one.
|
|
61
|
+
* * ResetOnRowClick :- In ResetOnRowClick mode, on clicking a row it will reset previously selected row and also multiple.
|
|
62
|
+
* ```
|
|
63
|
+
* rows can be selected by using CTRL or SHIFT key.
|
|
64
|
+
*
|
|
65
|
+
* @default Syncfusion.EJ2.Grids.CheckboxSelectionType.Default
|
|
66
|
+
* @isEnumeration true
|
|
67
|
+
* @aspType Syncfusion.EJ2.Grids.CheckboxSelectionType
|
|
68
|
+
*/
|
|
69
|
+
checkboxMode?: CheckboxSelectionType;
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
|
-
* If 'checkboxOnly' set to true, then the TreeGrid selection is allowed only through checkbox.
|
|
73
|
-
*
|
|
74
|
-
* > To enable checkboxOnly selection, should specify the column type as `checkbox`.
|
|
75
|
-
*
|
|
76
|
-
* @default false
|
|
77
|
-
*/
|
|
78
|
-
checkboxOnly?: boolean;
|
|
72
|
+
* If 'checkboxOnly' set to true, then the TreeGrid selection is allowed only through checkbox.
|
|
73
|
+
*
|
|
74
|
+
* > To enable checkboxOnly selection, should specify the column type as `checkbox`.
|
|
75
|
+
*
|
|
76
|
+
* @default false
|
|
77
|
+
*/
|
|
78
|
+
checkboxOnly?: boolean;
|
|
79
79
|
|
|
80
80
|
/**
|
|
81
|
-
* If ‘enableToggle’ set to true, then the user can able to perform toggle for the selected row.
|
|
82
|
-
*
|
|
83
|
-
* @default true
|
|
84
|
-
*/
|
|
85
|
-
enableToggle?: boolean;
|
|
81
|
+
* If ‘enableToggle’ set to true, then the user can able to perform toggle for the selected row.
|
|
82
|
+
*
|
|
83
|
+
* @default true
|
|
84
|
+
*/
|
|
85
|
+
enableToggle?: boolean;
|
|
86
86
|
|
|
87
87
|
}
|
|
@@ -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 { Property, ChildProperty } from '@syncfusion/ej2-base';
|
|
21
21
|
/**
|
|
22
22
|
* Configures the selection behavior of the TreeGrid.
|