@syncfusion/ej2-navigations 20.3.60 → 20.4.40
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 +16 -1
- package/CHANGELOG.md +26 -0
- package/dist/ej2-navigations.min.js +2 -2
- package/dist/ej2-navigations.umd.min.js +2 -2
- package/dist/ej2-navigations.umd.min.js.map +1 -1
- package/dist/es6/ej2-navigations.es2015.js +263 -212
- package/dist/es6/ej2-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-navigations.es5.js +260 -209
- package/dist/es6/ej2-navigations.es5.js.map +1 -1
- package/dist/global/ej2-navigations.min.js +2 -2
- package/dist/global/ej2-navigations.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +12 -12
- package/src/accordion/accordion.js +20 -19
- package/src/appbar/appbar-model.d.ts +15 -15
- package/src/appbar/appbar.d.ts +15 -15
- package/src/appbar/appbar.js +3 -3
- package/src/breadcrumb/breadcrumb-model.d.ts +1 -1
- package/src/breadcrumb/breadcrumb.js +10 -5
- package/src/carousel/carousel.js +10 -10
- package/src/common/menu-base.js +19 -12
- package/src/menu/menu.js +2 -2
- package/src/sidebar/sidebar.d.ts +1 -0
- package/src/sidebar/sidebar.js +6 -2
- package/src/tab/tab-model.d.ts +9 -0
- package/src/tab/tab.d.ts +9 -0
- package/src/tab/tab.js +28 -18
- package/src/toolbar/toolbar-model.d.ts +9 -0
- package/src/toolbar/toolbar.d.ts +11 -0
- package/src/toolbar/toolbar.js +132 -123
- package/src/treeview/treeview-model.d.ts +133 -45
- package/src/treeview/treeview.d.ts +135 -48
- package/src/treeview/treeview.js +30 -14
- package/styles/accordion/_bootstrap-dark-definition.scss +100 -0
- package/styles/accordion/_bootstrap-definition.scss +100 -0
- package/styles/accordion/_bootstrap4-definition.scss +95 -1
- package/styles/accordion/_bootstrap5-definition.scss +99 -3
- package/styles/accordion/_fabric-dark-definition.scss +100 -0
- package/styles/accordion/_fabric-definition.scss +100 -0
- package/styles/accordion/_fluent-definition.scss +98 -2
- package/styles/accordion/_fusionnew-definition.scss +99 -3
- package/styles/accordion/_highcontrast-definition.scss +98 -3
- package/styles/accordion/_highcontrast-light-definition.scss +98 -3
- package/styles/accordion/_layout.scss +25 -91
- package/styles/accordion/_material-dark-definition.scss +100 -0
- package/styles/accordion/_material-definition.scss +100 -0
- package/styles/accordion/_material3-definition.scss +99 -3
- package/styles/accordion/_tailwind-definition.scss +99 -2
- package/styles/accordion/_theme.scss +184 -345
- package/styles/accordion/bootstrap-dark.css +202 -16
- package/styles/accordion/bootstrap.css +202 -16
- package/styles/accordion/bootstrap4.css +171 -17
- package/styles/accordion/bootstrap5-dark.css +202 -13
- package/styles/accordion/bootstrap5.css +202 -13
- package/styles/accordion/fabric-dark.css +209 -11
- package/styles/accordion/fabric.css +209 -11
- package/styles/accordion/fluent-dark.css +217 -5
- package/styles/accordion/fluent.css +217 -5
- package/styles/accordion/highcontrast-light.css +186 -52
- package/styles/accordion/highcontrast.css +186 -52
- package/styles/accordion/material-dark.css +210 -16
- package/styles/accordion/material.css +209 -15
- package/styles/accordion/tailwind-dark.css +199 -8
- package/styles/accordion/tailwind.css +199 -8
- package/styles/bootstrap-dark.css +999 -145
- package/styles/bootstrap.css +986 -132
- package/styles/bootstrap4.css +888 -167
- package/styles/bootstrap5-dark.css +949 -179
- package/styles/bootstrap5.css +949 -179
- package/styles/context-menu/_layout.scss +0 -3
- package/styles/context-menu/bootstrap5-dark.css +0 -1
- package/styles/context-menu/bootstrap5.css +0 -1
- package/styles/context-menu/fluent-dark.css +0 -1
- package/styles/context-menu/fluent.css +0 -1
- package/styles/context-menu/tailwind-dark.css +0 -1
- package/styles/context-menu/tailwind.css +0 -1
- package/styles/fabric-dark.css +1068 -232
- package/styles/fabric.css +1067 -231
- package/styles/fluent-dark.css +1014 -123
- package/styles/fluent.css +1012 -121
- package/styles/h-scroll/_bootstrap-dark-definition.scss +8 -0
- package/styles/h-scroll/_bootstrap-definition.scss +8 -0
- package/styles/h-scroll/_bootstrap4-definition.scss +8 -0
- package/styles/h-scroll/_bootstrap5-definition.scss +8 -0
- package/styles/h-scroll/_fabric-dark-definition.scss +8 -0
- package/styles/h-scroll/_fabric-definition.scss +8 -0
- package/styles/h-scroll/_fluent-definition.scss +8 -0
- package/styles/h-scroll/_fusionnew-definition.scss +8 -0
- package/styles/h-scroll/_highcontrast-definition.scss +6 -1
- package/styles/h-scroll/_highcontrast-light-definition.scss +6 -1
- package/styles/h-scroll/_layout.scss +1 -4
- package/styles/h-scroll/_material-dark-definition.scss +8 -0
- package/styles/h-scroll/_material-definition.scss +8 -0
- package/styles/h-scroll/_material3-definition.scss +8 -0
- package/styles/h-scroll/_tailwind-definition.scss +8 -0
- package/styles/h-scroll/_theme.scss +12 -40
- package/styles/h-scroll/bootstrap-dark.css +13 -0
- package/styles/h-scroll/bootstrap.css +13 -0
- package/styles/h-scroll/bootstrap4.css +7 -0
- package/styles/h-scroll/bootstrap5-dark.css +12 -0
- package/styles/h-scroll/bootstrap5.css +12 -0
- package/styles/h-scroll/fabric-dark.css +15 -2
- package/styles/h-scroll/fabric.css +15 -2
- package/styles/h-scroll/fluent-dark.css +13 -0
- package/styles/h-scroll/fluent.css +13 -0
- package/styles/h-scroll/highcontrast-light.css +8 -7
- package/styles/h-scroll/highcontrast.css +10 -9
- package/styles/h-scroll/icons/_fabric-dark.scss +2 -2
- package/styles/h-scroll/icons/_fabric.scss +2 -2
- package/styles/h-scroll/icons/_highcontrast.scss +2 -2
- package/styles/h-scroll/material-dark.css +13 -2
- package/styles/h-scroll/material.css +13 -2
- package/styles/h-scroll/tailwind-dark.css +12 -0
- package/styles/h-scroll/tailwind.css +12 -0
- package/styles/highcontrast-light.css +918 -369
- package/styles/highcontrast.css +925 -370
- package/styles/material-dark.css +1184 -114
- package/styles/material.css +1162 -92
- package/styles/menu/_theme.scss +1 -1
- package/styles/menu/fluent-dark.css +1 -1
- package/styles/menu/fluent.css +1 -1
- package/styles/tab/_bootstrap-dark-definition.scss +271 -15
- package/styles/tab/_bootstrap-definition.scss +266 -9
- package/styles/tab/_bootstrap4-definition.scss +266 -9
- package/styles/tab/_bootstrap5-definition.scss +270 -13
- package/styles/tab/_fabric-dark-definition.scss +270 -13
- package/styles/tab/_fabric-definition.scss +270 -13
- package/styles/tab/_fluent-definition.scss +269 -12
- package/styles/tab/_fusionnew-definition.scss +268 -11
- package/styles/tab/_highcontrast-definition.scss +271 -14
- package/styles/tab/_highcontrast-light-definition.scss +271 -14
- package/styles/tab/_layout.scss +295 -988
- package/styles/tab/_material-dark-definition.scss +266 -9
- package/styles/tab/_material-definition.scss +266 -9
- package/styles/tab/_material3-definition.scss +268 -11
- package/styles/tab/_tailwind-definition.scss +267 -10
- package/styles/tab/_theme.scss +305 -843
- package/styles/tab/bootstrap-dark.css +587 -109
- package/styles/tab/bootstrap.css +574 -96
- package/styles/tab/bootstrap4.css +546 -114
- package/styles/tab/bootstrap5-dark.css +523 -134
- package/styles/tab/bootstrap5.css +523 -134
- package/styles/tab/fabric-dark.css +614 -199
- package/styles/tab/fabric.css +612 -197
- package/styles/tab/fluent-dark.css +546 -102
- package/styles/tab/fluent.css +546 -102
- package/styles/tab/highcontrast-light.css +520 -250
- package/styles/tab/highcontrast.css +520 -244
- package/styles/tab/icons/_bootstrap-dark.scss +0 -33
- package/styles/tab/icons/_bootstrap.scss +0 -33
- package/styles/tab/icons/_bootstrap4.scss +0 -26
- package/styles/tab/icons/_bootstrap5.scss +0 -37
- package/styles/tab/icons/_fabric-dark.scss +0 -33
- package/styles/tab/icons/_fabric.scss +0 -33
- package/styles/tab/icons/_fluent.scss +0 -33
- package/styles/tab/icons/_fusionnew.scss +0 -37
- package/styles/tab/icons/_highcontrast-light.scss +0 -37
- package/styles/tab/icons/_highcontrast.scss +0 -26
- package/styles/tab/icons/_material-dark.scss +0 -37
- package/styles/tab/icons/_material.scss +0 -37
- package/styles/tab/icons/_material3.scss +0 -37
- package/styles/tab/icons/_tailwind.scss +0 -37
- package/styles/tab/material-dark.css +705 -54
- package/styles/tab/material.css +705 -54
- package/styles/tab/tailwind-dark.css +706 -71
- package/styles/tab/tailwind.css +706 -71
- package/styles/tailwind-dark.css +1145 -99
- package/styles/tailwind.css +1144 -98
- package/styles/toolbar/_bootstrap-dark-definition.scss +93 -0
- package/styles/toolbar/_bootstrap-definition.scss +93 -0
- package/styles/toolbar/_bootstrap4-definition.scss +94 -1
- package/styles/toolbar/_bootstrap5-definition.scss +94 -8
- package/styles/toolbar/_fabric-dark-definition.scss +92 -3
- package/styles/toolbar/_fabric-definition.scss +92 -3
- package/styles/toolbar/_fluent-definition.scss +96 -8
- package/styles/toolbar/_fusionnew-definition.scss +94 -8
- package/styles/toolbar/_highcontrast-definition.scss +93 -4
- package/styles/toolbar/_highcontrast-light-definition.scss +93 -4
- package/styles/toolbar/_layout.scss +48 -177
- package/styles/toolbar/_material-dark-definition.scss +93 -0
- package/styles/toolbar/_material-definition.scss +93 -0
- package/styles/toolbar/_material3-definition.scss +94 -8
- package/styles/toolbar/_tailwind-definition.scss +94 -6
- package/styles/toolbar/_theme.scss +169 -278
- package/styles/toolbar/bootstrap-dark.css +196 -19
- package/styles/toolbar/bootstrap.css +196 -19
- package/styles/toolbar/bootstrap4.css +164 -36
- package/styles/toolbar/bootstrap5-dark.css +210 -29
- package/styles/toolbar/bootstrap5.css +210 -29
- package/styles/toolbar/fabric-dark.css +219 -9
- package/styles/toolbar/fabric.css +220 -10
- package/styles/toolbar/fluent-dark.css +233 -10
- package/styles/toolbar/fluent.css +233 -10
- package/styles/toolbar/highcontrast-light.css +199 -43
- package/styles/toolbar/highcontrast.css +200 -44
- package/styles/toolbar/material-dark.css +233 -19
- package/styles/toolbar/material.css +233 -19
- package/styles/toolbar/tailwind-dark.css +224 -15
- package/styles/toolbar/tailwind.css +223 -14
- package/styles/treeview/_material-definition.scss +1 -1
- package/styles/treeview/_theme.scss +11 -1
- package/styles/treeview/fluent-dark.css +2 -2
- package/styles/treeview/material.css +2 -2
- package/styles/treeview/tailwind.css +2 -2
- package/styles/v-scroll/_highcontrast-definition.scss +0 -1
- package/styles/v-scroll/_highcontrast-light-definition.scss +0 -1
- package/styles/v-scroll/_theme.scss +0 -26
- package/styles/v-scroll/bootstrap5-dark.css +2 -2
- package/styles/v-scroll/bootstrap5.css +2 -2
- package/styles/v-scroll/fabric-dark.css +2 -2
- package/styles/v-scroll/fabric.css +2 -2
- package/styles/v-scroll/fluent-dark.css +2 -2
- package/styles/v-scroll/fluent.css +2 -2
- package/styles/v-scroll/highcontrast-light.css +2 -14
- package/styles/v-scroll/highcontrast.css +2 -14
- package/styles/v-scroll/icons/_bootstrap5.scss +2 -2
- package/styles/v-scroll/icons/_fabric-dark.scss +2 -2
- package/styles/v-scroll/icons/_fabric.scss +2 -2
- package/styles/v-scroll/icons/_fluent.scss +2 -2
- package/styles/v-scroll/icons/_fusionnew.scss +2 -2
- package/styles/v-scroll/icons/_highcontrast-light.scss +2 -2
- package/styles/v-scroll/icons/_highcontrast.scss +2 -2
- package/styles/v-scroll/icons/_material3.scss +2 -2
- package/styles/v-scroll/icons/_tailwind.scss +2 -2
- package/styles/v-scroll/tailwind-dark.css +2 -2
- package/styles/v-scroll/tailwind.css +2 -2
|
@@ -70,6 +70,12 @@ export interface FieldsSettingsModel {
|
|
|
70
70
|
*/
|
|
71
71
|
query?: Query;
|
|
72
72
|
|
|
73
|
+
/**
|
|
74
|
+
* Specifies whether the node can be selected by users or not
|
|
75
|
+
* When set to false, the user interaction is prevented for the corresponding node.
|
|
76
|
+
*/
|
|
77
|
+
selectable?: string;
|
|
78
|
+
|
|
73
79
|
/**
|
|
74
80
|
* Specifies the mapping field for selected state of the TreeView node.
|
|
75
81
|
*/
|
|
@@ -186,10 +192,10 @@ export interface TreeViewModel extends ComponentModel{
|
|
|
186
192
|
allowMultiSelection?: boolean;
|
|
187
193
|
|
|
188
194
|
/**
|
|
189
|
-
* Enables or disables text wrapping when text exceeds the bounds in the TreeView node.
|
|
190
|
-
* When the allowTextWrap property is set to true, the TreeView node text content will wrap to the next line
|
|
195
|
+
* Enables or disables text wrapping when text exceeds the bounds in the TreeView node.
|
|
196
|
+
* When the allowTextWrap property is set to true, the TreeView node text content will wrap to the next line
|
|
191
197
|
* when it exceeds the width of the TreeView node.
|
|
192
|
-
* The TreeView node height will be adjusted automatically based on the TreeView node content.
|
|
198
|
+
* The TreeView node height will be adjusted automatically based on the TreeView node content.
|
|
193
199
|
*
|
|
194
200
|
* @default false
|
|
195
201
|
*/
|
|
@@ -204,19 +210,46 @@ export interface TreeViewModel extends ComponentModel{
|
|
|
204
210
|
animation?: NodeAnimationSettingsModel;
|
|
205
211
|
|
|
206
212
|
/**
|
|
207
|
-
* The `checkedNodes` property is used to set the nodes that need to be checked
|
|
208
|
-
*
|
|
213
|
+
* The `checkedNodes` property is used to set the nodes that need to be checked.
|
|
214
|
+
* This property returns the checked nodes ID in the TreeView component.
|
|
209
215
|
* The `checkedNodes` property depends upon the value of `showCheckBox` property.
|
|
210
216
|
* For more information on checkedNodes, refer to
|
|
211
217
|
* [checkedNodes](../../treeview/check-box#checked-nodes).
|
|
212
|
-
*
|
|
218
|
+
* ```html
|
|
219
|
+
* <div id="tree"></div>
|
|
220
|
+
* ```
|
|
221
|
+
* ```typescript
|
|
222
|
+
* let treeObj: TreeView = new TreeView({
|
|
223
|
+
* fields: { dataSource: hierarchicalData, id: 'id', text: 'name', child: 'subChild' },
|
|
224
|
+
* showCheckBox: true,
|
|
225
|
+
* checkedNodes: ['01-01','02']
|
|
226
|
+
* });
|
|
227
|
+
* treeObj.appendTo('#tree');
|
|
228
|
+
* ```
|
|
213
229
|
* @default []
|
|
214
230
|
*/
|
|
215
231
|
checkedNodes?: string[];
|
|
216
232
|
|
|
217
233
|
/**
|
|
218
|
-
* Specifies
|
|
219
|
-
*
|
|
234
|
+
* Specifies one or more than one CSS classes to be added with root element of the TreeView to help customize the appearance of the component.
|
|
235
|
+
* ```html
|
|
236
|
+
* <div id="tree"></div>
|
|
237
|
+
* ```
|
|
238
|
+
* ```typescript
|
|
239
|
+
* let treeObj: TreeView = new TreeView({
|
|
240
|
+
* fields: { dataSource: hierarchicalData, id: 'id', text: 'name', child: 'subChild' },
|
|
241
|
+
* cssClass: 'e-custom e-tree'
|
|
242
|
+
* });
|
|
243
|
+
* treeObj.appendTo('#tree');
|
|
244
|
+
* ```
|
|
245
|
+
* ```css
|
|
246
|
+
* .e-custom .e-tree {
|
|
247
|
+
* max-width: 600px;
|
|
248
|
+
* }
|
|
249
|
+
* .e-custom .e-list-item {
|
|
250
|
+
* padding: 10px 0;
|
|
251
|
+
* }
|
|
252
|
+
* ```
|
|
220
253
|
* @default ''
|
|
221
254
|
*/
|
|
222
255
|
cssClass?: string;
|
|
@@ -230,16 +263,41 @@ export interface TreeViewModel extends ComponentModel{
|
|
|
230
263
|
disabled?: boolean;
|
|
231
264
|
|
|
232
265
|
/**
|
|
233
|
-
*
|
|
234
|
-
*
|
|
235
|
-
*
|
|
266
|
+
* Specifies the target in which the draggable element can be moved and dropped.
|
|
267
|
+
* By default, the draggable element movement occurs in the page.
|
|
268
|
+
* ```html
|
|
269
|
+
* <div id="tree"></div>
|
|
270
|
+
* ```
|
|
271
|
+
* ```typescript
|
|
272
|
+
* let treeObj: TreeView = new TreeView({
|
|
273
|
+
* fields: { dataSource: hierarchicalData, id: 'id', text: 'name', child: 'subChild' },
|
|
274
|
+
* dragArea: '.control_wrapper'
|
|
275
|
+
* });
|
|
276
|
+
* treeObj.appendTo('#tree');
|
|
277
|
+
* ```
|
|
278
|
+
* ```css
|
|
279
|
+
* .control_wrapper {
|
|
280
|
+
* width: 500px;
|
|
281
|
+
* margin-left: 100px;
|
|
282
|
+
* }
|
|
283
|
+
* ```
|
|
236
284
|
* @default null
|
|
237
285
|
*/
|
|
238
286
|
dragArea?: HTMLElement | string;
|
|
239
287
|
|
|
240
288
|
/**
|
|
241
|
-
*
|
|
242
|
-
*
|
|
289
|
+
* Specifies whether to allow rendering of untrusted HTML values in the TreeView component.
|
|
290
|
+
* While enable this property, it sanitize suspected untrusted strings and script, and update in the TreeView component.
|
|
291
|
+
* ```html
|
|
292
|
+
* <div id="tree"></div>
|
|
293
|
+
* ```
|
|
294
|
+
* ```typescript
|
|
295
|
+
* let treeObj: TreeView = new TreeView({
|
|
296
|
+
* fields: { dataSource: hierarchicalData, id: 'id', text: 'name', child: 'subChild' },
|
|
297
|
+
* enableHtmlSanitizer: true
|
|
298
|
+
* });
|
|
299
|
+
* treeObj.appendTo('#tree');
|
|
300
|
+
* ```
|
|
243
301
|
* @default false
|
|
244
302
|
*/
|
|
245
303
|
enableHtmlSanitizer?: boolean;
|
|
@@ -257,20 +315,40 @@ export interface TreeViewModel extends ComponentModel{
|
|
|
257
315
|
/**
|
|
258
316
|
* Represents the expanded nodes in the TreeView component. We can set the nodes that need to be
|
|
259
317
|
* expanded or get the ID of the nodes that are currently expanded by using this property.
|
|
260
|
-
*
|
|
318
|
+
* ```html
|
|
319
|
+
* <div id='tree'></div>
|
|
320
|
+
* ```
|
|
321
|
+
* ```typescript
|
|
322
|
+
* <script>
|
|
323
|
+
* var treeObj = new TreeView({
|
|
324
|
+
* fields: { dataSource: hierarchicalData, id: 'id', text: 'name', child: 'subChild' },
|
|
325
|
+
* expandedNodes: ['01','01-01','02']
|
|
326
|
+
* });
|
|
327
|
+
* treeObj.appendTo('#tree');
|
|
328
|
+
* </script>
|
|
329
|
+
* ```
|
|
261
330
|
* @default []
|
|
262
331
|
*/
|
|
263
332
|
expandedNodes?: string[];
|
|
264
333
|
|
|
265
334
|
/**
|
|
266
|
-
* Specifies the action on which the node expands or collapses.
|
|
267
|
-
*
|
|
268
|
-
* happens
|
|
269
|
-
*
|
|
270
|
-
*
|
|
271
|
-
*
|
|
272
|
-
*
|
|
273
|
-
*
|
|
335
|
+
* Specifies the action on which the node expands or collapses.
|
|
336
|
+
* The available actions :
|
|
337
|
+
* `Click` - The expand/collapse operation happens when you single-click on the node in desktop.
|
|
338
|
+
* `DblClick` - The expand/collapse operation happens when you double-click on the node in desktop.
|
|
339
|
+
* `None` - The expand/collapse operation will not happen.
|
|
340
|
+
* In mobile devices, the node expand/collapse action happens on single tap.
|
|
341
|
+
* Here ExpandOn attribute is set to single click property also can use double click and none property.
|
|
342
|
+
* ```html
|
|
343
|
+
* <div id="tree"></div>
|
|
344
|
+
* ```
|
|
345
|
+
* ```typescript
|
|
346
|
+
* let treeObj: TreeView = new TreeView({
|
|
347
|
+
* fields: { dataSource: hierarchicalData, id: 'id', text: 'name', child: 'subChild' },
|
|
348
|
+
* expandOn: 'Click'
|
|
349
|
+
* });
|
|
350
|
+
* treeObj.appendTo('#tree');
|
|
351
|
+
* ```
|
|
274
352
|
* @default 'Auto'
|
|
275
353
|
*/
|
|
276
354
|
expandOn?: ExpandOnSettings;
|
|
@@ -327,7 +405,17 @@ export interface TreeViewModel extends ComponentModel{
|
|
|
327
405
|
* it we can select only a single node.
|
|
328
406
|
* For more information on selectedNodes, refer to
|
|
329
407
|
* [selectedNodes](../../treeview/multiple-selection#selected-nodes).
|
|
330
|
-
*
|
|
408
|
+
* ```html
|
|
409
|
+
* <div id="tree"></div>
|
|
410
|
+
* ```
|
|
411
|
+
* ```typescript
|
|
412
|
+
* let treeObj: TreeView = new TreeView({
|
|
413
|
+
* fields: { dataSource: hierarchicalData, id: 'id', text: 'name', child: 'subChild' },
|
|
414
|
+
* allowMultiSelection: true,
|
|
415
|
+
* selectedNodes: ['01','02']
|
|
416
|
+
* });
|
|
417
|
+
* treeObj.appendTo('#tree');
|
|
418
|
+
* ```
|
|
331
419
|
* @default []
|
|
332
420
|
*/
|
|
333
421
|
selectedNodes?: string[];
|
|
@@ -367,14 +455,14 @@ export interface TreeViewModel extends ComponentModel{
|
|
|
367
455
|
fullRowNavigable?: boolean;
|
|
368
456
|
|
|
369
457
|
/**
|
|
370
|
-
*
|
|
458
|
+
* Event callback that is raised while any TreeView action failed to fetch the desired results.
|
|
371
459
|
*
|
|
372
460
|
* @event
|
|
373
461
|
*/
|
|
374
462
|
actionFailure?: EmitType<FailureEventArgs>;
|
|
375
463
|
|
|
376
464
|
/**
|
|
377
|
-
*
|
|
465
|
+
* Event callback that is raised when the TreeView component is created successfully.
|
|
378
466
|
*
|
|
379
467
|
* @event
|
|
380
468
|
*/
|
|
@@ -382,14 +470,14 @@ export interface TreeViewModel extends ComponentModel{
|
|
|
382
470
|
created?: EmitType<Object>;
|
|
383
471
|
|
|
384
472
|
/**
|
|
385
|
-
*
|
|
473
|
+
* Event callback that is raised when data source is populated in the TreeView.
|
|
386
474
|
*
|
|
387
475
|
* @event
|
|
388
476
|
*/
|
|
389
477
|
dataBound?: EmitType<DataBoundEventArgs>;
|
|
390
478
|
|
|
391
479
|
/**
|
|
392
|
-
*
|
|
480
|
+
* Event callback that is raised when data source is changed in the TreeView. The data source will be changed after performing some operation like
|
|
393
481
|
* drag and drop, node editing, adding and removing node.
|
|
394
482
|
*
|
|
395
483
|
* @event
|
|
@@ -397,14 +485,14 @@ export interface TreeViewModel extends ComponentModel{
|
|
|
397
485
|
dataSourceChanged?: EmitType<DataSourceChangedEventArgs>;
|
|
398
486
|
|
|
399
487
|
/**
|
|
400
|
-
*
|
|
488
|
+
* Event callback that is raised before the TreeView node is appended to the TreeView element. It helps to customize specific nodes.
|
|
401
489
|
*
|
|
402
490
|
* @event
|
|
403
491
|
*/
|
|
404
492
|
drawNode?: EmitType<DrawNodeEventArgs>;
|
|
405
493
|
|
|
406
494
|
/**
|
|
407
|
-
*
|
|
495
|
+
* Event callback that is raised when the TreeView control is destroyed successfully.
|
|
408
496
|
*
|
|
409
497
|
* @event
|
|
410
498
|
*/
|
|
@@ -412,49 +500,49 @@ export interface TreeViewModel extends ComponentModel{
|
|
|
412
500
|
destroyed?: EmitType<Object>;
|
|
413
501
|
|
|
414
502
|
/**
|
|
415
|
-
*
|
|
503
|
+
* Event callback that is raised when key press is successful. It helps to customize the operations at key press.
|
|
416
504
|
*
|
|
417
505
|
* @event
|
|
418
506
|
*/
|
|
419
507
|
keyPress?: EmitType<NodeKeyPressEventArgs>;
|
|
420
508
|
|
|
421
509
|
/**
|
|
422
|
-
*
|
|
510
|
+
* Event callback that is raised when the TreeView node is checked/unchecked successfully.
|
|
423
511
|
*
|
|
424
512
|
* @event
|
|
425
513
|
*/
|
|
426
514
|
nodeChecked?: EmitType<NodeCheckEventArgs>;
|
|
427
515
|
|
|
428
516
|
/**
|
|
429
|
-
*
|
|
517
|
+
* Event callback that is raised before the TreeView node is to be checked/unchecked.
|
|
430
518
|
*
|
|
431
519
|
* @event
|
|
432
520
|
*/
|
|
433
521
|
nodeChecking?: EmitType<NodeCheckEventArgs>;
|
|
434
522
|
|
|
435
523
|
/**
|
|
436
|
-
*
|
|
524
|
+
* Event callback that is raised when the TreeView node is clicked successfully.
|
|
437
525
|
*
|
|
438
526
|
* @event
|
|
439
527
|
*/
|
|
440
528
|
nodeClicked?: EmitType<NodeClickEventArgs>;
|
|
441
529
|
|
|
442
530
|
/**
|
|
443
|
-
*
|
|
531
|
+
* Event callback that is raised when the TreeView node collapses successfully.
|
|
444
532
|
*
|
|
445
533
|
* @event
|
|
446
534
|
*/
|
|
447
535
|
nodeCollapsed?: EmitType<NodeExpandEventArgs>;
|
|
448
536
|
|
|
449
537
|
/**
|
|
450
|
-
*
|
|
538
|
+
* Event callback that is raised before the TreeView node collapses.
|
|
451
539
|
*
|
|
452
540
|
* @event
|
|
453
541
|
*/
|
|
454
542
|
nodeCollapsing?: EmitType<NodeExpandEventArgs>;
|
|
455
543
|
|
|
456
544
|
/**
|
|
457
|
-
*
|
|
545
|
+
* Event callback that is raised when the TreeView node is dragged (moved) continuously.
|
|
458
546
|
*
|
|
459
547
|
|
|
460
548
|
* @event
|
|
@@ -462,63 +550,63 @@ export interface TreeViewModel extends ComponentModel{
|
|
|
462
550
|
nodeDragging?: EmitType<DragAndDropEventArgs>;
|
|
463
551
|
|
|
464
552
|
/**
|
|
465
|
-
*
|
|
553
|
+
* Event callback that is raised when the TreeView node drag (move) starts.
|
|
466
554
|
*
|
|
467
555
|
* @event
|
|
468
556
|
*/
|
|
469
557
|
nodeDragStart?: EmitType<DragAndDropEventArgs>;
|
|
470
558
|
|
|
471
559
|
/**
|
|
472
|
-
*
|
|
560
|
+
* Event callback that is raised when the TreeView node drag (move) is stopped.
|
|
473
561
|
*
|
|
474
562
|
* @event
|
|
475
563
|
*/
|
|
476
564
|
nodeDragStop?: EmitType<DragAndDropEventArgs>;
|
|
477
565
|
|
|
478
566
|
/**
|
|
479
|
-
*
|
|
567
|
+
* Event callback that is raised when the TreeView node is dropped on target element successfully.
|
|
480
568
|
*
|
|
481
569
|
* @event
|
|
482
570
|
*/
|
|
483
571
|
nodeDropped?: EmitType<DragAndDropEventArgs>;
|
|
484
572
|
|
|
485
573
|
/**
|
|
486
|
-
*
|
|
574
|
+
* Event callback that is raised when the TreeView node is renamed successfully.
|
|
487
575
|
*
|
|
488
576
|
* @event
|
|
489
577
|
*/
|
|
490
578
|
nodeEdited?: EmitType<NodeEditEventArgs>;
|
|
491
579
|
|
|
492
580
|
/**
|
|
493
|
-
*
|
|
581
|
+
* Event callback that is raised before the TreeView node is renamed.
|
|
494
582
|
*
|
|
495
583
|
* @event
|
|
496
584
|
*/
|
|
497
585
|
nodeEditing?: EmitType<NodeEditEventArgs>;
|
|
498
586
|
|
|
499
587
|
/**
|
|
500
|
-
*
|
|
588
|
+
* Event callback that is raised when the TreeView node expands successfully.
|
|
501
589
|
*
|
|
502
590
|
* @event
|
|
503
591
|
*/
|
|
504
592
|
nodeExpanded?: EmitType<NodeExpandEventArgs>;
|
|
505
593
|
|
|
506
594
|
/**
|
|
507
|
-
*
|
|
595
|
+
* Event callback that is raised before the TreeView node is to be expanded.
|
|
508
596
|
*
|
|
509
597
|
* @event
|
|
510
598
|
*/
|
|
511
599
|
nodeExpanding?: EmitType<NodeExpandEventArgs>;
|
|
512
600
|
|
|
513
601
|
/**
|
|
514
|
-
*
|
|
602
|
+
* Event callback that is raised when the TreeView node is selected/unselected successfully.
|
|
515
603
|
*
|
|
516
604
|
* @event
|
|
517
605
|
*/
|
|
518
606
|
nodeSelected?: EmitType<NodeSelectEventArgs>;
|
|
519
607
|
|
|
520
608
|
/**
|
|
521
|
-
*
|
|
609
|
+
* Event callback that is raised before the TreeView node is selected/unselected.
|
|
522
610
|
*
|
|
523
611
|
* @event
|
|
524
612
|
*/
|