@syncfusion/ej2-treegrid 31.1.17 → 31.1.20
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 +13 -4
- package/dist/es6/ej2-treegrid.es2015.js.map +1 -1
- package/dist/es6/ej2-treegrid.es5.js +13 -4
- 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/package.json +14 -50
- package/src/treegrid/actions/edit.js +1 -1
- package/src/treegrid/actions/rowdragdrop.js +12 -3
- package/styles/bootstrap4-lite.css +8 -0
- package/styles/bootstrap4.css +8 -0
- package/styles/treegrid/bootstrap4.css +8 -0
- package/dist/ts/index.d.ts +0 -4
- package/dist/ts/index.ts +0 -4
- package/dist/ts/treegrid/actions/batch-edit.d.ts +0 -74
- package/dist/ts/treegrid/actions/batch-edit.ts +0 -627
- package/dist/ts/treegrid/actions/clipboard.d.ts +0 -36
- package/dist/ts/treegrid/actions/clipboard.ts +0 -174
- package/dist/ts/treegrid/actions/column-chooser.d.ts +0 -37
- package/dist/ts/treegrid/actions/column-chooser.ts +0 -55
- package/dist/ts/treegrid/actions/column-menu.d.ts +0 -24
- package/dist/ts/treegrid/actions/column-menu.ts +0 -39
- package/dist/ts/treegrid/actions/command-column.d.ts +0 -24
- package/dist/ts/treegrid/actions/command-column.ts +0 -32
- package/dist/ts/treegrid/actions/context-menu.d.ts +0 -42
- package/dist/ts/treegrid/actions/context-menu.ts +0 -149
- package/dist/ts/treegrid/actions/crud-actions.d.ts +0 -66
- package/dist/ts/treegrid/actions/crud-actions.ts +0 -388
- package/dist/ts/treegrid/actions/detail-row.d.ts +0 -39
- package/dist/ts/treegrid/actions/detail-row.ts +0 -124
- package/dist/ts/treegrid/actions/edit.d.ts +0 -121
- package/dist/ts/treegrid/actions/edit.ts +0 -1083
- package/dist/ts/treegrid/actions/excel-export.d.ts +0 -67
- package/dist/ts/treegrid/actions/excel-export.ts +0 -240
- package/dist/ts/treegrid/actions/filter.d.ts +0 -57
- package/dist/ts/treegrid/actions/filter.ts +0 -231
- package/dist/ts/treegrid/actions/freeze-column.d.ts +0 -28
- package/dist/ts/treegrid/actions/freeze-column.ts +0 -119
- package/dist/ts/treegrid/actions/index.d.ts +0 -24
- package/dist/ts/treegrid/actions/index.ts +0 -24
- package/dist/ts/treegrid/actions/infinite-scroll.d.ts +0 -96
- package/dist/ts/treegrid/actions/infinite-scroll.ts +0 -320
- package/dist/ts/treegrid/actions/logger.d.ts +0 -25
- package/dist/ts/treegrid/actions/logger.ts +0 -136
- package/dist/ts/treegrid/actions/page.d.ts +0 -67
- package/dist/ts/treegrid/actions/page.ts +0 -212
- package/dist/ts/treegrid/actions/pdf-export.d.ts +0 -63
- package/dist/ts/treegrid/actions/pdf-export.ts +0 -182
- package/dist/ts/treegrid/actions/print.d.ts +0 -37
- package/dist/ts/treegrid/actions/print.ts +0 -69
- package/dist/ts/treegrid/actions/reorder.d.ts +0 -36
- package/dist/ts/treegrid/actions/reorder.ts +0 -60
- package/dist/ts/treegrid/actions/resize.d.ts +0 -36
- package/dist/ts/treegrid/actions/resize.ts +0 -54
- package/dist/ts/treegrid/actions/rowdragdrop.d.ts +0 -405
- package/dist/ts/treegrid/actions/rowdragdrop.ts +0 -1896
- package/dist/ts/treegrid/actions/selection.d.ts +0 -51
- package/dist/ts/treegrid/actions/selection.ts +0 -530
- package/dist/ts/treegrid/actions/sort.d.ts +0 -63
- package/dist/ts/treegrid/actions/sort.ts +0 -149
- package/dist/ts/treegrid/actions/summary.d.ts +0 -47
- package/dist/ts/treegrid/actions/summary.ts +0 -231
- package/dist/ts/treegrid/actions/toolbar.d.ts +0 -52
- package/dist/ts/treegrid/actions/toolbar.ts +0 -154
- package/dist/ts/treegrid/actions/virtual-scroll.d.ts +0 -90
- package/dist/ts/treegrid/actions/virtual-scroll.ts +0 -306
- package/dist/ts/treegrid/base/constant.d.ts +0 -158
- package/dist/ts/treegrid/base/constant.ts +0 -158
- package/dist/ts/treegrid/base/data.d.ts +0 -90
- package/dist/ts/treegrid/base/data.ts +0 -904
- package/dist/ts/treegrid/base/index.d.ts +0 -11
- package/dist/ts/treegrid/base/index.ts +0 -11
- package/dist/ts/treegrid/base/interface.d.ts +0 -186
- package/dist/ts/treegrid/base/interface.ts +0 -191
- package/dist/ts/treegrid/base/treegrid-model.d.ts +0 -1100
- package/dist/ts/treegrid/base/treegrid.d.ts +0 -2422
- package/dist/ts/treegrid/base/treegrid.ts +0 -5962
- package/dist/ts/treegrid/enum.d.ts +0 -152
- package/dist/ts/treegrid/enum.ts +0 -217
- package/dist/ts/treegrid/index.d.ts +0 -9
- package/dist/ts/treegrid/index.ts +0 -9
- package/dist/ts/treegrid/models/column-chooser-settings-model.d.ts +0 -62
- package/dist/ts/treegrid/models/column-chooser-settings.d.ts +0 -53
- package/dist/ts/treegrid/models/column-chooser-settings.ts +0 -67
- package/dist/ts/treegrid/models/column-model.d.ts +0 -30
- package/dist/ts/treegrid/models/column.d.ts +0 -697
- package/dist/ts/treegrid/models/column.ts +0 -800
- package/dist/ts/treegrid/models/edit-settings-model.d.ts +0 -100
- package/dist/ts/treegrid/models/edit-settings.d.ts +0 -89
- package/dist/ts/treegrid/models/edit-settings.ts +0 -111
- package/dist/ts/treegrid/models/filter-settings-model.d.ts +0 -216
- package/dist/ts/treegrid/models/filter-settings.d.ts +0 -195
- package/dist/ts/treegrid/models/filter-settings.ts +0 -237
- package/dist/ts/treegrid/models/index.d.ts +0 -24
- package/dist/ts/treegrid/models/index.ts +0 -24
- package/dist/ts/treegrid/models/infinite-scroll-settings-model.d.ts +0 -29
- package/dist/ts/treegrid/models/infinite-scroll-settings.d.ts +0 -25
- package/dist/ts/treegrid/models/infinite-scroll-settings.ts +0 -31
- package/dist/ts/treegrid/models/loading-indicator-model.d.ts +0 -21
- package/dist/ts/treegrid/models/loading-indicator.d.ts +0 -19
- package/dist/ts/treegrid/models/loading-indicator.ts +0 -21
- package/dist/ts/treegrid/models/page-settings-model.d.ts +0 -66
- package/dist/ts/treegrid/models/page-settings.d.ts +0 -57
- package/dist/ts/treegrid/models/page-settings.ts +0 -73
- package/dist/ts/treegrid/models/rowdrop-settings-model.d.ts +0 -15
- package/dist/ts/treegrid/models/rowdrop-settings.d.ts +0 -34
- package/dist/ts/treegrid/models/rowdrop-settings.ts +0 -37
- package/dist/ts/treegrid/models/search-settings-model.d.ts +0 -79
- package/dist/ts/treegrid/models/search-settings.d.ts +0 -73
- package/dist/ts/treegrid/models/search-settings.ts +0 -83
- package/dist/ts/treegrid/models/selection-settings-model.d.ts +0 -76
- package/dist/ts/treegrid/models/selection-settings.d.ts +0 -68
- package/dist/ts/treegrid/models/selection-settings.ts +0 -82
- package/dist/ts/treegrid/models/sort-settings-model.d.ts +0 -49
- package/dist/ts/treegrid/models/sort-settings.d.ts +0 -43
- package/dist/ts/treegrid/models/sort-settings.ts +0 -51
- package/dist/ts/treegrid/models/summary-model.d.ts +0 -93
- package/dist/ts/treegrid/models/summary.d.ts +0 -126
- package/dist/ts/treegrid/models/summary.ts +0 -170
- package/dist/ts/treegrid/models/textwrap-settings-model.d.ts +0 -21
- package/dist/ts/treegrid/models/textwrap-settings.d.ts +0 -19
- package/dist/ts/treegrid/models/textwrap-settings.ts +0 -21
- package/dist/ts/treegrid/renderer/index.d.ts +0 -5
- package/dist/ts/treegrid/renderer/index.ts +0 -5
- package/dist/ts/treegrid/renderer/render.d.ts +0 -41
- package/dist/ts/treegrid/renderer/render.ts +0 -379
- package/dist/ts/treegrid/renderer/virtual-row-model-generator.d.ts +0 -16
- package/dist/ts/treegrid/renderer/virtual-row-model-generator.ts +0 -90
- package/dist/ts/treegrid/renderer/virtual-tree-content-render.d.ts +0 -353
- package/dist/ts/treegrid/renderer/virtual-tree-content-render.ts +0 -1125
- package/dist/ts/treegrid/utils.d.ts +0 -70
- package/dist/ts/treegrid/utils.ts +0 -217
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Defines modes of Filter Hierarchy used in TreeGrids.
|
|
3
|
-
* The available modes are:
|
|
4
|
-
* * `Parent`: Shows filtered records along with their parent records.
|
|
5
|
-
* * `Child`: Shows filtered records along with their child records.
|
|
6
|
-
* * `Both`: Shows filtered records with both parent and child records.
|
|
7
|
-
* * `None`: Shows only the filtered records without any parent or child context.
|
|
8
|
-
*/
|
|
9
|
-
export declare type FilterHierarchyMode = 'Parent' | 'Child' | 'Both' | 'None';
|
|
10
|
-
/**
|
|
11
|
-
* Defines predefined toolbar items for TreeGrids.
|
|
12
|
-
* The available toolbar items are:
|
|
13
|
-
* * `Add`: Add a new record.
|
|
14
|
-
* * `Edit`: Edit the selected record.
|
|
15
|
-
* * `Update`: Update the edited record.
|
|
16
|
-
* * `Delete`: Delete the selected record.
|
|
17
|
-
* * `Cancel`: Cancel the current edit operation.
|
|
18
|
-
* * `Search`: Search TreeGrid records by a given key.
|
|
19
|
-
* * `ExpandAll`: Expand all the rows in the TreeGrid.
|
|
20
|
-
* * `CollapseAll`: Collapse all the rows in the TreeGrid.
|
|
21
|
-
* * `ExcelExport`: Export the TreeGrid as an Excel document.
|
|
22
|
-
* * `PdfExport`: Export the TreeGrid as a PDF document.
|
|
23
|
-
* * `CsvExport`: Export the TreeGrid as a CSV document.
|
|
24
|
-
* * `Print`: Print the TreeGrid contents.
|
|
25
|
-
*
|
|
26
|
-
* @hidden
|
|
27
|
-
*/
|
|
28
|
-
export declare type ToolbarItems = 'Add' | 'Delete' | 'Update' | 'Cancel' | 'Edit' | 'Search' | 'ExpandAll' | 'CollapseAll' | 'ExcelExport' | 'PdfExport' | 'CsvExport' | 'Print';
|
|
29
|
-
/**
|
|
30
|
-
* Defines enumerable toolbar items for programmatic access.
|
|
31
|
-
*
|
|
32
|
-
* @hidden
|
|
33
|
-
*/
|
|
34
|
-
export declare enum ToolbarItem {
|
|
35
|
-
Add = 0,
|
|
36
|
-
Edit = 1,
|
|
37
|
-
Update = 2,
|
|
38
|
-
Delete = 3,
|
|
39
|
-
Cancel = 4,
|
|
40
|
-
Search = 5,
|
|
41
|
-
ExpandAll = 6,
|
|
42
|
-
CollapseAll = 7,
|
|
43
|
-
ExcelExport = 8,
|
|
44
|
-
PdfExport = 9,
|
|
45
|
-
CsvExport = 10,
|
|
46
|
-
Print = 11,
|
|
47
|
-
RowIndent = 12,
|
|
48
|
-
RowOutdent = 13
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Defines the available PageSizeMode options for pagination in a tree grid structure.
|
|
52
|
-
*
|
|
53
|
-
* The available page size modes are:
|
|
54
|
-
*
|
|
55
|
-
* * `All`: Considers all records, including both parent and child records, when calculating the number of records per page.
|
|
56
|
-
* * `Root`: Considers only root-level parent records, excluding child records, when calculating the number of records per page.
|
|
57
|
-
*/
|
|
58
|
-
export declare type PageSizeMode = 'All' | 'Root';
|
|
59
|
-
/**
|
|
60
|
-
* Defines predefined context menu items for row and column interactions.
|
|
61
|
-
* The available context menu items are:
|
|
62
|
-
* * `AutoFitAll`: Automatically fit the size of all columns.
|
|
63
|
-
* * `AutoFit`: Automatically fit the size of the current column.
|
|
64
|
-
* * `SortAscending`: Sort the current column in ascending order.
|
|
65
|
-
* * `SortDescending`: Sort the current column in descending order.
|
|
66
|
-
* * `Edit`: Edit the current record.
|
|
67
|
-
* * `Delete`: Delete the current record.
|
|
68
|
-
* * `Save`: Save the edited state.
|
|
69
|
-
* * `Cancel`: Cancel the current edit operation.
|
|
70
|
-
* * `PdfExport`: Export the TreeGrid as a PDF format.
|
|
71
|
-
* * `ExcelExport`: Export the TreeGrid as an Excel format.
|
|
72
|
-
* * `CsvExport`: Export the TreeGrid as a CSV format.
|
|
73
|
-
* * `FirstPage`: Navigate to the first page.
|
|
74
|
-
* * `PrevPage`: Navigate to the previous page.
|
|
75
|
-
* * `LastPage`: Navigate to the last page.
|
|
76
|
-
* * `NextPage`: Navigate to the next page.
|
|
77
|
-
* * `AddRow`: Add a new row.
|
|
78
|
-
* * `Indent`: Indent the selected rows.
|
|
79
|
-
* * `Outdent`: Outdent the selected rows.
|
|
80
|
-
*
|
|
81
|
-
* @hidden
|
|
82
|
-
*/
|
|
83
|
-
export declare type ContextMenuItem = 'AutoFitAll' | 'AutoFit' | 'SortAscending' | 'SortDescending' | 'Edit' | 'Delete' | 'Save' | 'Cancel' | 'PdfExport' | 'ExcelExport' | 'CsvExport' | 'FirstPage' | 'PrevPage' | 'LastPage' | 'NextPage' | 'AddRow' | 'Indent' | 'Outdent';
|
|
84
|
-
/**
|
|
85
|
-
* Enumerates detailed context menu items used for menu configurations.
|
|
86
|
-
*
|
|
87
|
-
* @hidden
|
|
88
|
-
*/
|
|
89
|
-
export declare enum ContextMenuItems {
|
|
90
|
-
AutoFit = 0,
|
|
91
|
-
AutoFitAll = 1,
|
|
92
|
-
SortAscending = 2,
|
|
93
|
-
SortDescending = 3,
|
|
94
|
-
Edit = 4,
|
|
95
|
-
Delete = 5,
|
|
96
|
-
Save = 6,
|
|
97
|
-
Cancel = 7,
|
|
98
|
-
PdfExport = 8,
|
|
99
|
-
ExcelExport = 9,
|
|
100
|
-
CsvExport = 10,
|
|
101
|
-
FirstPage = 11,
|
|
102
|
-
PrevPage = 12,
|
|
103
|
-
LastPage = 13,
|
|
104
|
-
NextPage = 14,
|
|
105
|
-
AddRow = 15,
|
|
106
|
-
RowIndent = 16,
|
|
107
|
-
RowOutdent = 17
|
|
108
|
-
}
|
|
109
|
-
/**
|
|
110
|
-
* Defines modes of editing supported by TreeGrids.
|
|
111
|
-
* The available editing modes are:
|
|
112
|
-
* * `Cell`: Enables cell editing mode.
|
|
113
|
-
* * `Row`: Enables row editing mode.
|
|
114
|
-
* * `Dialog`: Opens a dialog for editing.
|
|
115
|
-
* * `Batch`: Allows for batch editing of multiple records.
|
|
116
|
-
*/
|
|
117
|
-
export declare type EditMode = 'Cell' | 'Row' | 'Dialog' | 'Batch';
|
|
118
|
-
/**
|
|
119
|
-
* Defines the target position for adding new rows in the TreeGrid.
|
|
120
|
-
* The available positions are:
|
|
121
|
-
* * `Top`: Adds a new row at the top of all rows.
|
|
122
|
-
* * `Bottom`: Adds a new row at the bottom of all rows.
|
|
123
|
-
* * `Above`: Adds a new row above the currently selected row.
|
|
124
|
-
* * `Below`: Adds a new row below the currently selected row.
|
|
125
|
-
* * `Child`: Adds a new row as a child to the currently selected row.
|
|
126
|
-
*/
|
|
127
|
-
export declare type RowPosition = 'Top' | 'Bottom' | 'Above' | 'Below' | 'Child';
|
|
128
|
-
/**
|
|
129
|
-
* Defines types of filters available in TreeGrids.
|
|
130
|
-
* The available filter types are:
|
|
131
|
-
* * `Menu`: Applies a dialog-based filtering option, where users can select operators such as 'equals', 'contains', etc., and enter filter values for more granular control.
|
|
132
|
-
* * `Excel`: Provides Excel-like filtering capabilities.
|
|
133
|
-
* * `FilterBar`: Uses a filter bar at the top of each column.
|
|
134
|
-
*/
|
|
135
|
-
export declare type FilterType = 'FilterBar' | 'Excel' | 'Menu';
|
|
136
|
-
/**
|
|
137
|
-
* Defines wrapping modes for column content in TreeGrids.
|
|
138
|
-
* The available wrap modes are:
|
|
139
|
-
* * `Both`: Wraps both header and content.
|
|
140
|
-
* * `Header`: Wraps only the header.
|
|
141
|
-
* * `Content`: Wraps only the content.
|
|
142
|
-
*/
|
|
143
|
-
export declare type WrapMode = 'Both' | 'Header' | 'Content';
|
|
144
|
-
/**
|
|
145
|
-
* Defines the types of CopyHierarchyMode for grid data.
|
|
146
|
-
* The available copy hierarchy types are:
|
|
147
|
-
* * `Parent`: Copies data maintaining only parent hierarchy.
|
|
148
|
-
* * `Child`: Copies data with child hierarchy.
|
|
149
|
-
* * `Both`: Maintains both parent and child hierarchy during copy.
|
|
150
|
-
* * `None`: Copies data without any hierarchy structure.
|
|
151
|
-
*/
|
|
152
|
-
export declare type CopyHierarchyType = 'Parent' | 'Child' | 'Both' | 'None';
|
package/dist/ts/treegrid/enum.ts
DELETED
|
@@ -1,217 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Defines modes of Filter Hierarchy used in TreeGrids.
|
|
3
|
-
* The available modes are:
|
|
4
|
-
* * `Parent`: Shows filtered records along with their parent records.
|
|
5
|
-
* * `Child`: Shows filtered records along with their child records.
|
|
6
|
-
* * `Both`: Shows filtered records with both parent and child records.
|
|
7
|
-
* * `None`: Shows only the filtered records without any parent or child context.
|
|
8
|
-
*/
|
|
9
|
-
export type FilterHierarchyMode =
|
|
10
|
-
'Parent' |
|
|
11
|
-
'Child' |
|
|
12
|
-
'Both' |
|
|
13
|
-
'None';
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Defines predefined toolbar items for TreeGrids.
|
|
17
|
-
* The available toolbar items are:
|
|
18
|
-
* * `Add`: Add a new record.
|
|
19
|
-
* * `Edit`: Edit the selected record.
|
|
20
|
-
* * `Update`: Update the edited record.
|
|
21
|
-
* * `Delete`: Delete the selected record.
|
|
22
|
-
* * `Cancel`: Cancel the current edit operation.
|
|
23
|
-
* * `Search`: Search TreeGrid records by a given key.
|
|
24
|
-
* * `ExpandAll`: Expand all the rows in the TreeGrid.
|
|
25
|
-
* * `CollapseAll`: Collapse all the rows in the TreeGrid.
|
|
26
|
-
* * `ExcelExport`: Export the TreeGrid as an Excel document.
|
|
27
|
-
* * `PdfExport`: Export the TreeGrid as a PDF document.
|
|
28
|
-
* * `CsvExport`: Export the TreeGrid as a CSV document.
|
|
29
|
-
* * `Print`: Print the TreeGrid contents.
|
|
30
|
-
*
|
|
31
|
-
* @hidden
|
|
32
|
-
*/
|
|
33
|
-
export type ToolbarItems =
|
|
34
|
-
'Add' |
|
|
35
|
-
'Delete' |
|
|
36
|
-
'Update' |
|
|
37
|
-
'Cancel' |
|
|
38
|
-
'Edit' |
|
|
39
|
-
'Search' |
|
|
40
|
-
'ExpandAll' |
|
|
41
|
-
'CollapseAll' |
|
|
42
|
-
'ExcelExport' |
|
|
43
|
-
'PdfExport' |
|
|
44
|
-
'CsvExport' |
|
|
45
|
-
'Print';
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* Defines enumerable toolbar items for programmatic access.
|
|
49
|
-
*
|
|
50
|
-
* @hidden
|
|
51
|
-
*/
|
|
52
|
-
export enum ToolbarItem {
|
|
53
|
-
Add,
|
|
54
|
-
Edit,
|
|
55
|
-
Update,
|
|
56
|
-
Delete,
|
|
57
|
-
Cancel,
|
|
58
|
-
Search,
|
|
59
|
-
ExpandAll,
|
|
60
|
-
CollapseAll,
|
|
61
|
-
ExcelExport,
|
|
62
|
-
PdfExport,
|
|
63
|
-
CsvExport,
|
|
64
|
-
Print,
|
|
65
|
-
RowIndent,
|
|
66
|
-
RowOutdent
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* Defines the available PageSizeMode options for pagination in a tree grid structure.
|
|
71
|
-
*
|
|
72
|
-
* The available page size modes are:
|
|
73
|
-
*
|
|
74
|
-
* * `All`: Considers all records, including both parent and child records, when calculating the number of records per page.
|
|
75
|
-
* * `Root`: Considers only root-level parent records, excluding child records, when calculating the number of records per page.
|
|
76
|
-
*/
|
|
77
|
-
export type PageSizeMode =
|
|
78
|
-
'All' |
|
|
79
|
-
'Root';
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* Defines predefined context menu items for row and column interactions.
|
|
83
|
-
* The available context menu items are:
|
|
84
|
-
* * `AutoFitAll`: Automatically fit the size of all columns.
|
|
85
|
-
* * `AutoFit`: Automatically fit the size of the current column.
|
|
86
|
-
* * `SortAscending`: Sort the current column in ascending order.
|
|
87
|
-
* * `SortDescending`: Sort the current column in descending order.
|
|
88
|
-
* * `Edit`: Edit the current record.
|
|
89
|
-
* * `Delete`: Delete the current record.
|
|
90
|
-
* * `Save`: Save the edited state.
|
|
91
|
-
* * `Cancel`: Cancel the current edit operation.
|
|
92
|
-
* * `PdfExport`: Export the TreeGrid as a PDF format.
|
|
93
|
-
* * `ExcelExport`: Export the TreeGrid as an Excel format.
|
|
94
|
-
* * `CsvExport`: Export the TreeGrid as a CSV format.
|
|
95
|
-
* * `FirstPage`: Navigate to the first page.
|
|
96
|
-
* * `PrevPage`: Navigate to the previous page.
|
|
97
|
-
* * `LastPage`: Navigate to the last page.
|
|
98
|
-
* * `NextPage`: Navigate to the next page.
|
|
99
|
-
* * `AddRow`: Add a new row.
|
|
100
|
-
* * `Indent`: Indent the selected rows.
|
|
101
|
-
* * `Outdent`: Outdent the selected rows.
|
|
102
|
-
*
|
|
103
|
-
* @hidden
|
|
104
|
-
*/
|
|
105
|
-
export type ContextMenuItem =
|
|
106
|
-
'AutoFitAll' |
|
|
107
|
-
'AutoFit' |
|
|
108
|
-
'SortAscending' |
|
|
109
|
-
'SortDescending' |
|
|
110
|
-
'Edit' |
|
|
111
|
-
'Delete' |
|
|
112
|
-
'Save' |
|
|
113
|
-
'Cancel' |
|
|
114
|
-
'PdfExport' |
|
|
115
|
-
'ExcelExport' |
|
|
116
|
-
'CsvExport' |
|
|
117
|
-
'FirstPage' |
|
|
118
|
-
'PrevPage' |
|
|
119
|
-
'LastPage' |
|
|
120
|
-
'NextPage' |
|
|
121
|
-
'AddRow' |
|
|
122
|
-
'Indent' |
|
|
123
|
-
'Outdent';
|
|
124
|
-
|
|
125
|
-
/**
|
|
126
|
-
* Enumerates detailed context menu items used for menu configurations.
|
|
127
|
-
*
|
|
128
|
-
* @hidden
|
|
129
|
-
*/
|
|
130
|
-
export enum ContextMenuItems {
|
|
131
|
-
AutoFit,
|
|
132
|
-
AutoFitAll,
|
|
133
|
-
SortAscending,
|
|
134
|
-
SortDescending,
|
|
135
|
-
Edit,
|
|
136
|
-
Delete,
|
|
137
|
-
Save,
|
|
138
|
-
Cancel,
|
|
139
|
-
PdfExport,
|
|
140
|
-
ExcelExport,
|
|
141
|
-
CsvExport,
|
|
142
|
-
FirstPage,
|
|
143
|
-
PrevPage,
|
|
144
|
-
LastPage,
|
|
145
|
-
NextPage,
|
|
146
|
-
AddRow,
|
|
147
|
-
RowIndent,
|
|
148
|
-
RowOutdent
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
/**
|
|
152
|
-
* Defines modes of editing supported by TreeGrids.
|
|
153
|
-
* The available editing modes are:
|
|
154
|
-
* * `Cell`: Enables cell editing mode.
|
|
155
|
-
* * `Row`: Enables row editing mode.
|
|
156
|
-
* * `Dialog`: Opens a dialog for editing.
|
|
157
|
-
* * `Batch`: Allows for batch editing of multiple records.
|
|
158
|
-
*/
|
|
159
|
-
export type EditMode =
|
|
160
|
-
'Cell' |
|
|
161
|
-
'Row' |
|
|
162
|
-
'Dialog' |
|
|
163
|
-
'Batch';
|
|
164
|
-
|
|
165
|
-
/**
|
|
166
|
-
* Defines the target position for adding new rows in the TreeGrid.
|
|
167
|
-
* The available positions are:
|
|
168
|
-
* * `Top`: Adds a new row at the top of all rows.
|
|
169
|
-
* * `Bottom`: Adds a new row at the bottom of all rows.
|
|
170
|
-
* * `Above`: Adds a new row above the currently selected row.
|
|
171
|
-
* * `Below`: Adds a new row below the currently selected row.
|
|
172
|
-
* * `Child`: Adds a new row as a child to the currently selected row.
|
|
173
|
-
*/
|
|
174
|
-
export type RowPosition =
|
|
175
|
-
'Top' |
|
|
176
|
-
'Bottom' |
|
|
177
|
-
'Above' |
|
|
178
|
-
'Below' |
|
|
179
|
-
'Child';
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* Defines types of filters available in TreeGrids.
|
|
183
|
-
* The available filter types are:
|
|
184
|
-
* * `Menu`: Applies a dialog-based filtering option, where users can select operators such as 'equals', 'contains', etc., and enter filter values for more granular control.
|
|
185
|
-
* * `Excel`: Provides Excel-like filtering capabilities.
|
|
186
|
-
* * `FilterBar`: Uses a filter bar at the top of each column.
|
|
187
|
-
*/
|
|
188
|
-
export type FilterType =
|
|
189
|
-
'FilterBar' |
|
|
190
|
-
'Excel' |
|
|
191
|
-
'Menu';
|
|
192
|
-
|
|
193
|
-
/**
|
|
194
|
-
* Defines wrapping modes for column content in TreeGrids.
|
|
195
|
-
* The available wrap modes are:
|
|
196
|
-
* * `Both`: Wraps both header and content.
|
|
197
|
-
* * `Header`: Wraps only the header.
|
|
198
|
-
* * `Content`: Wraps only the content.
|
|
199
|
-
*/
|
|
200
|
-
export type WrapMode =
|
|
201
|
-
'Both' |
|
|
202
|
-
'Header' |
|
|
203
|
-
'Content';
|
|
204
|
-
|
|
205
|
-
/**
|
|
206
|
-
* Defines the types of CopyHierarchyMode for grid data.
|
|
207
|
-
* The available copy hierarchy types are:
|
|
208
|
-
* * `Parent`: Copies data maintaining only parent hierarchy.
|
|
209
|
-
* * `Child`: Copies data with child hierarchy.
|
|
210
|
-
* * `Both`: Maintains both parent and child hierarchy during copy.
|
|
211
|
-
* * `None`: Copies data without any hierarchy structure.
|
|
212
|
-
*/
|
|
213
|
-
export declare type CopyHierarchyType =
|
|
214
|
-
'Parent' |
|
|
215
|
-
'Child' |
|
|
216
|
-
'Both' |
|
|
217
|
-
'None';
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { Property, ChildProperty } from '@syncfusion/ej2-base';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Interface for a class ColumnChooserSettings
|
|
5
|
-
*/
|
|
6
|
-
export interface ColumnChooserSettingsModel {
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Defines the search operator for column chooser.
|
|
10
|
-
*
|
|
11
|
-
* @default 'startsWith'
|
|
12
|
-
* @blazorType Syncfusion.Blazor.Operator
|
|
13
|
-
* @blazorDefaultValue Syncfusion.Blazor.Operator.StartsWith
|
|
14
|
-
*/
|
|
15
|
-
operator?: string;
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* If ignoreAccent set to true, then ignores the diacritic characters or accents while searching in column chooser dialog.
|
|
19
|
-
*
|
|
20
|
-
* @default false
|
|
21
|
-
*/
|
|
22
|
-
ignoreAccent?: boolean;
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Defines the custom header elements for the column chooser header template.
|
|
26
|
-
*
|
|
27
|
-
* @default null
|
|
28
|
-
* @aspType string
|
|
29
|
-
*/
|
|
30
|
-
headerTemplate?: string | Function;
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* Defines the custom content elements for the column chooser content template.
|
|
34
|
-
*
|
|
35
|
-
* @default null
|
|
36
|
-
* @aspType string
|
|
37
|
-
*/
|
|
38
|
-
template?: string | Function;
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* Defines the custom footer elements for the column chooser footer template.
|
|
42
|
-
*
|
|
43
|
-
* @default null
|
|
44
|
-
* @aspType string
|
|
45
|
-
*/
|
|
46
|
-
footerTemplate?: string | Function;
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Enables or disables the search option in the column chooser.
|
|
50
|
-
*
|
|
51
|
-
* @default true
|
|
52
|
-
*/
|
|
53
|
-
enableSearching?: boolean;
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* Renders a custom component to replace or extend the default column chooser UI.
|
|
57
|
-
* @param target - The target HTML element where the custom component will be appended in the column chooser dialog.
|
|
58
|
-
* @aspType string
|
|
59
|
-
*/
|
|
60
|
-
renderCustomColumnChooser?: string | Function;
|
|
61
|
-
|
|
62
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { ChildProperty } from '@syncfusion/ej2-base';
|
|
2
|
-
/**
|
|
3
|
-
* Configures the column chooser behavior of the Grid.
|
|
4
|
-
*/
|
|
5
|
-
export declare class ColumnChooserSettings extends ChildProperty<ColumnChooserSettings> {
|
|
6
|
-
/**
|
|
7
|
-
* Defines the search operator for column chooser.
|
|
8
|
-
*
|
|
9
|
-
* @default 'startsWith'
|
|
10
|
-
* @blazorType Syncfusion.Blazor.Operator
|
|
11
|
-
* @blazorDefaultValue Syncfusion.Blazor.Operator.StartsWith
|
|
12
|
-
*/
|
|
13
|
-
operator: string;
|
|
14
|
-
/**
|
|
15
|
-
* If ignoreAccent set to true, then ignores the diacritic characters or accents while searching in column chooser dialog.
|
|
16
|
-
*
|
|
17
|
-
* @default false
|
|
18
|
-
*/
|
|
19
|
-
ignoreAccent: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* Defines the custom header elements for the column chooser header template.
|
|
22
|
-
*
|
|
23
|
-
* @default null
|
|
24
|
-
* @aspType string
|
|
25
|
-
*/
|
|
26
|
-
headerTemplate: string | Function;
|
|
27
|
-
/**
|
|
28
|
-
* Defines the custom content elements for the column chooser content template.
|
|
29
|
-
*
|
|
30
|
-
* @default null
|
|
31
|
-
* @aspType string
|
|
32
|
-
*/
|
|
33
|
-
template: string | Function;
|
|
34
|
-
/**
|
|
35
|
-
* Defines the custom footer elements for the column chooser footer template.
|
|
36
|
-
*
|
|
37
|
-
* @default null
|
|
38
|
-
* @aspType string
|
|
39
|
-
*/
|
|
40
|
-
footerTemplate: string | Function;
|
|
41
|
-
/**
|
|
42
|
-
* Enables or disables the search option in the column chooser.
|
|
43
|
-
*
|
|
44
|
-
* @default true
|
|
45
|
-
*/
|
|
46
|
-
enableSearching: boolean;
|
|
47
|
-
/**
|
|
48
|
-
* Renders a custom component to replace or extend the default column chooser UI.
|
|
49
|
-
* @param target - The target HTML element where the custom component will be appended in the column chooser dialog.
|
|
50
|
-
* @aspType string
|
|
51
|
-
*/
|
|
52
|
-
renderCustomColumnChooser: string | Function;
|
|
53
|
-
}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { Property, ChildProperty } from '@syncfusion/ej2-base';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Configures the column chooser behavior of the Grid.
|
|
5
|
-
*/
|
|
6
|
-
export class ColumnChooserSettings extends ChildProperty<ColumnChooserSettings> {
|
|
7
|
-
/**
|
|
8
|
-
* Defines the search operator for column chooser.
|
|
9
|
-
*
|
|
10
|
-
* @default 'startsWith'
|
|
11
|
-
* @blazorType Syncfusion.Blazor.Operator
|
|
12
|
-
* @blazorDefaultValue Syncfusion.Blazor.Operator.StartsWith
|
|
13
|
-
*/
|
|
14
|
-
@Property('startsWith')
|
|
15
|
-
public operator: string;
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* If ignoreAccent set to true, then ignores the diacritic characters or accents while searching in column chooser dialog.
|
|
19
|
-
*
|
|
20
|
-
* @default false
|
|
21
|
-
*/
|
|
22
|
-
@Property(false)
|
|
23
|
-
public ignoreAccent: boolean;
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Defines the custom header elements for the column chooser header template.
|
|
27
|
-
*
|
|
28
|
-
* @default null
|
|
29
|
-
* @aspType string
|
|
30
|
-
*/
|
|
31
|
-
@Property(null)
|
|
32
|
-
public headerTemplate: string | Function;
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Defines the custom content elements for the column chooser content template.
|
|
36
|
-
*
|
|
37
|
-
* @default null
|
|
38
|
-
* @aspType string
|
|
39
|
-
*/
|
|
40
|
-
@Property(null)
|
|
41
|
-
public template: string | Function;
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Defines the custom footer elements for the column chooser footer template.
|
|
45
|
-
*
|
|
46
|
-
* @default null
|
|
47
|
-
* @aspType string
|
|
48
|
-
*/
|
|
49
|
-
@Property(null)
|
|
50
|
-
public footerTemplate: string | Function;
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* Enables or disables the search option in the column chooser.
|
|
54
|
-
*
|
|
55
|
-
* @default true
|
|
56
|
-
*/
|
|
57
|
-
@Property(true)
|
|
58
|
-
public enableSearching: boolean;
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* Renders a custom component to replace or extend the default column chooser UI.
|
|
62
|
-
* @param target - The target HTML element where the custom component will be appended in the column chooser dialog.
|
|
63
|
-
* @aspType string
|
|
64
|
-
*/
|
|
65
|
-
@Property(null)
|
|
66
|
-
public renderCustomColumnChooser: string | Function;
|
|
67
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { TextAlign, ClipMode, ValueAccessor, IFilter, IFilterUI, IEditCell, CommandModel, freezeDirection } from '@syncfusion/ej2-grids';import { NumberFormatOptions, DateFormatOptions, merge, Property } from '@syncfusion/ej2-base';import { ITreeGridCellFormatter } from '../base/interface';import { SortComparer} from '@syncfusion/ej2-grids';import { TreeGrid } from '..';
|
|
2
|
-
import {ColumnModel} from "./column";
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Interface for a class Column
|
|
6
|
-
*/
|
|
7
|
-
export interface ColumnModel {
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* Interface for a class TreeGridColumn
|
|
13
|
-
*/
|
|
14
|
-
export interface TreeGridColumnModel extends ColumnModel{
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* Defines stacked columns
|
|
18
|
-
*
|
|
19
|
-
* @default null
|
|
20
|
-
*/
|
|
21
|
-
columns?: string[] | ColumnModel[];
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Interface for a class StackedColumn
|
|
27
|
-
*/
|
|
28
|
-
export interface StackedColumnModel extends TreeGridColumnModel{
|
|
29
|
-
|
|
30
|
-
}
|