@syncfusion/ej2-gantt 19.4.55 → 20.1.47-1460716
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/CHANGELOG.md +1072 -1047
- package/README.md +75 -75
- package/dist/ej2-gantt.umd.min.js +1 -10
- package/dist/ej2-gantt.umd.min.js.map +1 -1
- package/dist/es6/ej2-gantt.es2015.js +341 -240
- package/dist/es6/ej2-gantt.es2015.js.map +1 -1
- package/dist/es6/ej2-gantt.es5.js +713 -598
- package/dist/es6/ej2-gantt.es5.js.map +1 -1
- package/dist/global/ej2-gantt.min.js +1 -10
- package/dist/global/ej2-gantt.min.js.map +1 -1
- package/dist/global/index.d.ts +0 -9
- package/dist/ts/components.ts +4 -0
- package/dist/ts/gantt/actions/actions.ts +18 -0
- package/dist/ts/gantt/actions/cell-edit.ts +606 -0
- package/dist/ts/gantt/actions/chart-scroll.ts +167 -0
- package/dist/ts/gantt/actions/column-menu.ts +35 -0
- package/dist/ts/gantt/actions/column-reorder.ts +52 -0
- package/dist/ts/gantt/actions/column-resize.ts +52 -0
- package/dist/ts/gantt/actions/connector-line-edit.ts +829 -0
- package/dist/ts/gantt/actions/context-menu.ts +754 -0
- package/dist/ts/gantt/actions/day-markers.ts +80 -0
- package/dist/ts/gantt/actions/dependency.ts +692 -0
- package/dist/ts/gantt/actions/dialog-edit.ts +2208 -0
- package/dist/ts/gantt/actions/edit.ts +3499 -0
- package/dist/ts/gantt/actions/excel-export.ts +61 -0
- package/dist/ts/gantt/actions/filter.ts +302 -0
- package/dist/ts/gantt/actions/keyboard.ts +306 -0
- package/dist/ts/gantt/actions/pdf-export.ts +214 -0
- package/dist/ts/gantt/actions/rowdragdrop.ts +839 -0
- package/dist/ts/gantt/actions/selection.ts +536 -0
- package/dist/ts/gantt/actions/sort.ts +98 -0
- package/dist/ts/gantt/actions/taskbar-edit.ts +1940 -0
- package/dist/ts/gantt/actions/toolbar.ts +489 -0
- package/dist/ts/gantt/actions/virtual-scroll.ts +60 -0
- package/dist/ts/gantt/base/common.ts +9 -0
- package/dist/ts/gantt/base/constant.ts +13 -0
- package/dist/ts/gantt/base/css-constants.ts +148 -0
- package/dist/ts/gantt/base/date-processor.ts +1257 -0
- package/dist/ts/gantt/base/enum.ts +372 -0
- package/dist/ts/gantt/base/gantt-chart.ts +1248 -0
- package/dist/ts/gantt/base/gantt.ts +4069 -0
- package/dist/ts/gantt/base/interface.ts +955 -0
- package/dist/ts/gantt/base/splitter.ts +174 -0
- package/dist/ts/gantt/base/task-processor.ts +2217 -0
- package/dist/ts/gantt/base/tree-grid.ts +694 -0
- package/dist/ts/gantt/base/utils.ts +208 -0
- package/dist/ts/gantt/export/export-helper.ts +552 -0
- package/dist/ts/gantt/export/pdf-base/dictionary.ts +152 -0
- package/dist/ts/gantt/export/pdf-base/pdf-borders.ts +277 -0
- package/dist/ts/gantt/export/pdf-base/pdf-grid-table.ts +901 -0
- package/dist/ts/gantt/export/pdf-base/pdf-style/gantt-theme.ts +131 -0
- package/dist/ts/gantt/export/pdf-base/pdf-style/style.ts +91 -0
- package/dist/ts/gantt/export/pdf-base/treegrid-layouter.ts +414 -0
- package/dist/ts/gantt/export/pdf-connector-line.ts +422 -0
- package/dist/ts/gantt/export/pdf-gantt.ts +282 -0
- package/dist/ts/gantt/export/pdf-taskbar.ts +395 -0
- package/dist/ts/gantt/export/pdf-timeline.ts +202 -0
- package/dist/ts/gantt/export/pdf-treegrid.ts +406 -0
- package/dist/ts/gantt/models/add-dialog-field-settings.ts +33 -0
- package/dist/ts/gantt/models/column.ts +464 -0
- package/dist/ts/gantt/models/day-working-time.ts +22 -0
- package/dist/ts/gantt/models/edit-dialog-field-settings.ts +33 -0
- package/dist/ts/gantt/models/edit-settings.ts +79 -0
- package/dist/ts/gantt/models/event-marker.ts +27 -0
- package/dist/ts/gantt/models/filter-settings.ts +53 -0
- package/dist/ts/gantt/models/holiday.ts +34 -0
- package/dist/ts/gantt/models/label-settings.ts +30 -0
- package/dist/ts/gantt/models/models.ts +36 -0
- package/dist/ts/gantt/models/resource-fields.ts +38 -0
- package/dist/ts/gantt/models/search-settings.ts +77 -0
- package/dist/ts/gantt/models/selection-settings.ts +56 -0
- package/dist/ts/gantt/models/sort-settings.ts +50 -0
- package/dist/ts/gantt/models/splitter-settings.ts +47 -0
- package/dist/ts/gantt/models/task-fields.ts +171 -0
- package/dist/ts/gantt/models/timeline-settings.ts +112 -0
- package/dist/ts/gantt/models/tooltip-settings.ts +46 -0
- package/dist/ts/gantt/renderer/chart-rows.ts +1838 -0
- package/dist/ts/gantt/renderer/connector-line.ts +1025 -0
- package/dist/ts/gantt/renderer/edit-tooltip.ts +228 -0
- package/dist/ts/gantt/renderer/event-marker.ts +96 -0
- package/dist/ts/gantt/renderer/nonworking-day.ts +205 -0
- package/dist/ts/gantt/renderer/render.ts +5 -0
- package/dist/ts/gantt/renderer/timeline.ts +1397 -0
- package/dist/ts/gantt/renderer/tooltip.ts +450 -0
- package/dist/ts/gantt/renderer/virtual-content-render.ts +50 -0
- package/license +9 -9
- package/package.json +80 -80
- package/src/gantt/actions/cell-edit.js +2 -1
- package/src/gantt/actions/dialog-edit.js +2 -1
- package/src/gantt/actions/edit.js +36 -9
- package/src/gantt/actions/rowdragdrop.js +37 -15
- package/src/gantt/actions/selection.js +3 -2
- package/src/gantt/actions/taskbar-edit.js +24 -24
- package/src/gantt/base/date-processor.js +0 -1
- package/src/gantt/base/gantt-chart.js +36 -5
- package/src/gantt/base/gantt-model.d.ts +779 -779
- package/src/gantt/base/gantt.d.ts +27 -27
- package/src/gantt/base/gantt.js +35 -76
- package/src/gantt/base/splitter.js +1 -0
- package/src/gantt/base/task-processor.js +13 -13
- package/src/gantt/base/tree-grid.js +3 -1
- package/src/gantt/export/pdf-base/treegrid-layouter.js +13 -13
- package/src/gantt/export/pdf-connector-line.js +11 -11
- package/src/gantt/export/pdf-gantt.js +24 -24
- package/src/gantt/export/pdf-taskbar.js +11 -11
- package/src/gantt/export/pdf-treegrid.js +13 -13
- package/src/gantt/models/add-dialog-field-settings-model.d.ts +21 -21
- package/src/gantt/models/add-dialog-field-settings.js +19 -19
- package/src/gantt/models/day-working-time-model.d.ts +11 -11
- package/src/gantt/models/day-working-time.js +19 -19
- package/src/gantt/models/edit-dialog-field-settings-model.d.ts +21 -21
- package/src/gantt/models/edit-dialog-field-settings.js +19 -19
- package/src/gantt/models/edit-settings-model.d.ts +50 -50
- package/src/gantt/models/edit-settings.js +19 -19
- package/src/gantt/models/event-marker-model.d.ts +16 -16
- package/src/gantt/models/event-marker.js +19 -19
- package/src/gantt/models/filter-settings-model.d.ts +34 -34
- package/src/gantt/models/filter-settings.js +19 -19
- package/src/gantt/models/holiday-model.d.ts +21 -21
- package/src/gantt/models/holiday.js +19 -19
- package/src/gantt/models/label-settings-model.d.ts +16 -16
- package/src/gantt/models/label-settings.js +19 -19
- package/src/gantt/models/resource-fields-model.d.ts +21 -21
- package/src/gantt/models/resource-fields.js +19 -19
- package/src/gantt/models/search-settings-model.d.ts +56 -56
- package/src/gantt/models/search-settings.js +19 -19
- package/src/gantt/models/selection-settings-model.d.ts +35 -35
- package/src/gantt/models/selection-settings.js +19 -19
- package/src/gantt/models/sort-settings-model.d.ts +24 -24
- package/src/gantt/models/sort-settings.js +19 -19
- package/src/gantt/models/splitter-settings-model.d.ts +30 -30
- package/src/gantt/models/splitter-settings.js +19 -19
- package/src/gantt/models/task-fields-model.d.ts +110 -110
- package/src/gantt/models/task-fields.js +19 -19
- package/src/gantt/models/timeline-settings-model.d.ts +71 -71
- package/src/gantt/models/timeline-settings.js +19 -19
- package/src/gantt/models/tooltip-settings-model.d.ts +26 -26
- package/src/gantt/models/tooltip-settings.js +19 -19
- package/src/gantt/renderer/chart-rows.js +49 -37
- package/src/gantt/renderer/connector-line.js +22 -18
- package/src/gantt/renderer/event-marker.js +1 -0
- package/src/gantt/renderer/nonworking-day.js +13 -6
- package/src/gantt/renderer/timeline.d.ts +1 -0
- package/src/gantt/renderer/timeline.js +51 -12
- package/src/gantt/renderer/tooltip.js +11 -3
- package/styles/bootstrap-dark.css +442 -427
- package/styles/bootstrap.css +442 -433
- package/styles/bootstrap4.css +454 -479
- package/styles/bootstrap5-dark.css +457 -433
- package/styles/bootstrap5.css +457 -433
- package/styles/fabric-dark.css +438 -421
- package/styles/fabric.css +445 -428
- package/styles/fluent-dark.css +1938 -0
- package/styles/fluent-dark.scss +1 -0
- package/styles/fluent.css +1938 -0
- package/styles/fluent.scss +1 -0
- package/styles/gantt/_all.scss +2 -2
- package/styles/gantt/_bootstrap-dark-definition.scss +210 -156
- package/styles/gantt/_bootstrap-definition.scss +211 -157
- package/styles/gantt/_bootstrap4-definition.scss +213 -158
- package/styles/gantt/_bootstrap5-definition.scss +215 -162
- package/styles/gantt/_fabric-dark-definition.scss +211 -157
- package/styles/gantt/_fabric-definition.scss +211 -157
- package/styles/gantt/_fluent-dark-definition.scss +1 -0
- package/styles/gantt/_fluent-definition.scss +215 -162
- package/styles/gantt/_fusionnew-definition.scss +214 -0
- package/styles/gantt/_highcontrast-definition.scss +211 -157
- package/styles/gantt/_highcontrast-light-definition.scss +211 -157
- package/styles/gantt/_layout.scss +1446 -1027
- package/styles/gantt/_material-dark-definition.scss +212 -157
- package/styles/gantt/_material-definition.scss +212 -157
- package/styles/gantt/_material3-definition.scss +215 -0
- package/styles/gantt/_tailwind-definition.scss +215 -161
- package/styles/gantt/_theme.scss +702 -668
- package/styles/gantt/bootstrap-dark.css +442 -427
- package/styles/gantt/bootstrap.css +442 -433
- package/styles/gantt/bootstrap4.css +454 -479
- package/styles/gantt/bootstrap5-dark.css +457 -433
- package/styles/gantt/bootstrap5.css +457 -433
- package/styles/gantt/fabric-dark.css +438 -421
- package/styles/gantt/fabric.css +445 -428
- package/styles/gantt/fluent-dark.css +1938 -0
- package/styles/gantt/fluent-dark.scss +22 -0
- package/styles/gantt/fluent.css +1938 -0
- package/styles/gantt/fluent.scss +22 -0
- package/styles/gantt/highcontrast-light.css +405 -405
- package/styles/gantt/highcontrast.css +444 -456
- package/styles/gantt/icons/_bootstrap-dark.scss +124 -113
- package/styles/gantt/icons/_bootstrap.scss +124 -113
- package/styles/gantt/icons/_bootstrap4.scss +124 -113
- package/styles/gantt/icons/_bootstrap5.scss +124 -112
- package/styles/gantt/icons/_fabric-dark.scss +124 -112
- package/styles/gantt/icons/_fabric.scss +124 -112
- package/styles/gantt/icons/_fluent-dark.scss +1 -0
- package/styles/gantt/icons/_fluent.scss +124 -112
- package/styles/gantt/icons/_fusionnew.scss +120 -0
- package/styles/gantt/icons/_highcontrast.scss +124 -112
- package/styles/gantt/icons/_material-dark.scss +124 -112
- package/styles/gantt/icons/_material.scss +124 -112
- package/styles/gantt/icons/_material3.scss +124 -0
- package/styles/gantt/icons/_tailwind-dark.scss +124 -113
- package/styles/gantt/icons/_tailwind.scss +124 -113
- package/styles/gantt/material-dark.css +446 -417
- package/styles/gantt/material.css +445 -419
- package/styles/gantt/tailwind-dark.css +452 -482
- package/styles/gantt/tailwind.css +449 -479
- package/styles/highcontrast-light.css +405 -405
- package/styles/highcontrast.css +444 -456
- package/styles/material-dark.css +446 -417
- package/styles/material.css +445 -419
- package/styles/tailwind-dark.css +452 -482
- package/styles/tailwind.css +449 -479
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, createElement, Complex, addClass, removeClass, Event, EmitType, formatUnit, Browser } from '@syncfusion/ej2-base';
|
|
1
|
+
import { Component, createElement, Complex, addClass, removeClass, Event, EmitType, formatUnit, Browser } from '@syncfusion/ej2-base';
|
|
2
2
|
import {ComponentModel} from '@syncfusion/ej2-base';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -7,1027 +7,1027 @@ import {ComponentModel} from '@syncfusion/ej2-base';
|
|
|
7
7
|
export interface GanttModel extends ComponentModel{
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
* Enables or disables the key board interaction of Gantt.
|
|
11
|
-
*
|
|
12
|
-
* @default true
|
|
13
|
-
*/
|
|
14
|
-
allowKeyboard?: boolean;
|
|
10
|
+
* Enables or disables the key board interaction of Gantt.
|
|
11
|
+
*
|
|
12
|
+
* @default true
|
|
13
|
+
*/
|
|
14
|
+
allowKeyboard?: boolean;
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
* If `enableImmutableMode` is set to true, the Gantt Chart will reuse old rows if it exists in the new result instead of
|
|
18
|
-
* full refresh while performing the Gantt actions.
|
|
19
|
-
*
|
|
20
|
-
* @default false
|
|
21
|
-
*/
|
|
22
|
-
enableImmutableMode?: boolean;
|
|
17
|
+
* If `enableImmutableMode` is set to true, the Gantt Chart will reuse old rows if it exists in the new result instead of
|
|
18
|
+
* full refresh while performing the Gantt actions.
|
|
19
|
+
*
|
|
20
|
+
* @default false
|
|
21
|
+
*/
|
|
22
|
+
enableImmutableMode?: boolean;
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
* If `disableHtmlEncode` is set to true, it encodes the HTML of the header and content cells.
|
|
26
|
-
*
|
|
27
|
-
* @default true
|
|
28
|
-
*/
|
|
29
|
-
disableHtmlEncode?: boolean;
|
|
25
|
+
* If `disableHtmlEncode` is set to true, it encodes the HTML of the header and content cells.
|
|
26
|
+
*
|
|
27
|
+
* @default true
|
|
28
|
+
*/
|
|
29
|
+
disableHtmlEncode?: boolean;
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
|
-
* Enables or disables the focusing the task bar on click action.
|
|
33
|
-
*
|
|
34
|
-
* @default true
|
|
35
|
-
*/
|
|
36
|
-
autoFocusTasks?: boolean;
|
|
32
|
+
* Enables or disables the focusing the task bar on click action.
|
|
33
|
+
*
|
|
34
|
+
* @default true
|
|
35
|
+
*/
|
|
36
|
+
autoFocusTasks?: boolean;
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
|
-
* If `allowSelection` is set to true, it allows selection of (highlight row) Gantt chart rows by clicking it.
|
|
40
|
-
*
|
|
41
|
-
* @default true
|
|
42
|
-
*/
|
|
43
|
-
allowSelection?: boolean;
|
|
39
|
+
* If `allowSelection` is set to true, it allows selection of (highlight row) Gantt chart rows by clicking it.
|
|
40
|
+
*
|
|
41
|
+
* @default true
|
|
42
|
+
*/
|
|
43
|
+
allowSelection?: boolean;
|
|
44
44
|
|
|
45
45
|
/**
|
|
46
|
-
* If `allowSorting` is set to true, it allows sorting of gantt chart tasks when column header is clicked.
|
|
47
|
-
*
|
|
48
|
-
* @default false
|
|
49
|
-
*/
|
|
50
|
-
allowSorting?: boolean;
|
|
46
|
+
* If `allowSorting` is set to true, it allows sorting of gantt chart tasks when column header is clicked.
|
|
47
|
+
*
|
|
48
|
+
* @default false
|
|
49
|
+
*/
|
|
50
|
+
allowSorting?: boolean;
|
|
51
51
|
|
|
52
52
|
/**
|
|
53
|
-
* If `enablePredecessorValidation` is set to true, it allows to validate the predecessor link.
|
|
54
|
-
*
|
|
55
|
-
* @default true
|
|
56
|
-
*/
|
|
57
|
-
enablePredecessorValidation?: boolean;
|
|
53
|
+
* If `enablePredecessorValidation` is set to true, it allows to validate the predecessor link.
|
|
54
|
+
*
|
|
55
|
+
* @default true
|
|
56
|
+
*/
|
|
57
|
+
enablePredecessorValidation?: boolean;
|
|
58
58
|
|
|
59
59
|
/**
|
|
60
|
-
* If `showColumnMenu` set to true, then it will enable the column menu options in each columns.
|
|
61
|
-
*
|
|
62
|
-
* @default false
|
|
63
|
-
*/
|
|
64
|
-
showColumnMenu?: boolean;
|
|
60
|
+
* If `showColumnMenu` set to true, then it will enable the column menu options in each columns.
|
|
61
|
+
*
|
|
62
|
+
* @default false
|
|
63
|
+
*/
|
|
64
|
+
showColumnMenu?: boolean;
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
|
-
* `columnMenuItems` defines both built-in and custom column menu items.
|
|
68
|
-
* <br><br>
|
|
69
|
-
* The available built-in items are,
|
|
70
|
-
* * `ColumnChooser` - To show/hide the TreeGrid columns.
|
|
71
|
-
* * `SortAscending` - Sort the current column in ascending order.
|
|
72
|
-
* * `SortDescending` - Sort the current column in descending order.
|
|
73
|
-
* * `Filter` - Filter options will show based on filterSettings property.
|
|
74
|
-
*
|
|
75
|
-
* @default null
|
|
76
|
-
*/
|
|
77
|
-
columnMenuItems?: ColumnMenuItem[] | ColumnMenuItemModel[];
|
|
67
|
+
* `columnMenuItems` defines both built-in and custom column menu items.
|
|
68
|
+
* <br><br>
|
|
69
|
+
* The available built-in items are,
|
|
70
|
+
* * `ColumnChooser` - To show/hide the TreeGrid columns.
|
|
71
|
+
* * `SortAscending` - Sort the current column in ascending order.
|
|
72
|
+
* * `SortDescending` - Sort the current column in descending order.
|
|
73
|
+
* * `Filter` - Filter options will show based on filterSettings property.
|
|
74
|
+
*
|
|
75
|
+
* @default null
|
|
76
|
+
*/
|
|
77
|
+
columnMenuItems?: ColumnMenuItem[] | ColumnMenuItemModel[];
|
|
78
78
|
|
|
79
79
|
/**
|
|
80
|
-
* By default, task schedule dates are calculated with system time zone.If Gantt chart assigned with specific time zone,
|
|
81
|
-
* then schedule dates are calculated as given time zone date value.
|
|
82
|
-
*
|
|
83
|
-
* @default null
|
|
84
|
-
*/
|
|
85
|
-
timezone?: string;
|
|
80
|
+
* By default, task schedule dates are calculated with system time zone.If Gantt chart assigned with specific time zone,
|
|
81
|
+
* then schedule dates are calculated as given time zone date value.
|
|
82
|
+
*
|
|
83
|
+
* @default null
|
|
84
|
+
*/
|
|
85
|
+
timezone?: string;
|
|
86
86
|
|
|
87
87
|
/**
|
|
88
|
-
* If `collapseAllParentTasks` set to true, then root tasks are rendered with collapsed state.
|
|
89
|
-
*
|
|
90
|
-
* @default false
|
|
91
|
-
*/
|
|
92
|
-
collapseAllParentTasks?: boolean;
|
|
88
|
+
* If `collapseAllParentTasks` set to true, then root tasks are rendered with collapsed state.
|
|
89
|
+
*
|
|
90
|
+
* @default false
|
|
91
|
+
*/
|
|
92
|
+
collapseAllParentTasks?: boolean;
|
|
93
93
|
|
|
94
94
|
/**
|
|
95
|
-
* If `highlightWeekends` set to true, then all weekend days are highlighted in week - day timeline mode.
|
|
96
|
-
*
|
|
97
|
-
* @default false
|
|
98
|
-
*/
|
|
99
|
-
highlightWeekends?: boolean;
|
|
95
|
+
* If `highlightWeekends` set to true, then all weekend days are highlighted in week - day timeline mode.
|
|
96
|
+
*
|
|
97
|
+
* @default false
|
|
98
|
+
*/
|
|
99
|
+
highlightWeekends?: boolean;
|
|
100
100
|
|
|
101
101
|
/**
|
|
102
|
-
* To define expander column index in Grid.
|
|
103
|
-
*
|
|
104
|
-
* @default 0
|
|
105
|
-
* @aspType int
|
|
106
|
-
*/
|
|
107
|
-
treeColumnIndex?: number;
|
|
102
|
+
* To define expander column index in Grid.
|
|
103
|
+
*
|
|
104
|
+
* @default 0
|
|
105
|
+
* @aspType int
|
|
106
|
+
*/
|
|
107
|
+
treeColumnIndex?: number;
|
|
108
108
|
|
|
109
109
|
/**
|
|
110
|
-
* It is used to render Gantt chart rows and tasks.
|
|
111
|
-
* `dataSource` value was defined as array of JavaScript objects or instances of `DataManager`.
|
|
112
|
-
* {% codeBlock src='gantt/dataSource/index.md' %}{% endcodeBlock %}
|
|
113
|
-
*
|
|
114
|
-
* @isGenericType true
|
|
115
|
-
* @default []
|
|
116
|
-
*/
|
|
117
|
-
dataSource?: Object[] | DataManager | Object;
|
|
110
|
+
* It is used to render Gantt chart rows and tasks.
|
|
111
|
+
* `dataSource` value was defined as array of JavaScript objects or instances of `DataManager`.
|
|
112
|
+
* {% codeBlock src='gantt/dataSource/index.md' %}{% endcodeBlock %}
|
|
113
|
+
*
|
|
114
|
+
* @isGenericType true
|
|
115
|
+
* @default []
|
|
116
|
+
*/
|
|
117
|
+
dataSource?: Object[] | DataManager | Object;
|
|
118
118
|
|
|
119
119
|
/**
|
|
120
|
-
* `durationUnit` Specifies the duration unit for each tasks whether day or hour or minute.
|
|
121
|
-
* * `day`: Sets the duration unit as day.
|
|
122
|
-
* * `hour`: Sets the duration unit as hour.
|
|
123
|
-
* * `minute`: Sets the duration unit as minute.
|
|
124
|
-
*
|
|
125
|
-
* @default day
|
|
126
|
-
*/
|
|
127
|
-
durationUnit?: DurationUnit;
|
|
120
|
+
* `durationUnit` Specifies the duration unit for each tasks whether day or hour or minute.
|
|
121
|
+
* * `day`: Sets the duration unit as day.
|
|
122
|
+
* * `hour`: Sets the duration unit as hour.
|
|
123
|
+
* * `minute`: Sets the duration unit as minute.
|
|
124
|
+
*
|
|
125
|
+
* @default day
|
|
126
|
+
*/
|
|
127
|
+
durationUnit?: DurationUnit;
|
|
128
128
|
|
|
129
129
|
/**
|
|
130
|
-
* Defines the external [`Query`](https://ej2.syncfusion.com/documentation/data/api-query.html)
|
|
131
|
-
* that will be executed along with data processing.
|
|
132
|
-
*
|
|
133
|
-
* @default null
|
|
134
|
-
*/
|
|
135
|
-
query?: Query;
|
|
136
|
-
|
|
130
|
+
* Defines the external [`Query`](https://ej2.syncfusion.com/documentation/data/api-query.html)
|
|
131
|
+
* that will be executed along with data processing.
|
|
132
|
+
*
|
|
133
|
+
* @default null
|
|
134
|
+
*/
|
|
135
|
+
query?: Query;
|
|
136
|
+
|
|
137
137
|
/**
|
|
138
|
-
* Specifies the dateFormat for Gantt, given format is displayed in tooltip and Grid cells.
|
|
139
|
-
* By default, the format is based on the culture.
|
|
140
|
-
*/
|
|
141
|
-
dateFormat?: string;
|
|
142
|
-
|
|
143
|
-
/**
|
|
144
|
-
* Defines the height of the Gantt component container.
|
|
145
|
-
*
|
|
146
|
-
* @default 'auto'
|
|
147
|
-
*/
|
|
148
|
-
height?: number | string;
|
|
149
|
-
|
|
150
|
-
/**
|
|
151
|
-
* If `renderBaseline` is set to `true`, then baselines are rendered for tasks.
|
|
152
|
-
*
|
|
153
|
-
* @default false
|
|
154
|
-
*/
|
|
155
|
-
renderBaseline?: boolean;
|
|
156
|
-
|
|
157
|
-
/**
|
|
158
|
-
* Configures the grid lines in tree grid and gantt chart.
|
|
159
|
-
*/
|
|
160
|
-
gridLines?: GridLine;
|
|
161
|
-
|
|
162
|
-
/**
|
|
163
|
-
* Defines the right, left and inner task labels in task bar.
|
|
164
|
-
* {% codeBlock src='gantt/labelSettings/index.md' %}{% endcodeBlock %}
|
|
165
|
-
*/
|
|
166
|
-
labelSettings?: LabelSettingsModel;
|
|
167
|
-
|
|
168
|
-
/**
|
|
169
|
-
* The task bar template that renders customized child task bars from the given template.
|
|
170
|
-
*
|
|
171
|
-
* @default null
|
|
172
|
-
*/
|
|
173
|
-
taskbarTemplate?: string;
|
|
138
|
+
* Specifies the dateFormat for Gantt, given format is displayed in tooltip and Grid cells.
|
|
139
|
+
* By default, the format is based on the culture.
|
|
140
|
+
*/
|
|
141
|
+
dateFormat?: string;
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Defines the height of the Gantt component container.
|
|
145
|
+
*
|
|
146
|
+
* @default 'auto'
|
|
147
|
+
*/
|
|
148
|
+
height?: number | string;
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* If `renderBaseline` is set to `true`, then baselines are rendered for tasks.
|
|
152
|
+
*
|
|
153
|
+
* @default false
|
|
154
|
+
*/
|
|
155
|
+
renderBaseline?: boolean;
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* Configures the grid lines in tree grid and gantt chart.
|
|
159
|
+
*/
|
|
160
|
+
gridLines?: GridLine;
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* Defines the right, left and inner task labels in task bar.
|
|
164
|
+
* {% codeBlock src='gantt/labelSettings/index.md' %}{% endcodeBlock %}
|
|
165
|
+
*/
|
|
166
|
+
labelSettings?: LabelSettingsModel;
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* The task bar template that renders customized child task bars from the given template.
|
|
170
|
+
*
|
|
171
|
+
* @default null
|
|
172
|
+
*/
|
|
173
|
+
taskbarTemplate?: string;
|
|
174
174
|
|
|
175
175
|
/**
|
|
176
|
-
* The parent task bar template that renders customized parent task bars from the given template.
|
|
177
|
-
*
|
|
178
|
-
* @default null
|
|
179
|
-
*/
|
|
180
|
-
parentTaskbarTemplate?: string;
|
|
176
|
+
* The parent task bar template that renders customized parent task bars from the given template.
|
|
177
|
+
*
|
|
178
|
+
* @default null
|
|
179
|
+
*/
|
|
180
|
+
parentTaskbarTemplate?: string;
|
|
181
181
|
|
|
182
182
|
/**
|
|
183
|
-
* The milestone template that renders customized milestone task from the given template.
|
|
184
|
-
*
|
|
185
|
-
* @default null
|
|
186
|
-
*/
|
|
187
|
-
milestoneTemplate?: string;
|
|
183
|
+
* The milestone template that renders customized milestone task from the given template.
|
|
184
|
+
*
|
|
185
|
+
* @default null
|
|
186
|
+
*/
|
|
187
|
+
milestoneTemplate?: string;
|
|
188
188
|
|
|
189
189
|
/**
|
|
190
|
-
* Defines the baseline bar color.
|
|
191
|
-
*/
|
|
192
|
-
baselineColor?: string;
|
|
190
|
+
* Defines the baseline bar color.
|
|
191
|
+
*/
|
|
192
|
+
baselineColor?: string;
|
|
193
193
|
|
|
194
194
|
/**
|
|
195
|
-
* Defines the width of the Gantt component container.
|
|
196
|
-
*
|
|
197
|
-
* @default 'auto'
|
|
198
|
-
*/
|
|
199
|
-
width?: number | string;
|
|
195
|
+
* Defines the width of the Gantt component container.
|
|
196
|
+
*
|
|
197
|
+
* @default 'auto'
|
|
198
|
+
*/
|
|
199
|
+
width?: number | string;
|
|
200
200
|
|
|
201
201
|
/**
|
|
202
|
-
* If `enableVirtualization` set to true, then the Gantt will render only the rows visible within the view-port.
|
|
203
|
-
* and load subsequent rows on vertical scrolling. This helps to load large dataset in Gantt.
|
|
204
|
-
*
|
|
205
|
-
* @default false
|
|
206
|
-
*/
|
|
207
|
-
enableVirtualization?: boolean;
|
|
202
|
+
* If `enableVirtualization` set to true, then the Gantt will render only the rows visible within the view-port.
|
|
203
|
+
* and load subsequent rows on vertical scrolling. This helps to load large dataset in Gantt.
|
|
204
|
+
*
|
|
205
|
+
* @default false
|
|
206
|
+
*/
|
|
207
|
+
enableVirtualization?: boolean;
|
|
208
208
|
|
|
209
209
|
/**
|
|
210
|
-
* `toolbar` defines the toolbar items of the Gantt.
|
|
211
|
-
* It contains built-in and custom toolbar items
|
|
212
|
-
* If an array value is assigned, it is considered as the list of built-in and custom toolbar items in the Gantt's toolbar.
|
|
213
|
-
* <br><br>
|
|
214
|
-
* The available built-in toolbar items are:
|
|
215
|
-
* * Add: Adds a new record.
|
|
216
|
-
* * Edit: Edits the selected task.
|
|
217
|
-
* * Update: Updates the edited task.
|
|
218
|
-
* * Delete: Deletes the selected task.
|
|
219
|
-
* * Cancel: Cancels the edit state.
|
|
220
|
-
* * Search: Searches tasks by the given key.
|
|
221
|
-
* * ExpandAll: Expands all the task of Gantt.
|
|
222
|
-
* * CollapseAll: Collapses all the task of Gantt.
|
|
223
|
-
* * PrevTimeSpan: Extends timeline with one unit before the timeline start date.
|
|
224
|
-
* * NextTimeSpan: Extends timeline with one unit after the timeline finish date.
|
|
225
|
-
* * ZoomIn: ZoomIn the Gantt control.
|
|
226
|
-
* * ZoomOut: ZoomOut the Gantt control.
|
|
227
|
-
* * ZoomToFit: Display the all tasks within the viewable Gantt chart.
|
|
228
|
-
* * ExcelExport: To export in Excel format.
|
|
229
|
-
* * CsvExport : To export in CSV format.
|
|
230
|
-
* * Indent: To indent a task to one level.
|
|
231
|
-
* * Outdent: To outdent a task from one level.
|
|
232
|
-
*
|
|
233
|
-
* @default null
|
|
234
|
-
*/
|
|
235
|
-
toolbar?: (ToolbarItem | string | ItemModel)[];
|
|
210
|
+
* `toolbar` defines the toolbar items of the Gantt.
|
|
211
|
+
* It contains built-in and custom toolbar items
|
|
212
|
+
* If an array value is assigned, it is considered as the list of built-in and custom toolbar items in the Gantt's toolbar.
|
|
213
|
+
* <br><br>
|
|
214
|
+
* The available built-in toolbar items are:
|
|
215
|
+
* * Add: Adds a new record.
|
|
216
|
+
* * Edit: Edits the selected task.
|
|
217
|
+
* * Update: Updates the edited task.
|
|
218
|
+
* * Delete: Deletes the selected task.
|
|
219
|
+
* * Cancel: Cancels the edit state.
|
|
220
|
+
* * Search: Searches tasks by the given key.
|
|
221
|
+
* * ExpandAll: Expands all the task of Gantt.
|
|
222
|
+
* * CollapseAll: Collapses all the task of Gantt.
|
|
223
|
+
* * PrevTimeSpan: Extends timeline with one unit before the timeline start date.
|
|
224
|
+
* * NextTimeSpan: Extends timeline with one unit after the timeline finish date.
|
|
225
|
+
* * ZoomIn: ZoomIn the Gantt control.
|
|
226
|
+
* * ZoomOut: ZoomOut the Gantt control.
|
|
227
|
+
* * ZoomToFit: Display the all tasks within the viewable Gantt chart.
|
|
228
|
+
* * ExcelExport: To export in Excel format.
|
|
229
|
+
* * CsvExport : To export in CSV format.
|
|
230
|
+
* * Indent: To indent a task to one level.
|
|
231
|
+
* * Outdent: To outdent a task from one level.
|
|
232
|
+
*
|
|
233
|
+
* @default null
|
|
234
|
+
*/
|
|
235
|
+
toolbar?: (ToolbarItem | string | ItemModel)[];
|
|
236
236
|
|
|
237
237
|
/**
|
|
238
|
-
* Defines workweek of project.
|
|
239
|
-
*
|
|
240
|
-
* @default ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday']
|
|
241
|
-
*/
|
|
242
|
-
workWeek?: string[];
|
|
238
|
+
* Defines workweek of project.
|
|
239
|
+
*
|
|
240
|
+
* @default ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday']
|
|
241
|
+
*/
|
|
242
|
+
workWeek?: string[];
|
|
243
243
|
|
|
244
244
|
/**
|
|
245
|
-
* Defines weekend days are considered as working day or not.
|
|
246
|
-
*
|
|
247
|
-
* @default false
|
|
248
|
-
*/
|
|
249
|
-
includeWeekend?: boolean;
|
|
245
|
+
* Defines weekend days are considered as working day or not.
|
|
246
|
+
*
|
|
247
|
+
* @default false
|
|
248
|
+
*/
|
|
249
|
+
includeWeekend?: boolean;
|
|
250
250
|
|
|
251
251
|
/**
|
|
252
|
-
* Enables or disables rendering of unscheduled tasks in Gantt.
|
|
253
|
-
*
|
|
254
|
-
* @default false
|
|
255
|
-
*/
|
|
256
|
-
allowUnscheduledTasks?: boolean;
|
|
252
|
+
* Enables or disables rendering of unscheduled tasks in Gantt.
|
|
253
|
+
*
|
|
254
|
+
* @default false
|
|
255
|
+
*/
|
|
256
|
+
allowUnscheduledTasks?: boolean;
|
|
257
257
|
|
|
258
258
|
/**
|
|
259
|
-
* To show notes column cell values inside the cell or in tooltip.
|
|
260
|
-
*
|
|
261
|
-
* @default false
|
|
262
|
-
|
|
263
|
-
*/
|
|
264
|
-
showInlineNotes?: boolean;
|
|
259
|
+
* To show notes column cell values inside the cell or in tooltip.
|
|
260
|
+
*
|
|
261
|
+
* @default false
|
|
262
|
+
* @deprecated
|
|
263
|
+
*/
|
|
264
|
+
showInlineNotes?: boolean;
|
|
265
265
|
|
|
266
266
|
/**
|
|
267
|
-
* Defines height value for grid rows and chart rows in Gantt.
|
|
268
|
-
*
|
|
269
|
-
* @default 36
|
|
270
|
-
* @aspType int
|
|
271
|
-
*/
|
|
272
|
-
rowHeight?: number;
|
|
273
|
-
|
|
267
|
+
* Defines height value for grid rows and chart rows in Gantt.
|
|
268
|
+
*
|
|
269
|
+
* @default 36
|
|
270
|
+
* @aspType int
|
|
271
|
+
*/
|
|
272
|
+
rowHeight?: number;
|
|
273
|
+
|
|
274
274
|
/**
|
|
275
|
-
* Defines height of taskbar element in Gantt.
|
|
276
|
-
*
|
|
277
|
-
* @aspType int?
|
|
278
|
-
*/
|
|
279
|
-
taskbarHeight?: number;
|
|
280
|
-
|
|
281
|
-
/**
|
|
282
|
-
* Defines start date of the project, if `projectStartDate` value not set then it will be calculated from data source.
|
|
283
|
-
*
|
|
284
|
-
* @default null
|
|
285
|
-
*/
|
|
286
|
-
projectStartDate?: Date | string;
|
|
287
|
-
|
|
288
|
-
/**
|
|
289
|
-
* Defines end date of the project, if `projectEndDate` value not set then it will be calculated from data source.
|
|
290
|
-
*
|
|
291
|
-
* @default null
|
|
292
|
-
*/
|
|
293
|
-
projectEndDate?: Date | string;
|
|
294
|
-
|
|
295
|
-
/**
|
|
296
|
-
* Defines mapping property to get resource id value from resource collection.
|
|
297
|
-
*
|
|
298
|
-
* @default null
|
|
299
|
-
*/
|
|
300
|
-
resourceIDMapping?: string;
|
|
301
|
-
|
|
302
|
-
/**
|
|
303
|
-
* Defines mapping property to get resource name value from resource collection.
|
|
304
|
-
*
|
|
305
|
-
* @default null
|
|
306
|
-
*/
|
|
307
|
-
resourceNameMapping?: string;
|
|
308
|
-
|
|
309
|
-
/**
|
|
310
|
-
* Defines resource collection assigned for projects.
|
|
311
|
-
*
|
|
312
|
-
* @default []
|
|
313
|
-
*/
|
|
314
|
-
resources?: object[];
|
|
315
|
-
|
|
316
|
-
/**
|
|
317
|
-
* Defines segment collection assigned for tasks.
|
|
318
|
-
*
|
|
319
|
-
* @default []
|
|
320
|
-
*/
|
|
321
|
-
segmentData?: object[];
|
|
275
|
+
* Defines height of taskbar element in Gantt.
|
|
276
|
+
*
|
|
277
|
+
* @aspType int?
|
|
278
|
+
*/
|
|
279
|
+
taskbarHeight?: number;
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* Defines start date of the project, if `projectStartDate` value not set then it will be calculated from data source.
|
|
283
|
+
*
|
|
284
|
+
* @default null
|
|
285
|
+
*/
|
|
286
|
+
projectStartDate?: Date | string;
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* Defines end date of the project, if `projectEndDate` value not set then it will be calculated from data source.
|
|
290
|
+
*
|
|
291
|
+
* @default null
|
|
292
|
+
*/
|
|
293
|
+
projectEndDate?: Date | string;
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* Defines mapping property to get resource id value from resource collection.
|
|
297
|
+
*
|
|
298
|
+
* @default null
|
|
299
|
+
*/
|
|
300
|
+
resourceIDMapping?: string;
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* Defines mapping property to get resource name value from resource collection.
|
|
304
|
+
*
|
|
305
|
+
* @default null
|
|
306
|
+
*/
|
|
307
|
+
resourceNameMapping?: string;
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* Defines resource collection assigned for projects.
|
|
311
|
+
*
|
|
312
|
+
* @default []
|
|
313
|
+
*/
|
|
314
|
+
resources?: object[];
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* Defines segment collection assigned for tasks.
|
|
318
|
+
*
|
|
319
|
+
* @default []
|
|
320
|
+
*/
|
|
321
|
+
segmentData?: object[];
|
|
322
322
|
|
|
323
323
|
/**
|
|
324
|
-
* Defines background color of dependency lines.
|
|
325
|
-
*
|
|
326
|
-
* @default null
|
|
327
|
-
*/
|
|
328
|
-
connectorLineBackground?: string;
|
|
324
|
+
* Defines background color of dependency lines.
|
|
325
|
+
*
|
|
326
|
+
* @default null
|
|
327
|
+
*/
|
|
328
|
+
connectorLineBackground?: string;
|
|
329
329
|
|
|
330
330
|
/**
|
|
331
|
-
* Defines width of dependency lines.
|
|
332
|
-
*
|
|
333
|
-
* @default 1
|
|
334
|
-
* @aspType int
|
|
335
|
-
*/
|
|
336
|
-
connectorLineWidth?: number;
|
|
331
|
+
* Defines width of dependency lines.
|
|
332
|
+
*
|
|
333
|
+
* @default 1
|
|
334
|
+
* @aspType int
|
|
335
|
+
*/
|
|
336
|
+
connectorLineWidth?: number;
|
|
337
337
|
|
|
338
338
|
/**
|
|
339
|
-
* Defines column collection displayed in grid
|
|
340
|
-
* If the `columns` declaration was empty then `columns` are automatically populated from `taskSettings` value.
|
|
341
|
-
* {% codeBlock src='gantt/columns/index.md' %}{% endcodeBlock %}
|
|
342
|
-
*
|
|
343
|
-
* @default []
|
|
344
|
-
*/
|
|
345
|
-
columns?: Column[] | string[] | ColumnModel[];
|
|
339
|
+
* Defines column collection displayed in grid
|
|
340
|
+
* If the `columns` declaration was empty then `columns` are automatically populated from `taskSettings` value.
|
|
341
|
+
* {% codeBlock src='gantt/columns/index.md' %}{% endcodeBlock %}
|
|
342
|
+
*
|
|
343
|
+
* @default []
|
|
344
|
+
*/
|
|
345
|
+
columns?: Column[] | string[] | ColumnModel[];
|
|
346
346
|
|
|
347
347
|
/**
|
|
348
|
-
* Defines the tabs and fields to be included in the add dialog.
|
|
349
|
-
* If the value was empty, then it will be calculated from `taskSettings` and `columns` value.
|
|
350
|
-
* {% codeBlock src='gantt/addDialogFields/index.md' %}{% endcodeBlock %}
|
|
351
|
-
*
|
|
352
|
-
* @default []
|
|
353
|
-
*/
|
|
354
|
-
addDialogFields?: AddDialogFieldSettingsModel[];
|
|
348
|
+
* Defines the tabs and fields to be included in the add dialog.
|
|
349
|
+
* If the value was empty, then it will be calculated from `taskSettings` and `columns` value.
|
|
350
|
+
* {% codeBlock src='gantt/addDialogFields/index.md' %}{% endcodeBlock %}
|
|
351
|
+
*
|
|
352
|
+
* @default []
|
|
353
|
+
*/
|
|
354
|
+
addDialogFields?: AddDialogFieldSettingsModel[];
|
|
355
355
|
|
|
356
356
|
/**
|
|
357
|
-
* Defines the tabs and fields to be included in the edit dialog.
|
|
358
|
-
* If the value was empty, then it will be calculated from `taskSettings` and `columns` value.
|
|
359
|
-
* {% codeBlock src='gantt/editDialogFields/index.md' %}{% endcodeBlock %}
|
|
360
|
-
*
|
|
361
|
-
* @default []
|
|
362
|
-
*/
|
|
363
|
-
editDialogFields?: EditDialogFieldSettingsModel[];
|
|
357
|
+
* Defines the tabs and fields to be included in the edit dialog.
|
|
358
|
+
* If the value was empty, then it will be calculated from `taskSettings` and `columns` value.
|
|
359
|
+
* {% codeBlock src='gantt/editDialogFields/index.md' %}{% endcodeBlock %}
|
|
360
|
+
*
|
|
361
|
+
* @default []
|
|
362
|
+
*/
|
|
363
|
+
editDialogFields?: EditDialogFieldSettingsModel[];
|
|
364
364
|
|
|
365
365
|
/**
|
|
366
|
-
* The `selectedRowIndex` allows you to select a row at initial rendering.
|
|
367
|
-
* You can also get the currently selected row index.
|
|
368
|
-
*
|
|
369
|
-
* @default -1
|
|
370
|
-
* @aspType int
|
|
371
|
-
*/
|
|
372
|
-
selectedRowIndex?: number;
|
|
366
|
+
* The `selectedRowIndex` allows you to select a row at initial rendering.
|
|
367
|
+
* You can also get the currently selected row index.
|
|
368
|
+
*
|
|
369
|
+
* @default -1
|
|
370
|
+
* @aspType int
|
|
371
|
+
*/
|
|
372
|
+
selectedRowIndex?: number;
|
|
373
373
|
|
|
374
374
|
/**
|
|
375
|
-
* `workUnit` Specifies the work unit for each tasks whether day or hour or minute.
|
|
376
|
-
* * `day`: Sets the work unit as day.
|
|
377
|
-
* * `hour`: Sets the work unit as hour.
|
|
378
|
-
* * `minute`: Sets the work unit as minute.
|
|
379
|
-
*
|
|
380
|
-
* @default hour
|
|
381
|
-
*/
|
|
382
|
-
workUnit?: WorkUnit;
|
|
375
|
+
* `workUnit` Specifies the work unit for each tasks whether day or hour or minute.
|
|
376
|
+
* * `day`: Sets the work unit as day.
|
|
377
|
+
* * `hour`: Sets the work unit as hour.
|
|
378
|
+
* * `minute`: Sets the work unit as minute.
|
|
379
|
+
*
|
|
380
|
+
* @default hour
|
|
381
|
+
*/
|
|
382
|
+
workUnit?: WorkUnit;
|
|
383
383
|
|
|
384
384
|
/**
|
|
385
|
-
* `taskType` Specifies the task type for task whether fixedUnit or fixedWork or fixedDuration.
|
|
386
|
-
* * `fixedUnit`: Sets the task type as fixedUnit.
|
|
387
|
-
* * `fixedWork`: Sets the task type as fixedWork.
|
|
388
|
-
* * `fixedDuration`: Sets the task type as fixedDuration.
|
|
389
|
-
*
|
|
390
|
-
* @default fixedUnit
|
|
391
|
-
*/
|
|
392
|
-
taskType?: TaskType;
|
|
385
|
+
* `taskType` Specifies the task type for task whether fixedUnit or fixedWork or fixedDuration.
|
|
386
|
+
* * `fixedUnit`: Sets the task type as fixedUnit.
|
|
387
|
+
* * `fixedWork`: Sets the task type as fixedWork.
|
|
388
|
+
* * `fixedDuration`: Sets the task type as fixedDuration.
|
|
389
|
+
*
|
|
390
|
+
* @default fixedUnit
|
|
391
|
+
*/
|
|
392
|
+
taskType?: TaskType;
|
|
393
393
|
|
|
394
394
|
/**
|
|
395
|
-
* Defines the view type of the Gantt.
|
|
396
|
-
*/
|
|
397
|
-
viewType?: ViewType;
|
|
395
|
+
* Defines the view type of the Gantt.
|
|
396
|
+
*/
|
|
397
|
+
viewType?: ViewType;
|
|
398
398
|
|
|
399
399
|
/**
|
|
400
|
-
* Defines customized working time of project.
|
|
401
|
-
* {% codeBlock src='gantt/dayWorkingTime/index.md' %}{% endcodeBlock %}
|
|
402
|
-
*/
|
|
403
|
-
dayWorkingTime?: DayWorkingTimeModel[];
|
|
400
|
+
* Defines customized working time of project.
|
|
401
|
+
* {% codeBlock src='gantt/dayWorkingTime/index.md' %}{% endcodeBlock %}
|
|
402
|
+
*/
|
|
403
|
+
dayWorkingTime?: DayWorkingTimeModel[];
|
|
404
404
|
|
|
405
405
|
/**
|
|
406
|
-
* Defines holidays presented in project timeline.
|
|
407
|
-
* {% codeBlock src='gantt/holidays/index.md' %}{% endcodeBlock %}
|
|
408
|
-
*
|
|
409
|
-
* @default []
|
|
410
|
-
*/
|
|
411
|
-
holidays?: HolidayModel[];
|
|
406
|
+
* Defines holidays presented in project timeline.
|
|
407
|
+
* {% codeBlock src='gantt/holidays/index.md' %}{% endcodeBlock %}
|
|
408
|
+
*
|
|
409
|
+
* @default []
|
|
410
|
+
*/
|
|
411
|
+
holidays?: HolidayModel[];
|
|
412
412
|
|
|
413
413
|
/**
|
|
414
|
-
* Defines events and status of project throughout the timeline.
|
|
415
|
-
* {% codeBlock src='gantt/eventMarkers/index.md' %}{% endcodeBlock %}
|
|
416
|
-
*
|
|
417
|
-
* @default []
|
|
418
|
-
*/
|
|
419
|
-
eventMarkers?: EventMarkerModel[];
|
|
414
|
+
* Defines events and status of project throughout the timeline.
|
|
415
|
+
* {% codeBlock src='gantt/eventMarkers/index.md' %}{% endcodeBlock %}
|
|
416
|
+
*
|
|
417
|
+
* @default []
|
|
418
|
+
*/
|
|
419
|
+
eventMarkers?: EventMarkerModel[];
|
|
420
420
|
|
|
421
421
|
/**
|
|
422
|
-
* Defines mapping properties to find task values such as id, start date, end date, duration and progress values from data source.
|
|
423
|
-
* {% codeBlock src='gantt/taskFields/index.md' %}{% endcodeBlock %}
|
|
424
|
-
*/
|
|
425
|
-
taskFields?: TaskFieldsModel;
|
|
422
|
+
* Defines mapping properties to find task values such as id, start date, end date, duration and progress values from data source.
|
|
423
|
+
* {% codeBlock src='gantt/taskFields/index.md' %}{% endcodeBlock %}
|
|
424
|
+
*/
|
|
425
|
+
taskFields?: TaskFieldsModel;
|
|
426
426
|
|
|
427
427
|
/**
|
|
428
|
-
* Defines mapping properties to find resource values such as id, name, unit and group from resource collection.
|
|
429
|
-
*/
|
|
430
|
-
resourceFields?: ResourceFieldsModel;
|
|
428
|
+
* Defines mapping properties to find resource values such as id, name, unit and group from resource collection.
|
|
429
|
+
*/
|
|
430
|
+
resourceFields?: ResourceFieldsModel;
|
|
431
431
|
|
|
432
432
|
/**
|
|
433
|
-
* Configures timeline settings of Gantt.
|
|
434
|
-
* Defines default timeline modes or customized top tier mode and bottom tier mode or single tier only.
|
|
435
|
-
* {% codeBlock src='gantt/timelineSettings/index.md' %}{% endcodeBlock %}
|
|
436
|
-
*/
|
|
437
|
-
timelineSettings?: TimelineSettingsModel;
|
|
433
|
+
* Configures timeline settings of Gantt.
|
|
434
|
+
* Defines default timeline modes or customized top tier mode and bottom tier mode or single tier only.
|
|
435
|
+
* {% codeBlock src='gantt/timelineSettings/index.md' %}{% endcodeBlock %}
|
|
436
|
+
*/
|
|
437
|
+
timelineSettings?: TimelineSettingsModel;
|
|
438
438
|
|
|
439
439
|
/**
|
|
440
|
-
* Configures the sort settings of the Gantt.
|
|
441
|
-
* {% codeBlock src='gantt/sortSettings/index.md' %}{% endcodeBlock %}
|
|
442
|
-
*
|
|
443
|
-
* @default {columns:[]}
|
|
444
|
-
*/
|
|
445
|
-
sortSettings?: SortSettingsModel;
|
|
440
|
+
* Configures the sort settings of the Gantt.
|
|
441
|
+
* {% codeBlock src='gantt/sortSettings/index.md' %}{% endcodeBlock %}
|
|
442
|
+
*
|
|
443
|
+
* @default {columns:[]}
|
|
444
|
+
*/
|
|
445
|
+
sortSettings?: SortSettingsModel;
|
|
446
446
|
|
|
447
447
|
/**
|
|
448
|
-
* Configures edit settings of Gantt.
|
|
449
|
-
* {% codeBlock src='gantt/editSettings/index.md' %}{% endcodeBlock %}
|
|
450
|
-
*
|
|
451
|
-
* @default { allowAdding: false, allowEditing: false, allowDeleting: false, mode:'Auto',
|
|
452
|
-
* showDeleteConfirmDialog: false }
|
|
453
|
-
*/
|
|
454
|
-
editSettings?: EditSettingsModel;
|
|
448
|
+
* Configures edit settings of Gantt.
|
|
449
|
+
* {% codeBlock src='gantt/editSettings/index.md' %}{% endcodeBlock %}
|
|
450
|
+
*
|
|
451
|
+
* @default { allowAdding: false, allowEditing: false, allowDeleting: false, mode:'Auto',
|
|
452
|
+
* showDeleteConfirmDialog: false }
|
|
453
|
+
*/
|
|
454
|
+
editSettings?: EditSettingsModel;
|
|
455
455
|
|
|
456
456
|
/**
|
|
457
|
-
* Enables or disables default tooltip of Gantt element and defines customized tooltip for Gantt elements.
|
|
458
|
-
* {% codeBlock src='gantt/tooltipSettings/index.md' %}{% endcodeBlock %}
|
|
459
|
-
*
|
|
460
|
-
* @default { showTooltip: true }
|
|
461
|
-
*/
|
|
462
|
-
tooltipSettings?: TooltipSettingsModel;
|
|
457
|
+
* Enables or disables default tooltip of Gantt element and defines customized tooltip for Gantt elements.
|
|
458
|
+
* {% codeBlock src='gantt/tooltipSettings/index.md' %}{% endcodeBlock %}
|
|
459
|
+
*
|
|
460
|
+
* @default { showTooltip: true }
|
|
461
|
+
*/
|
|
462
|
+
tooltipSettings?: TooltipSettingsModel;
|
|
463
463
|
|
|
464
464
|
/**
|
|
465
|
-
* Configures the selection settings.
|
|
466
|
-
* {% codeBlock src='gantt/selectionSettings/index.md' %}{% endcodeBlock %}
|
|
467
|
-
*
|
|
468
|
-
* @default {mode: 'Row', type: 'Single'}
|
|
469
|
-
*/
|
|
470
|
-
selectionSettings?: SelectionSettingsModel;
|
|
465
|
+
* Configures the selection settings.
|
|
466
|
+
* {% codeBlock src='gantt/selectionSettings/index.md' %}{% endcodeBlock %}
|
|
467
|
+
*
|
|
468
|
+
* @default {mode: 'Row', type: 'Single'}
|
|
469
|
+
*/
|
|
470
|
+
selectionSettings?: SelectionSettingsModel;
|
|
471
471
|
|
|
472
472
|
/**
|
|
473
|
-
* Enables or disables filtering support in Gantt.
|
|
474
|
-
*
|
|
475
|
-
* @default false
|
|
476
|
-
*/
|
|
477
|
-
allowFiltering?: boolean;
|
|
473
|
+
* Enables or disables filtering support in Gantt.
|
|
474
|
+
*
|
|
475
|
+
* @default false
|
|
476
|
+
*/
|
|
477
|
+
allowFiltering?: boolean;
|
|
478
478
|
|
|
479
479
|
/**
|
|
480
|
-
* If `allowExcelExport` set to true, then it will allow the user to export Gantt to Excel and CSV file.
|
|
481
|
-
*
|
|
482
|
-
* @default false
|
|
483
|
-
*/
|
|
484
|
-
allowExcelExport?: boolean;
|
|
480
|
+
* If `allowExcelExport` set to true, then it will allow the user to export Gantt to Excel and CSV file.
|
|
481
|
+
*
|
|
482
|
+
* @default false
|
|
483
|
+
*/
|
|
484
|
+
allowExcelExport?: boolean;
|
|
485
485
|
|
|
486
486
|
/**
|
|
487
|
-
* If `allowRowDragAndDrop` set to true, then it will allow the user to perform drag and drop action in Gantt.
|
|
488
|
-
*
|
|
489
|
-
* @default false
|
|
490
|
-
*/
|
|
491
|
-
allowRowDragAndDrop?: boolean;
|
|
487
|
+
* If `allowRowDragAndDrop` set to true, then it will allow the user to perform drag and drop action in Gantt.
|
|
488
|
+
*
|
|
489
|
+
* @default false
|
|
490
|
+
*/
|
|
491
|
+
allowRowDragAndDrop?: boolean;
|
|
492
492
|
|
|
493
493
|
/**
|
|
494
|
-
* If `allowReordering` is set to true, Gantt columns can be reordered.
|
|
495
|
-
* Reordering can be done by drag and drop of a particular column from one index to another index.
|
|
496
|
-
*
|
|
497
|
-
* @default false
|
|
498
|
-
*/
|
|
499
|
-
allowReordering?: boolean;
|
|
494
|
+
* If `allowReordering` is set to true, Gantt columns can be reordered.
|
|
495
|
+
* Reordering can be done by drag and drop of a particular column from one index to another index.
|
|
496
|
+
*
|
|
497
|
+
* @default false
|
|
498
|
+
*/
|
|
499
|
+
allowReordering?: boolean;
|
|
500
500
|
|
|
501
501
|
/**
|
|
502
|
-
* If `readOnly` is set to true, Gantt cannot be edited.
|
|
503
|
-
*
|
|
504
|
-
* @default false
|
|
505
|
-
*/
|
|
506
|
-
readOnly?: boolean;
|
|
502
|
+
* If `readOnly` is set to true, Gantt cannot be edited.
|
|
503
|
+
*
|
|
504
|
+
* @default false
|
|
505
|
+
*/
|
|
506
|
+
readOnly?: boolean;
|
|
507
507
|
|
|
508
508
|
/**
|
|
509
|
-
* If `allowResizing` is set to true, Gantt columns can be resized.
|
|
510
|
-
*
|
|
511
|
-
* @default false
|
|
512
|
-
*/
|
|
513
|
-
allowResizing?: boolean;
|
|
509
|
+
* If `allowResizing` is set to true, Gantt columns can be resized.
|
|
510
|
+
*
|
|
511
|
+
* @default false
|
|
512
|
+
*/
|
|
513
|
+
allowResizing?: boolean;
|
|
514
514
|
|
|
515
515
|
/**
|
|
516
|
-
* If `enableContextMenu` is set to true, Enable context menu in Gantt.
|
|
517
|
-
*
|
|
518
|
-
* @default false
|
|
519
|
-
*/
|
|
520
|
-
enableContextMenu?: boolean;
|
|
516
|
+
* If `enableContextMenu` is set to true, Enable context menu in Gantt.
|
|
517
|
+
*
|
|
518
|
+
* @default false
|
|
519
|
+
*/
|
|
520
|
+
enableContextMenu?: boolean;
|
|
521
521
|
|
|
522
522
|
/**
|
|
523
|
-
* `contextMenuItems` defines both built-in and custom context menu items.
|
|
524
|
-
* {% codeBlock src='gantt/contextMenuItems/index.md' %}{% endcodeBlock %}
|
|
525
|
-
*
|
|
526
|
-
* @default null
|
|
527
|
-
*/
|
|
528
|
-
contextMenuItems?: ContextMenuItem[] | ContextMenuItemModel[];
|
|
523
|
+
* `contextMenuItems` defines both built-in and custom context menu items.
|
|
524
|
+
* {% codeBlock src='gantt/contextMenuItems/index.md' %}{% endcodeBlock %}
|
|
525
|
+
*
|
|
526
|
+
* @default null
|
|
527
|
+
*/
|
|
528
|
+
contextMenuItems?: ContextMenuItem[] | ContextMenuItemModel[];
|
|
529
529
|
|
|
530
530
|
/**
|
|
531
|
-
* If `allowPdfExport` set to true, then it will allow the user to export Gantt to PDF file.
|
|
532
|
-
*
|
|
533
|
-
* @default false
|
|
534
|
-
*/
|
|
535
|
-
allowPdfExport?: boolean;
|
|
531
|
+
* If `allowPdfExport` set to true, then it will allow the user to export Gantt to PDF file.
|
|
532
|
+
*
|
|
533
|
+
* @default false
|
|
534
|
+
*/
|
|
535
|
+
allowPdfExport?: boolean;
|
|
536
536
|
|
|
537
537
|
/**
|
|
538
|
-
* If `validateManualTasksOnLinking` is set to true,
|
|
539
|
-
* it enables date validation while connecting manually scheduled tasks with predecessor
|
|
540
|
-
*
|
|
541
|
-
* @default false
|
|
542
|
-
*/
|
|
543
|
-
|
|
544
|
-
validateManualTasksOnLinking?: boolean;
|
|
538
|
+
* If `validateManualTasksOnLinking` is set to true,
|
|
539
|
+
* it enables date validation while connecting manually scheduled tasks with predecessor
|
|
540
|
+
*
|
|
541
|
+
* @default false
|
|
542
|
+
*/
|
|
543
|
+
|
|
544
|
+
validateManualTasksOnLinking?: boolean;
|
|
545
545
|
|
|
546
546
|
/**
|
|
547
|
-
* It enables to render the child taskbar on parent row for resource view Gantt.
|
|
548
|
-
*
|
|
549
|
-
* @default false
|
|
550
|
-
*/
|
|
551
|
-
enableMultiTaskbar?: boolean;
|
|
547
|
+
* It enables to render the child taskbar on parent row for resource view Gantt.
|
|
548
|
+
*
|
|
549
|
+
* @default false
|
|
550
|
+
*/
|
|
551
|
+
enableMultiTaskbar?: boolean;
|
|
552
552
|
|
|
553
553
|
/**
|
|
554
|
-
* It enables to render the overallocation container for resource view Gantt.
|
|
555
|
-
*
|
|
556
|
-
* @default false
|
|
557
|
-
*/
|
|
558
|
-
showOverAllocation?: boolean;
|
|
554
|
+
* It enables to render the overallocation container for resource view Gantt.
|
|
555
|
+
*
|
|
556
|
+
* @default false
|
|
557
|
+
*/
|
|
558
|
+
showOverAllocation?: boolean;
|
|
559
559
|
|
|
560
560
|
/**
|
|
561
|
-
* Specifies task schedule mode for a project.
|
|
562
|
-
*/
|
|
563
|
-
taskMode?: ScheduleMode;
|
|
561
|
+
* Specifies task schedule mode for a project.
|
|
562
|
+
*/
|
|
563
|
+
taskMode?: ScheduleMode;
|
|
564
564
|
|
|
565
565
|
/**
|
|
566
|
-
* Configures the filter settings for Gantt.
|
|
567
|
-
* {% codeBlock src='gantt/filterSettings/index.md' %}{% endcodeBlock %}
|
|
568
|
-
*
|
|
569
|
-
* @default {columns: [], type: 'Menu' }
|
|
570
|
-
*/
|
|
571
|
-
filterSettings?: FilterSettingsModel;
|
|
566
|
+
* Configures the filter settings for Gantt.
|
|
567
|
+
* {% codeBlock src='gantt/filterSettings/index.md' %}{% endcodeBlock %}
|
|
568
|
+
*
|
|
569
|
+
* @default {columns: [], type: 'Menu' }
|
|
570
|
+
*/
|
|
571
|
+
filterSettings?: FilterSettingsModel;
|
|
572
572
|
|
|
573
573
|
/**
|
|
574
|
-
* Configures the search settings for Gantt.
|
|
575
|
-
* {% codeBlock src='gantt/searchSettings/index.md' %}{% endcodeBlock %}
|
|
576
|
-
*/
|
|
577
|
-
searchSettings?: SearchSettingsModel;
|
|
574
|
+
* Configures the search settings for Gantt.
|
|
575
|
+
* {% codeBlock src='gantt/searchSettings/index.md' %}{% endcodeBlock %}
|
|
576
|
+
*/
|
|
577
|
+
searchSettings?: SearchSettingsModel;
|
|
578
578
|
|
|
579
579
|
/**
|
|
580
|
-
* Configures the splitter settings for Gantt.
|
|
581
|
-
* {% codeBlock src='gantt/splitterSettings/index.md' %}{% endcodeBlock %}
|
|
582
|
-
*/
|
|
583
|
-
splitterSettings?: SplitterSettingsModel;
|
|
580
|
+
* Configures the splitter settings for Gantt.
|
|
581
|
+
* {% codeBlock src='gantt/splitterSettings/index.md' %}{% endcodeBlock %}
|
|
582
|
+
*/
|
|
583
|
+
splitterSettings?: SplitterSettingsModel;
|
|
584
584
|
|
|
585
585
|
/**
|
|
586
|
-
* This will be triggered after the taskbar element is appended to the Gantt element.
|
|
587
|
-
*
|
|
588
|
-
* @event queryTaskbarInfo
|
|
589
|
-
*/
|
|
590
|
-
queryTaskbarInfo?: EmitType<IQueryTaskbarInfoEventArgs>;
|
|
586
|
+
* This will be triggered after the taskbar element is appended to the Gantt element.
|
|
587
|
+
*
|
|
588
|
+
* @event queryTaskbarInfo
|
|
589
|
+
*/
|
|
590
|
+
queryTaskbarInfo?: EmitType<IQueryTaskbarInfoEventArgs>;
|
|
591
591
|
|
|
592
592
|
/**
|
|
593
|
-
* Triggers before Gantt data is exported to Excel file.
|
|
594
|
-
*
|
|
595
|
-
|
|
596
|
-
* @event beforeExcelExport
|
|
597
|
-
*/
|
|
598
|
-
beforeExcelExport?: EmitType<Object>;
|
|
593
|
+
* Triggers before Gantt data is exported to Excel file.
|
|
594
|
+
*
|
|
595
|
+
* @deprecated
|
|
596
|
+
* @event beforeExcelExport
|
|
597
|
+
*/
|
|
598
|
+
beforeExcelExport?: EmitType<Object>;
|
|
599
599
|
|
|
600
600
|
/**
|
|
601
|
-
* Triggers after Gantt data is exported to Excel file.
|
|
602
|
-
*
|
|
603
|
-
|
|
604
|
-
* @event excelExportComplete
|
|
605
|
-
*/
|
|
606
|
-
excelExportComplete?: EmitType<ExcelExportCompleteArgs>;
|
|
601
|
+
* Triggers after Gantt data is exported to Excel file.
|
|
602
|
+
*
|
|
603
|
+
* @deprecated
|
|
604
|
+
* @event excelExportComplete
|
|
605
|
+
*/
|
|
606
|
+
excelExportComplete?: EmitType<ExcelExportCompleteArgs>;
|
|
607
607
|
|
|
608
608
|
/**
|
|
609
|
-
* Triggers before exporting each cell to Excel file.
|
|
610
|
-
* You can also customize the Excel cells.
|
|
611
|
-
*
|
|
612
|
-
|
|
613
|
-
* @event excelQueryCellInfo
|
|
614
|
-
*/
|
|
615
|
-
excelQueryCellInfo?: EmitType<ExcelQueryCellInfoEventArgs>;
|
|
609
|
+
* Triggers before exporting each cell to Excel file.
|
|
610
|
+
* You can also customize the Excel cells.
|
|
611
|
+
*
|
|
612
|
+
* @deprecated
|
|
613
|
+
* @event excelQueryCellInfo
|
|
614
|
+
*/
|
|
615
|
+
excelQueryCellInfo?: EmitType<ExcelQueryCellInfoEventArgs>;
|
|
616
616
|
|
|
617
617
|
/**
|
|
618
|
-
* Triggers before exporting each header cell to Excel file.
|
|
619
|
-
* You can also customize the Excel cells.
|
|
620
|
-
*
|
|
621
|
-
|
|
622
|
-
* @event excelHeaderQueryCellInfo
|
|
623
|
-
*/
|
|
624
|
-
excelHeaderQueryCellInfo?: EmitType<ExcelHeaderQueryCellInfoEventArgs>;
|
|
618
|
+
* Triggers before exporting each header cell to Excel file.
|
|
619
|
+
* You can also customize the Excel cells.
|
|
620
|
+
*
|
|
621
|
+
* @deprecated
|
|
622
|
+
* @event excelHeaderQueryCellInfo
|
|
623
|
+
*/
|
|
624
|
+
excelHeaderQueryCellInfo?: EmitType<ExcelHeaderQueryCellInfoEventArgs>;
|
|
625
625
|
|
|
626
626
|
/**
|
|
627
|
-
* Triggers when row elements are dragged (moved) continuously.
|
|
628
|
-
*
|
|
629
|
-
* @event rowDrag
|
|
630
|
-
|
|
631
|
-
*/
|
|
632
|
-
rowDrag?: EmitType<RowDragEventArgs>;
|
|
627
|
+
* Triggers when row elements are dragged (moved) continuously.
|
|
628
|
+
*
|
|
629
|
+
* @event rowDrag
|
|
630
|
+
* @deprecated
|
|
631
|
+
*/
|
|
632
|
+
rowDrag?: EmitType<RowDragEventArgs>;
|
|
633
633
|
|
|
634
634
|
/**
|
|
635
|
-
* Triggers when row element’s drag(move) starts.
|
|
636
|
-
*
|
|
637
|
-
* @event rowDragStart
|
|
638
|
-
|
|
639
|
-
*/
|
|
640
|
-
rowDragStart?: EmitType<RowDragEventArgs>;
|
|
635
|
+
* Triggers when row element’s drag(move) starts.
|
|
636
|
+
*
|
|
637
|
+
* @event rowDragStart
|
|
638
|
+
* @deprecated
|
|
639
|
+
*/
|
|
640
|
+
rowDragStart?: EmitType<RowDragEventArgs>;
|
|
641
641
|
|
|
642
642
|
/**
|
|
643
|
-
* Triggers when row element’s before drag(move).
|
|
644
|
-
*
|
|
645
|
-
* @event rowDragStartHelper
|
|
646
|
-
*/
|
|
647
|
-
rowDragStartHelper?: EmitType<RowDragEventArgs>;
|
|
643
|
+
* Triggers when row element’s before drag(move).
|
|
644
|
+
*
|
|
645
|
+
* @event rowDragStartHelper
|
|
646
|
+
*/
|
|
647
|
+
rowDragStartHelper?: EmitType<RowDragEventArgs>;
|
|
648
648
|
|
|
649
649
|
/**
|
|
650
|
-
* Triggers when row elements are dropped on the target row.
|
|
651
|
-
*
|
|
652
|
-
* @event rowDrop
|
|
653
|
-
*/
|
|
654
|
-
rowDrop?: EmitType<RowDragEventArgs>;
|
|
650
|
+
* Triggers when row elements are dropped on the target row.
|
|
651
|
+
*
|
|
652
|
+
* @event rowDrop
|
|
653
|
+
*/
|
|
654
|
+
rowDrop?: EmitType<RowDragEventArgs>;
|
|
655
655
|
|
|
656
656
|
/**
|
|
657
|
-
* This will be triggered before the row getting collapsed.
|
|
658
|
-
*
|
|
659
|
-
* @event collapsing
|
|
660
|
-
*/
|
|
661
|
-
collapsing?: EmitType<ICollapsingEventArgs>;
|
|
657
|
+
* This will be triggered before the row getting collapsed.
|
|
658
|
+
*
|
|
659
|
+
* @event collapsing
|
|
660
|
+
*/
|
|
661
|
+
collapsing?: EmitType<ICollapsingEventArgs>;
|
|
662
662
|
|
|
663
663
|
/**
|
|
664
|
-
* This will be triggered after the row getting collapsed.
|
|
665
|
-
*
|
|
666
|
-
* @event collapsed
|
|
667
|
-
*/
|
|
668
|
-
collapsed?: EmitType<ICollapsingEventArgs>;
|
|
664
|
+
* This will be triggered after the row getting collapsed.
|
|
665
|
+
*
|
|
666
|
+
* @event collapsed
|
|
667
|
+
*/
|
|
668
|
+
collapsed?: EmitType<ICollapsingEventArgs>;
|
|
669
669
|
|
|
670
670
|
/**
|
|
671
|
-
* This will be triggered before the row getting expanded.
|
|
672
|
-
*
|
|
673
|
-
* @event expanding
|
|
674
|
-
*/
|
|
675
|
-
expanding?: EmitType<ICollapsingEventArgs>;
|
|
671
|
+
* This will be triggered before the row getting expanded.
|
|
672
|
+
*
|
|
673
|
+
* @event expanding
|
|
674
|
+
*/
|
|
675
|
+
expanding?: EmitType<ICollapsingEventArgs>;
|
|
676
676
|
|
|
677
677
|
/**
|
|
678
|
-
* This will be triggered after the row getting expanded.
|
|
679
|
-
*
|
|
680
|
-
* @event expanded
|
|
681
|
-
*/
|
|
682
|
-
expanded?: EmitType<ICollapsingEventArgs>;
|
|
678
|
+
* This will be triggered after the row getting expanded.
|
|
679
|
+
*
|
|
680
|
+
* @event expanded
|
|
681
|
+
*/
|
|
682
|
+
expanded?: EmitType<ICollapsingEventArgs>;
|
|
683
683
|
|
|
684
684
|
/**
|
|
685
|
-
* Triggers when Gantt actions such as sorting, filtering, searching etc., starts.
|
|
686
|
-
*
|
|
687
|
-
* @event actionBegin
|
|
688
|
-
*/
|
|
689
|
-
actionBegin?: EmitType<Object | PageEventArgs | FilterEventArgs | SortEventArgs | ITimeSpanEventArgs | IDependencyEventArgs | ITaskAddedEventArgs | ZoomEventArgs>; // eslint-disable-line
|
|
685
|
+
* Triggers when Gantt actions such as sorting, filtering, searching etc., starts.
|
|
686
|
+
*
|
|
687
|
+
* @event actionBegin
|
|
688
|
+
*/
|
|
689
|
+
actionBegin?: EmitType<Object | PageEventArgs | FilterEventArgs | SortEventArgs | ITimeSpanEventArgs | IDependencyEventArgs | ITaskAddedEventArgs | ZoomEventArgs>; // eslint-disable-line
|
|
690
690
|
|
|
691
691
|
/**
|
|
692
|
-
* Triggers when Gantt actions such as sorting, filtering, searching etc. are completed.
|
|
693
|
-
*
|
|
694
|
-
* @event actionComplete
|
|
695
|
-
*/
|
|
696
|
-
actionComplete?: EmitType<FilterEventArgs | SortEventArgs | ITaskAddedEventArgs | IKeyPressedEventArgs | ZoomEventArgs>;
|
|
692
|
+
* Triggers when Gantt actions such as sorting, filtering, searching etc. are completed.
|
|
693
|
+
*
|
|
694
|
+
* @event actionComplete
|
|
695
|
+
*/
|
|
696
|
+
actionComplete?: EmitType<FilterEventArgs | SortEventArgs | ITaskAddedEventArgs | IKeyPressedEventArgs | ZoomEventArgs>;
|
|
697
697
|
|
|
698
698
|
/**
|
|
699
|
-
* Triggers when actions are failed.
|
|
700
|
-
*
|
|
701
|
-
* @event actionFailure
|
|
702
|
-
*/
|
|
703
|
-
actionFailure?: EmitType<FailureEventArgs>;
|
|
699
|
+
* Triggers when actions are failed.
|
|
700
|
+
*
|
|
701
|
+
* @event actionFailure
|
|
702
|
+
*/
|
|
703
|
+
actionFailure?: EmitType<FailureEventArgs>;
|
|
704
704
|
|
|
705
705
|
/**
|
|
706
|
-
* Triggers when the Gantt actions such as Sorting, Editing etc., are done.
|
|
707
|
-
* In this event,the current view data and total record count should be assigned to the `dataSource` based on the action performed.
|
|
708
|
-
*
|
|
709
|
-
* @event dataStateChange
|
|
710
|
-
*/
|
|
711
|
-
dataStateChange?: EmitType<DataStateChangeEventArgs>;
|
|
706
|
+
* Triggers when the Gantt actions such as Sorting, Editing etc., are done.
|
|
707
|
+
* In this event,the current view data and total record count should be assigned to the `dataSource` based on the action performed.
|
|
708
|
+
*
|
|
709
|
+
* @event dataStateChange
|
|
710
|
+
*/
|
|
711
|
+
dataStateChange?: EmitType<DataStateChangeEventArgs>;
|
|
712
712
|
|
|
713
713
|
/**
|
|
714
|
-
* This will be triggered taskbar was dragged and dropped on new position.
|
|
715
|
-
*
|
|
716
|
-
* @event taskbarEdited
|
|
717
|
-
*/
|
|
718
|
-
taskbarEdited?: EmitType<ITaskbarEditedEventArgs>;
|
|
714
|
+
* This will be triggered taskbar was dragged and dropped on new position.
|
|
715
|
+
*
|
|
716
|
+
* @event taskbarEdited
|
|
717
|
+
*/
|
|
718
|
+
taskbarEdited?: EmitType<ITaskbarEditedEventArgs>;
|
|
719
719
|
|
|
720
720
|
/**
|
|
721
|
-
* This will be triggered when a task get saved by cell edit.
|
|
722
|
-
*
|
|
723
|
-
* @event endEdit
|
|
724
|
-
*/
|
|
725
|
-
endEdit?: EmitType<ITaskbarEditedEventArgs>;
|
|
721
|
+
* This will be triggered when a task get saved by cell edit.
|
|
722
|
+
*
|
|
723
|
+
* @event endEdit
|
|
724
|
+
*/
|
|
725
|
+
endEdit?: EmitType<ITaskbarEditedEventArgs>;
|
|
726
726
|
|
|
727
727
|
/**
|
|
728
|
-
* This will be triggered a cell get begins to edit.
|
|
729
|
-
*
|
|
730
|
-
* @event cellEdit
|
|
731
|
-
*/
|
|
732
|
-
cellEdit?: EmitType<CellEditArgs>;
|
|
728
|
+
* This will be triggered a cell get begins to edit.
|
|
729
|
+
*
|
|
730
|
+
* @event cellEdit
|
|
731
|
+
*/
|
|
732
|
+
cellEdit?: EmitType<CellEditArgs>;
|
|
733
733
|
|
|
734
734
|
/**
|
|
735
|
-
* Triggered before the Gantt control gets rendered.
|
|
736
|
-
*
|
|
737
|
-
* @event load
|
|
738
|
-
*/
|
|
739
|
-
load?: EmitType<Object>;
|
|
735
|
+
* Triggered before the Gantt control gets rendered.
|
|
736
|
+
*
|
|
737
|
+
* @event load
|
|
738
|
+
*/
|
|
739
|
+
load?: EmitType<Object>;
|
|
740
740
|
|
|
741
741
|
/**
|
|
742
|
-
* Triggers when the component is created.
|
|
743
|
-
*
|
|
744
|
-
* @event created
|
|
745
|
-
*/
|
|
746
|
-
created?: EmitType<Object>;
|
|
742
|
+
* Triggers when the component is created.
|
|
743
|
+
*
|
|
744
|
+
* @event created
|
|
745
|
+
*/
|
|
746
|
+
created?: EmitType<Object>;
|
|
747
747
|
|
|
748
748
|
/**
|
|
749
|
-
* Triggers when the component is destroyed.
|
|
750
|
-
*
|
|
751
|
-
* @event destroyed
|
|
752
|
-
*/
|
|
753
|
-
destroyed?: EmitType<Object>;
|
|
749
|
+
* Triggers when the component is destroyed.
|
|
750
|
+
*
|
|
751
|
+
* @event destroyed
|
|
752
|
+
*/
|
|
753
|
+
destroyed?: EmitType<Object>;
|
|
754
754
|
|
|
755
755
|
/**
|
|
756
|
-
* This event will be triggered when taskbar was in dragging state.
|
|
757
|
-
*
|
|
758
|
-
* @event taskbarEditing
|
|
759
|
-
*/
|
|
760
|
-
taskbarEditing?: EmitType<ITaskbarEditedEventArgs>;
|
|
756
|
+
* This event will be triggered when taskbar was in dragging state.
|
|
757
|
+
*
|
|
758
|
+
* @event taskbarEditing
|
|
759
|
+
*/
|
|
760
|
+
taskbarEditing?: EmitType<ITaskbarEditedEventArgs>;
|
|
761
761
|
|
|
762
762
|
/**
|
|
763
|
-
* Triggers when data source is populated in the Grid.
|
|
764
|
-
*
|
|
765
|
-
* @event dataBound
|
|
766
|
-
*/
|
|
767
|
-
dataBound?: EmitType<Object>;
|
|
763
|
+
* Triggers when data source is populated in the Grid.
|
|
764
|
+
*
|
|
765
|
+
* @event dataBound
|
|
766
|
+
*/
|
|
767
|
+
dataBound?: EmitType<Object>;
|
|
768
768
|
|
|
769
769
|
/**
|
|
770
|
-
* Triggers when column resize starts.
|
|
771
|
-
*
|
|
772
|
-
|
|
773
|
-
* @event resizeStart
|
|
774
|
-
*/
|
|
775
|
-
resizeStart?: EmitType<ResizeArgs>;
|
|
770
|
+
* Triggers when column resize starts.
|
|
771
|
+
*
|
|
772
|
+
* @deprecated
|
|
773
|
+
* @event resizeStart
|
|
774
|
+
*/
|
|
775
|
+
resizeStart?: EmitType<ResizeArgs>;
|
|
776
776
|
|
|
777
777
|
/**
|
|
778
|
-
* Triggers on column resizing.
|
|
779
|
-
*
|
|
780
|
-
|
|
781
|
-
* @event resizing
|
|
782
|
-
*/
|
|
783
|
-
resizing?: EmitType<ResizeArgs>;
|
|
778
|
+
* Triggers on column resizing.
|
|
779
|
+
*
|
|
780
|
+
* @deprecated
|
|
781
|
+
* @event resizing
|
|
782
|
+
*/
|
|
783
|
+
resizing?: EmitType<ResizeArgs>;
|
|
784
784
|
|
|
785
785
|
/**
|
|
786
|
-
* Triggers when column resize ends.
|
|
787
|
-
*
|
|
788
|
-
|
|
789
|
-
* @event resizeStop
|
|
790
|
-
*/
|
|
791
|
-
resizeStop?: EmitType<ResizeArgs>;
|
|
786
|
+
* Triggers when column resize ends.
|
|
787
|
+
*
|
|
788
|
+
* @deprecated
|
|
789
|
+
* @event resizeStop
|
|
790
|
+
*/
|
|
791
|
+
resizeStop?: EmitType<ResizeArgs>;
|
|
792
792
|
|
|
793
793
|
/**
|
|
794
|
-
* Triggers when splitter resizing starts.
|
|
795
|
-
*
|
|
796
|
-
* @event splitterResizeStart
|
|
797
|
-
*/
|
|
798
|
-
splitterResizeStart?: EmitType<ResizeEventArgs>;
|
|
794
|
+
* Triggers when splitter resizing starts.
|
|
795
|
+
*
|
|
796
|
+
* @event splitterResizeStart
|
|
797
|
+
*/
|
|
798
|
+
splitterResizeStart?: EmitType<ResizeEventArgs>;
|
|
799
799
|
|
|
800
800
|
/**
|
|
801
|
-
* Triggers when splitter bar was dragging.
|
|
802
|
-
*
|
|
803
|
-
* @event splitterResizing
|
|
804
|
-
*/
|
|
805
|
-
splitterResizing?: EmitType<ResizingEventArgs>;
|
|
801
|
+
* Triggers when splitter bar was dragging.
|
|
802
|
+
*
|
|
803
|
+
* @event splitterResizing
|
|
804
|
+
*/
|
|
805
|
+
splitterResizing?: EmitType<ResizingEventArgs>;
|
|
806
806
|
|
|
807
807
|
/**
|
|
808
|
-
* Triggers when splitter resizing action completed.
|
|
809
|
-
*
|
|
810
|
-
* @event splitterResized
|
|
811
|
-
*/
|
|
812
|
-
splitterResized?: EmitType<ISplitterResizedEventArgs>;
|
|
808
|
+
* Triggers when splitter resizing action completed.
|
|
809
|
+
*
|
|
810
|
+
* @event splitterResized
|
|
811
|
+
*/
|
|
812
|
+
splitterResized?: EmitType<ISplitterResizedEventArgs>;
|
|
813
813
|
|
|
814
814
|
/**
|
|
815
|
-
* Triggers when column header element drag (move) starts.
|
|
816
|
-
*
|
|
817
|
-
|
|
818
|
-
* @event columnDragStart
|
|
819
|
-
*/
|
|
820
|
-
columnDragStart?: EmitType<ColumnDragEventArgs>;
|
|
815
|
+
* Triggers when column header element drag (move) starts.
|
|
816
|
+
*
|
|
817
|
+
* @deprecated
|
|
818
|
+
* @event columnDragStart
|
|
819
|
+
*/
|
|
820
|
+
columnDragStart?: EmitType<ColumnDragEventArgs>;
|
|
821
821
|
|
|
822
822
|
/**
|
|
823
|
-
* Triggers when column header element is dragged (moved) continuously.
|
|
824
|
-
*
|
|
825
|
-
|
|
826
|
-
* @event columnDrag
|
|
827
|
-
*/
|
|
828
|
-
columnDrag?: EmitType<ColumnDragEventArgs>;
|
|
823
|
+
* Triggers when column header element is dragged (moved) continuously.
|
|
824
|
+
*
|
|
825
|
+
* @deprecated
|
|
826
|
+
* @event columnDrag
|
|
827
|
+
*/
|
|
828
|
+
columnDrag?: EmitType<ColumnDragEventArgs>;
|
|
829
829
|
|
|
830
830
|
/**
|
|
831
|
-
* Triggers when a column header element is dropped on the target column.
|
|
832
|
-
*
|
|
833
|
-
|
|
834
|
-
* @event columnDrop
|
|
835
|
-
*/
|
|
836
|
-
columnDrop?: EmitType<ColumnDragEventArgs>;
|
|
831
|
+
* Triggers when a column header element is dropped on the target column.
|
|
832
|
+
*
|
|
833
|
+
* @deprecated
|
|
834
|
+
* @event columnDrop
|
|
835
|
+
*/
|
|
836
|
+
columnDrop?: EmitType<ColumnDragEventArgs>;
|
|
837
837
|
|
|
838
838
|
/**
|
|
839
|
-
* Triggers before tooltip get rendered.
|
|
840
|
-
*
|
|
841
|
-
* @event beforeTooltipRender
|
|
842
|
-
*/
|
|
843
|
-
beforeTooltipRender?: EmitType<BeforeTooltipRenderEventArgs>;
|
|
839
|
+
* Triggers before tooltip get rendered.
|
|
840
|
+
*
|
|
841
|
+
* @event beforeTooltipRender
|
|
842
|
+
*/
|
|
843
|
+
beforeTooltipRender?: EmitType<BeforeTooltipRenderEventArgs>;
|
|
844
844
|
|
|
845
845
|
/**
|
|
846
|
-
* Triggers before row selection occurs.
|
|
847
|
-
*
|
|
848
|
-
* @event rowSelecting
|
|
849
|
-
*/
|
|
850
|
-
rowSelecting?: EmitType<RowSelectingEventArgs>;
|
|
846
|
+
* Triggers before row selection occurs.
|
|
847
|
+
*
|
|
848
|
+
* @event rowSelecting
|
|
849
|
+
*/
|
|
850
|
+
rowSelecting?: EmitType<RowSelectingEventArgs>;
|
|
851
851
|
|
|
852
852
|
/**
|
|
853
|
-
* Triggers after row selection occurs.
|
|
854
|
-
*
|
|
855
|
-
* @event rowSelected
|
|
856
|
-
*/
|
|
857
|
-
rowSelected?: EmitType<RowSelectEventArgs>;
|
|
853
|
+
* Triggers after row selection occurs.
|
|
854
|
+
*
|
|
855
|
+
* @event rowSelected
|
|
856
|
+
*/
|
|
857
|
+
rowSelected?: EmitType<RowSelectEventArgs>;
|
|
858
858
|
|
|
859
859
|
/**
|
|
860
|
-
* Triggers before deselecting the selected row.
|
|
861
|
-
*
|
|
862
|
-
|
|
863
|
-
* @event rowDeselecting
|
|
864
|
-
*/
|
|
865
|
-
rowDeselecting?: EmitType<RowDeselectEventArgs>;
|
|
860
|
+
* Triggers before deselecting the selected row.
|
|
861
|
+
*
|
|
862
|
+
* @deprecated
|
|
863
|
+
* @event rowDeselecting
|
|
864
|
+
*/
|
|
865
|
+
rowDeselecting?: EmitType<RowDeselectEventArgs>;
|
|
866
866
|
|
|
867
867
|
/**
|
|
868
|
-
* Triggers when a selected row is deselected.
|
|
869
|
-
*
|
|
870
|
-
* @event rowDeselected
|
|
871
|
-
*/
|
|
872
|
-
rowDeselected?: EmitType<RowDeselectEventArgs>;
|
|
868
|
+
* Triggers when a selected row is deselected.
|
|
869
|
+
*
|
|
870
|
+
* @event rowDeselected
|
|
871
|
+
*/
|
|
872
|
+
rowDeselected?: EmitType<RowDeselectEventArgs>;
|
|
873
873
|
|
|
874
874
|
/**
|
|
875
|
-
* Triggers before any cell selection occurs.
|
|
876
|
-
*
|
|
877
|
-
* @event cellSelecting
|
|
878
|
-
*/
|
|
879
|
-
cellSelecting?: EmitType<CellSelectingEventArgs>;
|
|
875
|
+
* Triggers before any cell selection occurs.
|
|
876
|
+
*
|
|
877
|
+
* @event cellSelecting
|
|
878
|
+
*/
|
|
879
|
+
cellSelecting?: EmitType<CellSelectingEventArgs>;
|
|
880
880
|
|
|
881
881
|
/**
|
|
882
|
-
* Triggers after a cell is selected.
|
|
883
|
-
*
|
|
884
|
-
* @event cellSelected
|
|
885
|
-
*/
|
|
886
|
-
cellSelected?: EmitType<CellSelectEventArgs>;
|
|
882
|
+
* Triggers after a cell is selected.
|
|
883
|
+
*
|
|
884
|
+
* @event cellSelected
|
|
885
|
+
*/
|
|
886
|
+
cellSelected?: EmitType<CellSelectEventArgs>;
|
|
887
887
|
|
|
888
888
|
/**
|
|
889
|
-
* Triggers before the selected cell is deselecting.
|
|
890
|
-
*
|
|
891
|
-
|
|
892
|
-
* @event cellDeselecting
|
|
893
|
-
*/
|
|
894
|
-
cellDeselecting?: EmitType<CellDeselectEventArgs>;
|
|
889
|
+
* Triggers before the selected cell is deselecting.
|
|
890
|
+
*
|
|
891
|
+
* @deprecated
|
|
892
|
+
* @event cellDeselecting
|
|
893
|
+
*/
|
|
894
|
+
cellDeselecting?: EmitType<CellDeselectEventArgs>;
|
|
895
895
|
|
|
896
896
|
/**
|
|
897
|
-
* Triggers when a particular selected cell is deselected.
|
|
898
|
-
*
|
|
899
|
-
|
|
900
|
-
* @event cellDeselected
|
|
901
|
-
*/
|
|
902
|
-
cellDeselected?: EmitType<CellDeselectEventArgs>;
|
|
897
|
+
* Triggers when a particular selected cell is deselected.
|
|
898
|
+
*
|
|
899
|
+
* @deprecated
|
|
900
|
+
* @event cellDeselected
|
|
901
|
+
*/
|
|
902
|
+
cellDeselected?: EmitType<CellDeselectEventArgs>;
|
|
903
903
|
|
|
904
904
|
/**
|
|
905
|
-
* This will be triggered before the header cell element is appended to the Grid element.
|
|
906
|
-
*
|
|
907
|
-
* @event queryCellInfo
|
|
908
|
-
*/
|
|
909
|
-
queryCellInfo?: EmitType<QueryCellInfoEventArgs>;
|
|
905
|
+
* This will be triggered before the header cell element is appended to the Grid element.
|
|
906
|
+
*
|
|
907
|
+
* @event queryCellInfo
|
|
908
|
+
*/
|
|
909
|
+
queryCellInfo?: EmitType<QueryCellInfoEventArgs>;
|
|
910
910
|
|
|
911
911
|
/**
|
|
912
|
-
* This will be triggered before the header cell element is appended to the Grid element.
|
|
913
|
-
*
|
|
914
|
-
* @event headerCellInfo
|
|
915
|
-
*/
|
|
916
|
-
headerCellInfo?: EmitType<HeaderCellInfoEventArgs>;
|
|
912
|
+
* This will be triggered before the header cell element is appended to the Grid element.
|
|
913
|
+
*
|
|
914
|
+
* @event headerCellInfo
|
|
915
|
+
*/
|
|
916
|
+
headerCellInfo?: EmitType<HeaderCellInfoEventArgs>;
|
|
917
917
|
|
|
918
918
|
/**
|
|
919
|
-
* This will be triggered before the row element is appended to the Grid element.
|
|
920
|
-
*
|
|
921
|
-
* @event rowDataBound
|
|
922
|
-
*/
|
|
923
|
-
rowDataBound?: EmitType<RowDataBoundEventArgs>;
|
|
919
|
+
* This will be triggered before the row element is appended to the Grid element.
|
|
920
|
+
*
|
|
921
|
+
* @event rowDataBound
|
|
922
|
+
*/
|
|
923
|
+
rowDataBound?: EmitType<RowDataBoundEventArgs>;
|
|
924
924
|
|
|
925
925
|
/**
|
|
926
|
-
* Triggers before column menu opens.
|
|
927
|
-
*
|
|
928
|
-
|
|
929
|
-
* @event columnMenuOpen
|
|
930
|
-
*/
|
|
931
|
-
columnMenuOpen?: EmitType<ColumnMenuOpenEventArgs>;
|
|
926
|
+
* Triggers before column menu opens.
|
|
927
|
+
*
|
|
928
|
+
* @deprecated
|
|
929
|
+
* @event columnMenuOpen
|
|
930
|
+
*/
|
|
931
|
+
columnMenuOpen?: EmitType<ColumnMenuOpenEventArgs>;
|
|
932
932
|
|
|
933
933
|
/**
|
|
934
|
-
* Triggers when toolbar item was clicked.
|
|
935
|
-
*
|
|
936
|
-
* @event toolbarClick
|
|
937
|
-
*/
|
|
938
|
-
toolbarClick?: EmitType<ClickEventArgs>;
|
|
934
|
+
* Triggers when toolbar item was clicked.
|
|
935
|
+
*
|
|
936
|
+
* @event toolbarClick
|
|
937
|
+
*/
|
|
938
|
+
toolbarClick?: EmitType<ClickEventArgs>;
|
|
939
939
|
|
|
940
940
|
/**
|
|
941
|
-
* Triggers when click on column menu.
|
|
942
|
-
*
|
|
943
|
-
* @event columnMenuClick
|
|
944
|
-
*/
|
|
945
|
-
columnMenuClick?: EmitType<ColumnMenuClickEventArgs>;
|
|
941
|
+
* Triggers when click on column menu.
|
|
942
|
+
*
|
|
943
|
+
* @event columnMenuClick
|
|
944
|
+
*/
|
|
945
|
+
columnMenuClick?: EmitType<ColumnMenuClickEventArgs>;
|
|
946
946
|
|
|
947
947
|
/**
|
|
948
|
-
* Triggers before context menu opens.
|
|
949
|
-
*
|
|
950
|
-
* @event contextMenuOpen
|
|
951
|
-
*/
|
|
952
|
-
contextMenuOpen?: EmitType<CMenuOpenEventArgs>;
|
|
948
|
+
* Triggers before context menu opens.
|
|
949
|
+
*
|
|
950
|
+
* @event contextMenuOpen
|
|
951
|
+
*/
|
|
952
|
+
contextMenuOpen?: EmitType<CMenuOpenEventArgs>;
|
|
953
953
|
|
|
954
954
|
/**
|
|
955
|
-
* Triggers when click on context menu.
|
|
956
|
-
*
|
|
957
|
-
* @event contextMenuClick
|
|
958
|
-
*/
|
|
959
|
-
contextMenuClick?: EmitType<CMenuClickEventArgs>;
|
|
955
|
+
* Triggers when click on context menu.
|
|
956
|
+
*
|
|
957
|
+
* @event contextMenuClick
|
|
958
|
+
*/
|
|
959
|
+
contextMenuClick?: EmitType<CMenuClickEventArgs>;
|
|
960
960
|
|
|
961
961
|
/**
|
|
962
|
-
* This event will be triggered when click on taskbar element.
|
|
963
|
-
*
|
|
964
|
-
|
|
965
|
-
* @event onTaskbarClick
|
|
966
|
-
*/
|
|
967
|
-
onTaskbarClick?: EmitType<ITaskbarClickEventArgs>;
|
|
962
|
+
* This event will be triggered when click on taskbar element.
|
|
963
|
+
*
|
|
964
|
+
* @deprecated
|
|
965
|
+
* @event onTaskbarClick
|
|
966
|
+
*/
|
|
967
|
+
onTaskbarClick?: EmitType<ITaskbarClickEventArgs>;
|
|
968
968
|
|
|
969
969
|
/**
|
|
970
|
-
* This event will be triggered when double click on record.
|
|
971
|
-
*
|
|
972
|
-
|
|
973
|
-
* @event recordDoubleClick
|
|
974
|
-
*/
|
|
975
|
-
recordDoubleClick?: EmitType<RecordDoubleClickEventArgs>;
|
|
970
|
+
* This event will be triggered when double click on record.
|
|
971
|
+
*
|
|
972
|
+
* @deprecated
|
|
973
|
+
* @event recordDoubleClick
|
|
974
|
+
*/
|
|
975
|
+
recordDoubleClick?: EmitType<RecordDoubleClickEventArgs>;
|
|
976
976
|
|
|
977
977
|
/**
|
|
978
|
-
* This event will be triggered when mouse move on Gantt.
|
|
979
|
-
*
|
|
980
|
-
|
|
981
|
-
* @event onMouseMove
|
|
982
|
-
*/
|
|
983
|
-
onMouseMove?: EmitType<IMouseMoveEventArgs>;
|
|
978
|
+
* This event will be triggered when mouse move on Gantt.
|
|
979
|
+
*
|
|
980
|
+
* @deprecated
|
|
981
|
+
* @event onMouseMove
|
|
982
|
+
*/
|
|
983
|
+
onMouseMove?: EmitType<IMouseMoveEventArgs>;
|
|
984
984
|
|
|
985
985
|
/**
|
|
986
|
-
* Triggers before Gantt data is exported to PDF document.
|
|
987
|
-
*
|
|
988
|
-
* @event beforePdfExport
|
|
989
|
-
|
|
990
|
-
*/
|
|
991
|
-
beforePdfExport?: EmitType<Object>;
|
|
986
|
+
* Triggers before Gantt data is exported to PDF document.
|
|
987
|
+
*
|
|
988
|
+
* @event beforePdfExport
|
|
989
|
+
* @deprecated
|
|
990
|
+
*/
|
|
991
|
+
beforePdfExport?: EmitType<Object>;
|
|
992
992
|
|
|
993
993
|
/**
|
|
994
|
-
* Triggers after TreeGrid data is exported to PDF document.
|
|
995
|
-
*
|
|
996
|
-
* @event pdfExportComplete
|
|
997
|
-
|
|
998
|
-
*/
|
|
999
|
-
pdfExportComplete?: EmitType<Object>;
|
|
994
|
+
* Triggers after TreeGrid data is exported to PDF document.
|
|
995
|
+
*
|
|
996
|
+
* @event pdfExportComplete
|
|
997
|
+
* @deprecated
|
|
998
|
+
*/
|
|
999
|
+
pdfExportComplete?: EmitType<Object>;
|
|
1000
1000
|
|
|
1001
1001
|
/**
|
|
1002
|
-
* Triggers before exporting each cell to PDF document. You can also customize the PDF cells.
|
|
1003
|
-
*
|
|
1004
|
-
* @event pdfQueryCellInfo
|
|
1005
|
-
|
|
1006
|
-
*/
|
|
1007
|
-
pdfQueryCellInfo?: EmitType<PdfQueryCellInfoEventArgs>;
|
|
1002
|
+
* Triggers before exporting each cell to PDF document. You can also customize the PDF cells.
|
|
1003
|
+
*
|
|
1004
|
+
* @event pdfQueryCellInfo
|
|
1005
|
+
* @deprecated
|
|
1006
|
+
*/
|
|
1007
|
+
pdfQueryCellInfo?: EmitType<PdfQueryCellInfoEventArgs>;
|
|
1008
1008
|
|
|
1009
1009
|
/**
|
|
1010
|
-
* Triggers before exporting each taskbar to PDF document. You can also customize the taskbar.
|
|
1011
|
-
*
|
|
1012
|
-
* @event pdfQueryTaskbarInfo
|
|
1013
|
-
|
|
1014
|
-
*/
|
|
1015
|
-
pdfQueryTaskbarInfo?: EmitType<Object>;
|
|
1010
|
+
* Triggers before exporting each taskbar to PDF document. You can also customize the taskbar.
|
|
1011
|
+
*
|
|
1012
|
+
* @event pdfQueryTaskbarInfo
|
|
1013
|
+
* @deprecated
|
|
1014
|
+
*/
|
|
1015
|
+
pdfQueryTaskbarInfo?: EmitType<Object>;
|
|
1016
1016
|
|
|
1017
1017
|
/**
|
|
1018
|
-
* Triggers before exporting each cell to PDF document. You can also customize the PDF cells.
|
|
1019
|
-
*
|
|
1020
|
-
* @event pdfQueryTimelineCellInfo
|
|
1021
|
-
|
|
1022
|
-
*/
|
|
1023
|
-
pdfQueryTimelineCellInfo?: EmitType<PdfQueryTimelineCellInfoEventArgs>;
|
|
1018
|
+
* Triggers before exporting each cell to PDF document. You can also customize the PDF cells.
|
|
1019
|
+
*
|
|
1020
|
+
* @event pdfQueryTimelineCellInfo
|
|
1021
|
+
* @deprecated
|
|
1022
|
+
*/
|
|
1023
|
+
pdfQueryTimelineCellInfo?: EmitType<PdfQueryTimelineCellInfoEventArgs>;
|
|
1024
1024
|
|
|
1025
1025
|
/**
|
|
1026
|
-
* Triggers before exporting each header cell to PDF document. You can also customize the PDF cells.
|
|
1027
|
-
*
|
|
1028
|
-
* @event pdfColumnHeaderQueryCellInfo
|
|
1029
|
-
|
|
1030
|
-
*/
|
|
1031
|
-
pdfColumnHeaderQueryCellInfo?: EmitType<PdfColumnHeaderQueryCellInfoEventArgs>;
|
|
1026
|
+
* Triggers before exporting each header cell to PDF document. You can also customize the PDF cells.
|
|
1027
|
+
*
|
|
1028
|
+
* @event pdfColumnHeaderQueryCellInfo
|
|
1029
|
+
* @deprecated
|
|
1030
|
+
*/
|
|
1031
|
+
pdfColumnHeaderQueryCellInfo?: EmitType<PdfColumnHeaderQueryCellInfoEventArgs>;
|
|
1032
1032
|
|
|
1033
1033
|
}
|