@bryntum/schedulerpro-vue-3-thin 7.1.1

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.
Files changed (144) hide show
  1. package/README.md +53 -0
  2. package/lib/chunks/B12rdbvL.js +380 -0
  3. package/lib/chunks/B12rdbvL.js.map +1 -0
  4. package/lib/chunks/BBN-5eeI.js +380 -0
  5. package/lib/chunks/BBN-5eeI.js.map +1 -0
  6. package/lib/chunks/BaiH7rub.js +591 -0
  7. package/lib/chunks/BaiH7rub.js.map +1 -0
  8. package/lib/chunks/BrUxjEMx.js +380 -0
  9. package/lib/chunks/BrUxjEMx.js.map +1 -0
  10. package/lib/chunks/BtVT0xgl.js +344 -0
  11. package/lib/chunks/BtVT0xgl.js.map +1 -0
  12. package/lib/chunks/C0N8aq7Y.js +340 -0
  13. package/lib/chunks/C0N8aq7Y.js.map +1 -0
  14. package/lib/chunks/C9qY739P.js +380 -0
  15. package/lib/chunks/C9qY739P.js.map +1 -0
  16. package/lib/chunks/CB9cdxRl.js +935 -0
  17. package/lib/chunks/CB9cdxRl.js.map +1 -0
  18. package/lib/chunks/CDbPwyl3.js +326 -0
  19. package/lib/chunks/CDbPwyl3.js.map +1 -0
  20. package/lib/chunks/Ct_m9O9h.js +380 -0
  21. package/lib/chunks/Ct_m9O9h.js.map +1 -0
  22. package/lib/chunks/D45V9XRN.js +308 -0
  23. package/lib/chunks/D45V9XRN.js.map +1 -0
  24. package/lib/chunks/D6AiSClA.js +1139 -0
  25. package/lib/chunks/D6AiSClA.js.map +1 -0
  26. package/lib/chunks/DQYJMaQ_.js +350 -0
  27. package/lib/chunks/DQYJMaQ_.js.map +1 -0
  28. package/lib/chunks/DT6XYs9d.js +1356 -0
  29. package/lib/chunks/DT6XYs9d.js.map +1 -0
  30. package/lib/chunks/DgESZupU.js +380 -0
  31. package/lib/chunks/DgESZupU.js.map +1 -0
  32. package/lib/chunks/DvFm-5Hh.js +382 -0
  33. package/lib/chunks/DvFm-5Hh.js.map +1 -0
  34. package/lib/chunks/DzO9n33e.js +939 -0
  35. package/lib/chunks/DzO9n33e.js.map +1 -0
  36. package/lib/chunks/H51_wkdg.js +1358 -0
  37. package/lib/chunks/H51_wkdg.js.map +1 -0
  38. package/lib/chunks/ggN9GDPJ.js +384 -0
  39. package/lib/chunks/ggN9GDPJ.js.map +1 -0
  40. package/lib/chunks/qKNUUeE0.js +380 -0
  41. package/lib/chunks/qKNUUeE0.js.map +1 -0
  42. package/lib/chunks/xk_S9thL.js +578 -0
  43. package/lib/chunks/xk_S9thL.js.map +1 -0
  44. package/lib/chunks/yCHi3rZC.js +336 -0
  45. package/lib/chunks/yCHi3rZC.js.map +1 -0
  46. package/lib/components/BryntumCalendarEditor.js +5 -0
  47. package/lib/components/BryntumCalendarEditor.js.map +1 -0
  48. package/lib/components/BryntumCalendarField.js +5 -0
  49. package/lib/components/BryntumCalendarField.js.map +1 -0
  50. package/lib/components/BryntumConstraintTypePicker.js +5 -0
  51. package/lib/components/BryntumConstraintTypePicker.js.map +1 -0
  52. package/lib/components/BryntumCostAccrualField.js +5 -0
  53. package/lib/components/BryntumCostAccrualField.js.map +1 -0
  54. package/lib/components/BryntumDependencyTypePicker.js +5 -0
  55. package/lib/components/BryntumDependencyTypePicker.js.map +1 -0
  56. package/lib/components/BryntumEffortField.js +5 -0
  57. package/lib/components/BryntumEffortField.js.map +1 -0
  58. package/lib/components/BryntumEndDateField.js +5 -0
  59. package/lib/components/BryntumEndDateField.js.map +1 -0
  60. package/lib/components/BryntumModelCombo.js +5 -0
  61. package/lib/components/BryntumModelCombo.js.map +1 -0
  62. package/lib/components/BryntumRateTableField.js +5 -0
  63. package/lib/components/BryntumRateTableField.js.map +1 -0
  64. package/lib/components/BryntumResourceEditor.js +5 -0
  65. package/lib/components/BryntumResourceEditor.js.map +1 -0
  66. package/lib/components/BryntumResourceGrid.js +5 -0
  67. package/lib/components/BryntumResourceGrid.js.map +1 -0
  68. package/lib/components/BryntumResourceHistogram.js +5 -0
  69. package/lib/components/BryntumResourceHistogram.js.map +1 -0
  70. package/lib/components/BryntumResourceTypeField.js +5 -0
  71. package/lib/components/BryntumResourceTypeField.js.map +1 -0
  72. package/lib/components/BryntumResourceUtilization.js +5 -0
  73. package/lib/components/BryntumResourceUtilization.js.map +1 -0
  74. package/lib/components/BryntumSchedulerPro.js +5 -0
  75. package/lib/components/BryntumSchedulerPro.js.map +1 -0
  76. package/lib/components/BryntumSchedulerProBase.js +5 -0
  77. package/lib/components/BryntumSchedulerProBase.js.map +1 -0
  78. package/lib/components/BryntumSchedulerProProjectModel.js +5 -0
  79. package/lib/components/BryntumSchedulerProProjectModel.js.map +1 -0
  80. package/lib/components/BryntumSchedulingDirectionPicker.js +5 -0
  81. package/lib/components/BryntumSchedulingDirectionPicker.js.map +1 -0
  82. package/lib/components/BryntumSchedulingModePicker.js +5 -0
  83. package/lib/components/BryntumSchedulingModePicker.js.map +1 -0
  84. package/lib/components/BryntumStartDateField.js +5 -0
  85. package/lib/components/BryntumStartDateField.js.map +1 -0
  86. package/lib/components/BryntumTimeline.js +5 -0
  87. package/lib/components/BryntumTimeline.js.map +1 -0
  88. package/lib/components/BryntumVersionGrid.js +5 -0
  89. package/lib/components/BryntumVersionGrid.js.map +1 -0
  90. package/lib/helper/WrapperHelper.js +291 -0
  91. package/lib/helper/WrapperHelper.js.map +1 -0
  92. package/lib/index.d.ts +5 -0
  93. package/lib/index.js +47 -0
  94. package/lib/index.js.map +1 -0
  95. package/license.pdf +0 -0
  96. package/licenses.md +310 -0
  97. package/package.json +27 -0
  98. package/src/components/BryntumCalendarEditor.vue +1268 -0
  99. package/src/components/BryntumCalendarEditorProps.ts +776 -0
  100. package/src/components/BryntumCalendarField.vue +1350 -0
  101. package/src/components/BryntumCalendarFieldProps.ts +849 -0
  102. package/src/components/BryntumConstraintTypePicker.vue +1337 -0
  103. package/src/components/BryntumConstraintTypePickerProps.ts +838 -0
  104. package/src/components/BryntumCostAccrualField.vue +1337 -0
  105. package/src/components/BryntumCostAccrualFieldProps.ts +838 -0
  106. package/src/components/BryntumDependencyTypePicker.vue +1337 -0
  107. package/src/components/BryntumDependencyTypePickerProps.ts +838 -0
  108. package/src/components/BryntumEffortField.vue +1140 -0
  109. package/src/components/BryntumEffortFieldProps.ts +683 -0
  110. package/src/components/BryntumEndDateField.vue +1167 -0
  111. package/src/components/BryntumEndDateFieldProps.ts +701 -0
  112. package/src/components/BryntumModelCombo.vue +1337 -0
  113. package/src/components/BryntumModelComboProps.ts +838 -0
  114. package/src/components/BryntumRateTableField.vue +1337 -0
  115. package/src/components/BryntumRateTableFieldProps.ts +838 -0
  116. package/src/components/BryntumResourceEditor.vue +1247 -0
  117. package/src/components/BryntumResourceEditorProps.ts +758 -0
  118. package/src/components/BryntumResourceGrid.vue +2924 -0
  119. package/src/components/BryntumResourceGridProps.ts +1040 -0
  120. package/src/components/BryntumResourceHistogram.vue +4495 -0
  121. package/src/components/BryntumResourceHistogramProps.ts +1697 -0
  122. package/src/components/BryntumResourceTypeField.vue +1337 -0
  123. package/src/components/BryntumResourceTypeFieldProps.ts +838 -0
  124. package/src/components/BryntumResourceUtilization.vue +4525 -0
  125. package/src/components/BryntumResourceUtilizationProps.ts +1683 -0
  126. package/src/components/BryntumSchedulerPro.vue +7153 -0
  127. package/src/components/BryntumSchedulerProBase.vue +7151 -0
  128. package/src/components/BryntumSchedulerProBaseProps.ts +2169 -0
  129. package/src/components/BryntumSchedulerProProjectModel.vue +1192 -0
  130. package/src/components/BryntumSchedulerProProjectModelProps.ts +597 -0
  131. package/src/components/BryntumSchedulerProProps.ts +2170 -0
  132. package/src/components/BryntumSchedulingDirectionPicker.vue +1337 -0
  133. package/src/components/BryntumSchedulingDirectionPickerProps.ts +838 -0
  134. package/src/components/BryntumSchedulingModePicker.vue +1345 -0
  135. package/src/components/BryntumSchedulingModePickerProps.ts +845 -0
  136. package/src/components/BryntumStartDateField.vue +1185 -0
  137. package/src/components/BryntumStartDateFieldProps.ts +717 -0
  138. package/src/components/BryntumTimeline.vue +6311 -0
  139. package/src/components/BryntumTimelineProps.ts +2041 -0
  140. package/src/components/BryntumVersionGrid.vue +2970 -0
  141. package/src/components/BryntumVersionGridProps.ts +1053 -0
  142. package/src/helper/WrapperHelper.ts +573 -0
  143. package/src/index.ts +48 -0
  144. package/src/vite-env.d.ts +1 -0
@@ -0,0 +1,4525 @@
1
+ <!-- Vue 3 wrapper for Bryntum ResourceUtilization -->
2
+
3
+ <template>
4
+ <div ref="refElement">
5
+
6
+ <!-- Container for Vue components used in cells, hidden from view -->
7
+ <div
8
+ ref="teleportsHolder"
9
+ style="display: none"
10
+ >
11
+ <!-- Vue components rendered in the grid cells -->
12
+ <teleport
13
+ v-for="item in teleports.values()"
14
+ :key="item.key"
15
+ :to="item.to"
16
+ >
17
+ <component
18
+ :is="item.is"
19
+ :ref="item.key"
20
+ :data-key="item.key"
21
+ :data-generation="item.generation"
22
+ v-bind="item.bind"
23
+ data-vue
24
+ v-on="item.on"
25
+ />
26
+ </teleport>
27
+ </div>
28
+
29
+ </div>
30
+ </template>
31
+
32
+ <script setup lang="ts">
33
+
34
+ import { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';
35
+
36
+ import type { AjaxStore, AjaxStoreConfig, Base, Container, DomConfig, DurationUnit, FormulaProviderConfig, Histogram, HistogramConfig, HistogramSeries, KeyMapConfig, Mask, MaskConfig, Menu, MenuItem, MenuItemEntry, Model, NumberFormatConfig, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, ScrollManager, ScrollManagerConfig, Scroller, ScrollerConfig, StateProvider, Store, StoreConfig, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, Widget } from '@bryntum/core-thin';
37
+ import type { AIFilter, AIFilterConfig, CellCopyPaste, CellCopyPasteConfig, CellEditorContext, CellMenu, CellMenuConfig, CellTooltip, CellTooltipConfig, Charts, ChartsConfig, Column, ColumnAutoWidth, ColumnAutoWidthConfig, ColumnDragToolbar, ColumnDragToolbarConfig, ColumnPicker, ColumnPickerConfig, ColumnRename, ColumnRenameConfig, ColumnReorder, ColumnReorderConfig, ColumnResize, ColumnResizeConfig, ColumnStore, ColumnStoreConfig, EmptyTextDomConfig, ExcelExporter as GridExcelExporter, ExcelExporterConfig as GridExcelExporterConfig, ExportConfig, FileDrop, FileDropConfig, FillHandle, FillHandleConfig, Filter, FilterBar, FilterBarConfig, FilterConfig, Grid, GridBase, GridLocation, GridLocationConfig, GridSelectionMode, GridStateInfo, Group, GroupConfig, HeaderMenu, HeaderMenuConfig, LockRows as GridLockRows, LockRowsConfig as GridLockRowsConfig, MergeCells, MergeCellsConfig, PdfExport as GridPdfExport, PdfExportConfig as GridPdfExportConfig, PinColumns, PinColumnsConfig, PreserveScrollOptions, Print as GridPrint, PrintConfig as GridPrintConfig, QuickFind, QuickFindConfig, RecordPositionContext, RegionResize, RegionResizeConfig, ResponsiveLevelConfig, Row, RowCopyPaste, RowCopyPasteConfig, RowEdit, RowEditConfig, RowEditorContext, RowExpander, RowExpanderConfig, RowResize as GridRowResize, RowResizeConfig as GridRowResizeConfig, Search, SearchConfig, Sort, SortConfig, StickyCells, StickyCellsConfig, Stripe, StripeConfig, SubGrid, SubGridConfig, Tree, TreeConfig, TreeGroup, TreeGroupConfig, XLSColumn } from '@bryntum/grid-thin';
38
+ import type { AssignmentModel as SchedulerAssignmentModel, ColumnLines, ColumnLinesConfig, EventModel as SchedulerEventModel, GroupSummary, GroupSummaryConfig, HeaderZoom, HeaderZoomConfig, NonWorkingTime, NonWorkingTimeConfig, Pan, PanConfig, RecurrenceConfirmationPopup, RecurrenceConfirmationPopupConfig, ResourceMarginConfig, ResourceMenu, ResourceMenuConfig, ResourceModel as SchedulerResourceModel, ResourceTimeRangeModel, ResourceTimeRangeModelConfig, ResourceTimeRangeStore, ResourceTimeRangeStoreConfig, ResourceTimeRanges, ResourceTimeRangesConfig, RowReorder, RowReorderConfig, ScaleColumnConfig, ScalePoint, ScheduleTooltip, ScheduleTooltipConfig, Scheduler, Split, SplitConfig, Summary, SummaryConfig, TimeAxis, TimeAxisColumn, TimeAxisConfig, TimeAxisHeaderMenu, TimeAxisHeaderMenuConfig, TimeRanges, TimeRangesConfig, TimeSpan, TimeSpanConfig, TimelineBase, TimelineContext, TimelineHistogram, VerticalTimeAxisColumn, ViewPreset, ViewPresetConfig, VisibleDate } from '@bryntum/scheduler-thin';
39
+ import type { AllocationCellEdit, AllocationCellEditConfig, AllocationCopyPaste, AllocationCopyPasteConfig, AssignmentAllocationInterval, AssignmentModel, CellEdit, CellEditConfig, SchedulerProContainerItemConfig, SchedulerProColumnConfig, ProjectModel, ProjectModelConfig, ResourceAllocationInfo, ResourceAllocationInterval, ResourceHistogramRenderData, ResourceNonWorkingTime, ResourceNonWorkingTimeConfig, ResourceUtilizationListeners, ResourceUtilizationModel, ResourceUtilizationRenderData, SchedulerPro, TimeSpanHighlight, TimeSpanHighlightConfig } from '@bryntum/schedulerpro-thin';
40
+ import { ResourceUtilization } from '@bryntum/schedulerpro-thin';
41
+
42
+ import { WrapperHelper } from '../helper/WrapperHelper';
43
+
44
+ defineProps<{
45
+ // Configs
46
+ /**
47
+ * Element (or element id) to adopt as this Widget's encapsulating element. The widget's
48
+ * content will be placed inside this element.
49
+ * ...
50
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-adopt)
51
+ */
52
+ adopt ? : HTMLElement|string
53
+ /**
54
+ * A function used for aggregating child records histogram data entries to their parent entry.
55
+ * ...
56
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-aggregateDataEntry)
57
+ * @param {object} aggregateDataEntry.aggregated Target parent data entry to aggregate the entry into.
58
+ * @param {object} aggregateDataEntry.entry Current entry to aggregate into `aggregated`.
59
+ * @param {number} aggregateDataEntry.arrayIndex Index of current array (index of the record among other records being aggregated).
60
+ * @param {object[]} aggregateDataEntry.entryIndex Index of `entry` in the current array.
61
+ * @returns {object} Return value becomes the value of the `aggregated` parameter on the next invocation of this function.
62
+ */
63
+ aggregateDataEntry ? : ((aggregateDataEntry: { aggregated: object, entry: object, arrayIndex: number, entryIndex: object[] }) => object)|string
64
+ /**
65
+ * When `true` the component will automatically calculate data for group records
66
+ * based on the groups members data by calling [getGroupRecordHistogramData](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/mixin/TimelineHistogramGrouping#function-getGroupRecordHistogramData) method.
67
+ */
68
+ aggregateHistogramDataForGroups ? : Boolean
69
+ /**
70
+ * When this widget is a child of a [Container](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container), it will by default be participating in a
71
+ * flexbox layout. This config allows you to set this widget's
72
+ * [align-self](https://developer.mozilla.org/en-US/docs/Web/CSS/align-self) style.
73
+ */
74
+ alignSelf ? : string
75
+ /**
76
+ * Set to `true` to animate row removals caused by filtering.
77
+ * @deprecated 7.0.0 Deprecated `animateFilterRemovals`. Use `transition.filterRemoval` instead
78
+ */
79
+ animateFilterRemovals ? : Boolean
80
+ /**
81
+ * Controls if removing and inserting rows should be animated. Set to `false` to prevent those animations,
82
+ * removing the related delays.
83
+ * @deprecated 7.0.0 Deprecated `animateRemovingRows`. Use `transition.removeRecord` instead
84
+ */
85
+ animateRemovingRows ? : Boolean
86
+ /**
87
+ * When the [Tree](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/Tree) feature is in use and the Store is a tree store, this
88
+ * config may be set to `true` to visually animate branch node expand and collapse operations.
89
+ * *This is not supported in Scheduler and Gantt*
90
+ * @deprecated 7.0.0 Deprecated `animateTreeNodeToggle`. Use `transition.toggleTreeNode` instead
91
+ */
92
+ animateTreeNodeToggle ? : Boolean
93
+ /**
94
+ * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
95
+ * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-element).
96
+ */
97
+ appendTo ? : HTMLElement|string
98
+ /**
99
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
100
+ * into an element which will be linked using the `aria-describedby` attribute.
101
+ * ...
102
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-ariaDescription)
103
+ */
104
+ ariaDescription ? : string
105
+ /**
106
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
107
+ * the `aria-label` attribute.
108
+ * ...
109
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-ariaLabel)
110
+ */
111
+ ariaLabel ? : string
112
+ /**
113
+ * A function that if provided decides whether an assignment should be taken into account or not
114
+ * when collecting allocation.
115
+ * ...
116
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-assignmentFilterFn)
117
+ * @param {SchedulerPro.model.AssignmentModel} assignment Assignment to consider
118
+ * @param {ResourceAllocationInfo} resourceAllocationInfo Resource allocation instance
119
+ * @returns {boolean} `true` to include the assignment data and `false` to not
120
+ */
121
+ assignmentFilterFn ? : (assignment: AssignmentModel, resourceAllocationInfo: ResourceAllocationInfo) => Boolean
122
+ /**
123
+ * You can set this option to `false` to make the timeline panel start and end on the exact provided
124
+ * [startDate](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/TimelineBase#config-startDate)/[endDate](#Scheduler/view/TimelineBase#config-endDate) w/o adjusting them.
125
+ */
126
+ autoAdjustTimeAxis ? : Boolean
127
+ /**
128
+ * Automatically set grids height to fit all rows (no scrolling in the grid). In general you should avoid
129
+ * using `autoHeight: true`, since it will bypass Grids virtual rendering and render all rows at once, which
130
+ * in a larger grid is really bad for performance.
131
+ */
132
+ autoHeight ? : Boolean
133
+ /**
134
+ * Controls how much space to leave between stacked event bars in px.
135
+ * ...
136
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-barMargin)
137
+ */
138
+ barMargin ? : number
139
+ /**
140
+ * Default time unit used for displaying resources effort in bars.
141
+ * Yet the effective time unit used might change dynamically when zooming in the histogram
142
+ * so its ticks unit gets smaller than the default unit.
143
+ * Please use [barTipEffortUnit](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceHistogram#config-barTipEffortUnit) to customize default units for tooltips
144
+ * (or [effortUnit](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceHistogram#config-effortUnit) to customize both texts and tooltips default units).
145
+ */
146
+ barTextEffortUnit ? : DurationUnit
147
+ /**
148
+ * Default time unit used when displaying resources effort in tooltips.
149
+ * Yet the effective time unit used might change dynamically when zooming in the histogram
150
+ * so its ticks unit gets smaller than the default unit.
151
+ * Please use [barTextEffortUnit](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceHistogram#config-barTextEffortUnit) to customize default units for bar texts
152
+ * (or [effortUnit](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceHistogram#config-effortUnit) to customize both texts and tooltips default units).
153
+ */
154
+ barTipEffortUnit ? : DurationUnit
155
+ /**
156
+ * A Function which returns the tooltip text to display when hovering a bar.
157
+ * The following parameters are passed:
158
+ * @param {object} data The backing data of the histogram rectangle
159
+ * @param {object} data.rectConfig The rectangle configuration object
160
+ * @param {object} data.datum The hovered bar data
161
+ * @param {number} data.index The index of the hovered bar data
162
+ * @param {SchedulerPro.model.ResourceUtilizationModel} data.record The record which effort the hovered bar displays.
163
+ * @returns {string} Tooltip HTML content
164
+ */
165
+ barTooltipTemplate ? : (data: { rectConfig: object, datum: object, index: number, record: ResourceUtilizationModel }) => string
166
+ /**
167
+ * A Config object representing the configuration of a [Toolbar](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Toolbar),
168
+ * or array of config objects representing the child items of a Toolbar. Another way to add a bbar is to use [strips](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-strips).
169
+ * ...
170
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-bbar)
171
+ */
172
+ bbar ? : (SchedulerProContainerItemConfig|string)[]|ToolbarConfig|PagingToolbarConfig|null
173
+ /**
174
+ * Custom CSS classes to add to the panel's body element.
175
+ * ...
176
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-bodyCls)
177
+ */
178
+ bodyCls ? : string|object
179
+ /**
180
+ * An object where property names with a truthy value indicate which events should bubble up the ownership
181
+ * hierarchy when triggered.
182
+ * ...
183
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-bubbleEvents)
184
+ */
185
+ bubbleEvents ? : object
186
+ /**
187
+ * This config defines the size of the start and end invisible parts of the timespan when [infiniteScroll](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/mixin/TimelineScroll#config-infiniteScroll) set to `true`.
188
+ * ...
189
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-bufferCoef)
190
+ */
191
+ bufferCoef ? : number
192
+ /**
193
+ * This config defines the scroll limit, which, when exceeded will cause a timespan shift.
194
+ * The limit is calculated as the `panelWidth * [bufferCoef](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/mixin/TimelineScroll#config-bufferCoef) * bufferThreshold`. During scrolling, if the left or right side
195
+ * has less than that of the rendered content - a shift is triggered.
196
+ * ...
197
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-bufferThreshold)
198
+ */
199
+ bufferThreshold ? : number
200
+ /**
201
+ * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
202
+ * ...
203
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-callOnFunctions)
204
+ */
205
+ callOnFunctions ? : Boolean
206
+ /**
207
+ * By default, if an event handler throws an exception, the error propagates up the stack and the
208
+ * application state is undefined. Code which follows the event handler will *not* be executed.
209
+ * ...
210
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-catchEventHandlerExceptions)
211
+ */
212
+ catchEventHandlerExceptions ? : Boolean
213
+ /**
214
+ * Set to `false` to crop text in grid cells without ellipsis (...). When enabled, cells containing pure
215
+ * use `display : block`, instead of `display : flex` to allow ellipsis to work.
216
+ * <strong>NOTE</strong> Only supported in browsers that support `:has()` CSS selector
217
+ */
218
+ cellEllipsis ? : Boolean
219
+ /**
220
+ * Custom CSS classes to add to element.
221
+ * May be specified as a space separated string, or as an object in which property names
222
+ * with truthy values are used as the class names:
223
+ * ...
224
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-cls)
225
+ */
226
+ cls ? : string|object
227
+ /**
228
+ * Controls whether the panel is collapsed (the body of the panel is hidden while only the header is
229
+ * visible). Only valid if the panel is [collapsible](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-collapsible).
230
+ */
231
+ collapsed ? : Boolean
232
+ /**
233
+ * This config enables collapsibility for the panel. See [collapsed](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-collapsed).
234
+ * ...
235
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-collapsible)
236
+ */
237
+ collapsible ? : Boolean|PanelCollapserConfig|PanelCollapserOverlayConfig
238
+ /**
239
+ * Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
240
+ * `style` block.
241
+ * ...
242
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-color)
243
+ */
244
+ color ? : string
245
+ /**
246
+ * Programmatic control over which column to start in when used in a grid layout.
247
+ */
248
+ column ? : number
249
+ /**
250
+ * Set to `false` to not show column lines. End result might be overruled by/differ between themes.
251
+ */
252
+ columnLines ? : Boolean
253
+ /**
254
+ * Accepts column definitions for the grid during initialization. They will be used to create
255
+ * [Column](https://bryntum.com/products/schedulerpro/docs/api/Grid/column/Column) instances that are added to a [ColumnStore](#Grid/data/ColumnStore).
256
+ * ...
257
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-columns)
258
+ */
259
+ columns ? : ColumnStore|SchedulerProColumnConfig[]|ColumnStoreConfig
260
+ config ? : object
261
+ /**
262
+ * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-contentElement).
263
+ * May be specified as a space separated string, or as an object in which property names
264
+ * with truthy values are used as the class names:
265
+ * ...
266
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-contentElementCls)
267
+ */
268
+ contentElementCls ? : string|object
269
+ /**
270
+ * Event which is used to show context menus.
271
+ * Available options are: 'contextmenu', 'click', 'dblclick'.
272
+ */
273
+ contextMenuTriggerEvent ? : 'contextmenu'|'click'|'dblclick'
274
+ /**
275
+ * Specifies a format to use for displaying cost values.
276
+ * Default value is:
277
+ * ...
278
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-costFormat)
279
+ */
280
+ costFormat ? : NumberFormatConfig
281
+ /**
282
+ * When this Widget configuration is used in the Grid's RowExpander feature's `widget` config, provide the
283
+ * field on the expanded record to use for populating this widget's store (if applicable)
284
+ */
285
+ dataField ? : string
286
+ /**
287
+ * Record field from which the histogram data will be collected.
288
+ * ...
289
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-dataModelField)
290
+ */
291
+ dataModelField ? : string
292
+ /**
293
+ * Object to apply to elements dataset (each key will be used as a data-attribute on the element)
294
+ */
295
+ dataset ? : Record<string, string>
296
+ /**
297
+ * Region to which columns are added when they have none specified
298
+ */
299
+ defaultRegion ? : string
300
+ /**
301
+ * Generic resource image, used when provided `imageUrl` or `image` fields or path calculated from resource
302
+ * name are all invalid. If left blank, resource name initials will be shown when no image can be loaded.
303
+ */
304
+ defaultResourceImageName ? : string
305
+ /**
306
+ * Set to `true` to destroy the store when the grid is destroyed.
307
+ */
308
+ destroyStore ? : Boolean
309
+ /**
310
+ * Configure as `true` to destroy the Project and stores when `this` is destroyed.
311
+ */
312
+ destroyStores ? : Boolean
313
+ /**
314
+ * Check for CSS compatibility issues when upgrading to v7. Performs the following checks:
315
+ * ...
316
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-detectCSSCompatibilityIssues)
317
+ */
318
+ detectCSSCompatibilityIssues ? : Boolean
319
+ /**
320
+ * Disable or enable the widget. It is similar to [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-readOnly) except a disabled widget
321
+ * cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
322
+ * ...
323
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-disabled)
324
+ */
325
+ disabled ? : Boolean|'inert'
326
+ /**
327
+ * Set to `true` to not get a warning when calling [getState](https://bryntum.com/products/schedulerpro/docs/api/Grid/view/GridBase#function-getState) when there is a column
328
+ * configured without an `id`. But the recommended action is to always configure columns with an `id` when
329
+ * using states.
330
+ */
331
+ disableGridColumnIdWarning ? : Boolean
332
+ /**
333
+ * Set to `true` to not get a warning when using another base class than GridRowModel for your grid data. If
334
+ * you do, and would like to use the full feature set of the grid then include the fields from GridRowModel
335
+ * in your model definition.
336
+ */
337
+ disableGridRowModelWarning ? : Boolean
338
+ /**
339
+ * Defines how dates will be formatted in tooltips etc. This config has priority over similar config on the
340
+ * view preset. For allowed values see [format](https://bryntum.com/products/schedulerpro/docs/api/Core/helper/DateHelper#function-format-static).
341
+ * ...
342
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-displayDateFormat)
343
+ */
344
+ displayDateFormat ? : string
345
+ /**
346
+ * Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel)
347
+ * [strips collection](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
348
+ * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
349
+ * body. Such widgets are called "edge strips".
350
+ * ...
351
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-dock)
352
+ */
353
+ dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
354
+ /**
355
+ * Make this Panel a docked drawer which slides out from one side of the browser viewport by default.
356
+ * ...
357
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-drawer)
358
+ * @param {'start','left','end','right','top','bottom'} side The side of the viewport to dock the drawer to. * `'start'` means the `inline-start` side. * `'end'` means the `inline-end` side.
359
+ * @param {string,number} size The size of the drawer in its collapsible axis.
360
+ * @param {boolean} inline If using the [appendTo](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-appendTo) config to place the drawer inside a host widget, this may be set to `true` to make the drawer inline within that host. Note that, if using this, the layout of the host element must have `flex-direction` set appropriately.
361
+ * @param {boolean,object} autoClose Specifies what user actions should automatically close the drawer. Defaults to closing when the user clicks outside of the drawer or when focus moves outside of the drawer.
362
+ * @param {boolean,string} autoClose.mousedown If the user clicks outside of the drawer, the drawer will automatically be hidden. If the value is a string, it is used as a CSS selector to filter clicks which should close the drawer.
363
+ * @param {boolean,string} autoClose.focusout If focus moves outside of the drawer, the drawer will automatically be hidden.
364
+ * @param {string} autoClose.mouseout Hides the drawer when the mouse leaves the drawer after the `autoCloseDelay` period.
365
+ * @param {number} autoCloseDelay When using `mouseout`, this is the delay in milliseconds
366
+ */
367
+ drawer ? : Boolean|{side?: 'start'|'left'|'end'|'right'|'top'|'bottom', size?: string|number, inline?: Boolean, autoClose: { mousedown?: Boolean|string, focusout?: Boolean|string, mouseout?: string }, autoCloseDelay?: number}
368
+ /**
369
+ * Effort value format string.
370
+ * Must be a template supported by [NumberFormat](https://bryntum.com/products/schedulerpro/docs/api/Core/helper/util/NumberFormat) class.
371
+ */
372
+ effortFormat ? : string
373
+ /**
374
+ * Default time unit to display resources effort values.
375
+ * The value is used as default when displaying effort in tooltips and bars text.
376
+ * Yet the effective time unit used might change dynamically when zooming in the histogram
377
+ * so its ticks unit gets smaller than the default unit.
378
+ * Please use [barTipEffortUnit](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceHistogram#config-barTipEffortUnit) to customize default units for tooltips only
379
+ * and [barTextEffortUnit](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceHistogram#config-barTextEffortUnit) to customize default units in bar texts.
380
+ */
381
+ effortUnit ? : DurationUnit
382
+ /**
383
+ * An object specifying attributes to assign to the root element of this widget.
384
+ * Set `null` value to attribute to remove it.
385
+ * ...
386
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-elementAttributes)
387
+ */
388
+ elementAttributes ? : Record<string, string|null>
389
+ /**
390
+ * Text or HTML, or a [EmptyTextDomConfig](https://bryntum.com/products/schedulerpro/docs/api/Grid/view/GridBase#typedef-EmptyTextDomConfig) block to display when there is no data to display in the grid.
391
+ * When using multiple Grid regions, provide the `region` property to decide where the text is shown.
392
+ * By default, it is shown in the first region.
393
+ * ...
394
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-emptyText)
395
+ */
396
+ emptyText ? : string|EmptyTextDomConfig
397
+ /**
398
+ * Set to `false` if you don't want event bar DOM updates to animate.
399
+ * @deprecated 7.0.0 Deprecated `enableEventAnimations`. Use `transition.changeEvent` instead
400
+ */
401
+ enableEventAnimations ? : Boolean
402
+ /**
403
+ * Configure this as `true` to allow elements within cells to be styled as `position: sticky`.
404
+ * ...
405
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-enableSticky)
406
+ */
407
+ enableSticky ? : Boolean
408
+ /**
409
+ * Set to `true` to allow text selection in the grid cells. Note, this cannot be used simultaneously with the
410
+ * `RowReorder` feature.
411
+ */
412
+ enableTextSelection ? : Boolean
413
+ /**
414
+ * Set to `true` to listen for CTRL-Z (CMD-Z on Mac OS) keyboard event and trigger undo (redo when SHIFT is
415
+ * pressed). Only applicable when using a [StateTrackingManager](https://bryntum.com/products/schedulerpro/docs/api/Core/data/stm/StateTrackingManager).
416
+ */
417
+ enableUndoRedoKeys ? : Boolean
418
+ /**
419
+ * The end date of the timeline (if not configure with [infiniteScroll](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/TimelineBase#config-infiniteScroll)).
420
+ * ...
421
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-endDate)
422
+ */
423
+ endDate ? : Date|string
424
+ /**
425
+ * The name of the end date parameter that will be passed to in every `eventStore` load request.
426
+ */
427
+ endParamName ? : string
428
+ extraData ? : any
429
+ /**
430
+ * Set to `true` to stretch the last column in a grid with all fixed width columns
431
+ * to fill extra available space if the grid's width is wider than the sum of all
432
+ * configured column widths.
433
+ */
434
+ fillLastColumn ? : Boolean
435
+ /**
436
+ * Specify `true` to force rendered events/tasks to fill entire ticks. This only affects rendering, start
437
+ * and end dates retain their value on the data level.
438
+ * ...
439
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-fillTicks)
440
+ */
441
+ fillTicks ? : Boolean
442
+ /**
443
+ * Use fixed row height. Setting this to `true` will configure the underlying RowManager to use fixed row
444
+ * height, which sacrifices the ability to use rows with variable height to gain a fraction better
445
+ * performance.
446
+ * ...
447
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-fixedRowHeight)
448
+ */
449
+ fixedRowHeight ? : Boolean
450
+ /**
451
+ * When this widget is a child of a [Container](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container), it will by default be participating in a
452
+ * flexbox layout. This config allows you to set this widget's
453
+ * [flex](https://developer.mozilla.org/en-US/docs/Web/CSS/flex) style.
454
+ * This may be configured as a single number or a `&lt;flex-grow&gt; &lt;flex-shrink&gt; &lt;flex-basis&gt;` format string.
455
+ * numeric-only values are interpreted as the `flex-grow` value.
456
+ */
457
+ flex ? : number|string
458
+ /**
459
+ * Config object of a footer. May contain a `dock`, `html` and a `cls` property. A footer is not a widget,
460
+ * but rather plain HTML that follows the last element of the panel's body and [strips](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-strips).
461
+ * ...
462
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-footer)
463
+ */
464
+ footer ? : {
465
+ dock?: 'top'|'right'|'bottom'|'left'|'start'|'end'
466
+ html?: string
467
+ cls?: string
468
+ }|string
469
+ /**
470
+ * Set to `true` to force the time columns to fit to the available space (horizontal or vertical depends on mode).
471
+ * Note that setting [suppressFit](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/TimelineBase#config-suppressFit) to `true`, will disable `forceFit` functionality. Zooming
472
+ * cannot be used when `forceFit` is set.
473
+ */
474
+ forceFit ? : Boolean
475
+ /**
476
+ * An object which names formula prefixes which will be applied to all columns configured with
477
+ * `formula : true`.
478
+ * ...
479
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-formulaProviders)
480
+ */
481
+ formulaProviders ? : Record<string, FormulaProviderConfig>
482
+ /**
483
+ * Refresh entire row when a record changes (`true`) or, if possible, only the cells affected (`false`).
484
+ * ...
485
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-fullRowRefresh)
486
+ */
487
+ fullRowRefresh ? : Boolean
488
+ /**
489
+ * A Function which returns a CSS class name to add to a rectangle element.
490
+ * The following parameters are passed:
491
+ * @param {HistogramSeries} series The series being rendered
492
+ * @param {DomConfig} domConfig The rectangle configuration object
493
+ * @param {ResourceAllocationInterval,AssignmentAllocationInterval} datum The datum being rendered. Either [ResourceAllocationInterval](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ResourceModel#typedef-ResourceAllocationInterval) object for resource records (root level records) or [AssignmentAllocationInterval](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ResourceModel#typedef-AssignmentAllocationInterval) object for assignment records
494
+ * @param {number} index The index of the datum being rendered
495
+ * @param {ResourceUtilizationRenderData} renderData Current render data giving access to the record, row and cell being rendered.
496
+ * @returns {string} CSS classes of the rectangle element
497
+ */
498
+ getBarClass ? : (series: HistogramSeries, domConfig: DomConfig, datum: ResourceAllocationInterval|AssignmentAllocationInterval, index: number, renderData: ResourceUtilizationRenderData) => string
499
+ /**
500
+ * A Function which if provided returns DOM configuration object for a bar
501
+ * (a `RECT` element representing a single "bar"-type value).
502
+ * The function accepts default prepared DOM configuration
503
+ * in an argument which then can be processed and returned.
504
+ * ...
505
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-getBarDOMConfig)
506
+ * @param {HistogramSeries} series The series being rendered
507
+ * @param {DomConfig} domConfig The rectangle DOM configuration object
508
+ * @param {ResourceAllocationInterval,AssignmentAllocationInterval} datum The datum being rendered. Either [ResourceAllocationInterval](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ResourceModel#typedef-ResourceAllocationInterval) object for resource records (root level records) or [AssignmentAllocationInterval](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ResourceModel#typedef-AssignmentAllocationInterval) object for assignment records
509
+ * @param {number} index The index of the datum being rendered
510
+ * @param {ResourceUtilizationRenderData} renderData Current render data giving access to the record, row and cell being rendered.
511
+ * @returns {object} Resulting DOM configuration object. If no value returned the bar is not displayed.
512
+ */
513
+ getBarDOMConfig ? : (series: HistogramSeries, domConfig: DomConfig, datum: ResourceAllocationInterval|AssignmentAllocationInterval, index: number, renderData: ResourceUtilizationRenderData) => object
514
+ /**
515
+ * A Function which returns the text to render inside a bar.
516
+ * ...
517
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-getBarText)
518
+ * @param {ResourceAllocationInterval,AssignmentAllocationInterval} datum The datum being rendered. Either [ResourceAllocationInterval](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ResourceModel#typedef-ResourceAllocationInterval) object for resource records (root level records) or [AssignmentAllocationInterval](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ResourceModel#typedef-AssignmentAllocationInterval) object for assignment records
519
+ * @param {number} index The index of the datum being rendered
520
+ * @returns {string} Text to render inside the bar
521
+ */
522
+ getBarText ? : (datum: ResourceAllocationInterval|AssignmentAllocationInterval, index: number) => string
523
+ /**
524
+ * A Function which returns a DOM configuration object for text elements.
525
+ * ...
526
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-getBarTextDOMConfig)
527
+ * @param {DomConfig} domConfig The `TEXT` element DOM configuration object
528
+ * @param {ResourceAllocationInterval,AssignmentAllocationInterval} datum The datum being rendered. Either [ResourceAllocationInterval](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ResourceModel#typedef-ResourceAllocationInterval) object for resource records (root level records) or [AssignmentAllocationInterval](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ResourceModel#typedef-AssignmentAllocationInterval) object for assignment records
529
+ * @param {number} index The index of the datum being rendered
530
+ * @param {HistogramSeries} series The series (provided if histogram widget [singleTextForAllBars](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/graph/Histogram#config-singleTextForAllBars) is `false`)
531
+ * @param {ResourceUtilizationRenderData} renderData Current render data giving access to the record, row and cell being rendered.
532
+ * @returns {object} The `TEXT` element DOM configuration object. If no value returned the text element is not displayed.
533
+ */
534
+ getBarTextDOMConfig ? : (domConfig: DomConfig, datum: ResourceAllocationInterval|AssignmentAllocationInterval, index: number, series: HistogramSeries, renderData: ResourceUtilizationRenderData) => object
535
+ /**
536
+ * Function that extracts a record histogram data entry for aggregating.
537
+ * By default it returns the entry as is. Override the function if you need a more complex way
538
+ * to retrieve the value for aggregating.
539
+ * ...
540
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-getDataEntryForAggregating)
541
+ * @param {object} getDataEntryForAggregating.entry Current data entry.
542
+ * @returns {object} Entry to aggregate
543
+ */
544
+ getDataEntryForAggregating ? : ((getDataEntryForAggregating: { entry: object }) => object)|string
545
+ /**
546
+ * A Function which returns a CSS class name to add to a path element
547
+ * built for an `outline` type series.
548
+ * The following parameters are passed:
549
+ * @param {HistogramSeries} series The series being rendered
550
+ * @param {object[]} data The series data
551
+ * @param {ResourceHistogramRenderData} renderData Current render data giving access to the record, row and cell being rendered.
552
+ * @returns {string} CSS class name of the path element
553
+ */
554
+ getOutlineClass ? : (series: HistogramSeries, data: object[], renderData: ResourceHistogramRenderData) => string
555
+ /**
556
+ * A Function which if provided should return a DOM configuration object for
557
+ * a `path` element built for an `outline` type series.
558
+ * The function accepts a default prepared DOM configuration
559
+ * in an argument which then can be processed and returned.
560
+ * ...
561
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-getOutlineDOMConfig)
562
+ * @param {HistogramSeries} series The series being rendered
563
+ * @param {DomConfig} domConfig The `path` element DOM configuration object
564
+ * @param {object[]} data The series data
565
+ * @param {ResourceHistogramRenderData} renderData Current render data giving access to the record, row and cell being rendered.
566
+ * @returns {object} Resulting DOM configuration object. If no value returned the path is not displayed.
567
+ */
568
+ getOutlineDOMConfig ? : (series: HistogramSeries, domConfig: DomConfig, data: object[], renderData: ResourceHistogramRenderData) => object
569
+ /**
570
+ * A function, or name of a function which builds histogram data for the provided record.
571
+ * ...
572
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-getRecordData)
573
+ * @param {Core.data.Model} getRecordData.record Record to get histogram data for.
574
+ * @param {object} aggregationContext Context object passed in case the data is being retrieved as a part of some parent record data collecting.
575
+ * @returns {object} Histogram data.
576
+ */
577
+ getRecordData ? : ((getRecordData: { record: Model }, aggregationContext?: object) => object)|string
578
+ /**
579
+ * A function called for each row to determine its height. It is passed a [record](https://bryntum.com/products/schedulerpro/docs/api/Core/data/Model) and
580
+ * expected to return the desired height of that records row. If the function returns a falsy value, Grids
581
+ * configured [rowHeight](https://bryntum.com/products/schedulerpro/docs/api/Grid/view/GridBase#config-rowHeight) is used.
582
+ * ...
583
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-getRowHeight)
584
+ * @param {Core.data.Model} getRowHeight.record Record to determine row height for
585
+ * @returns {number} Desired row height
586
+ */
587
+ getRowHeight ? : (getRowHeight: { record: Model }) => number
588
+ /**
589
+ * When set to `true` (default) the component reacts on time axis changes
590
+ * (zooming or changing the displayed time span), clears the histogram data cache of the records
591
+ * and then refreshes the view.
592
+ */
593
+ hardRefreshOnTimeAxisReconfigure ? : Boolean
594
+ /**
595
+ * A config [object](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#typedef-PanelHeader) for the panel's header or a string in place of a `title`.
596
+ * ...
597
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-header)
598
+ */
599
+ header ? : string|Boolean|PanelHeader
600
+ /**
601
+ * Widget's height, used to set element `style.height`. Either specify a valid height string or a number,
602
+ * which will get 'px' appended. We recommend using CSS as the primary way to control height, but in some
603
+ * cases this config is convenient.
604
+ */
605
+ height ? : string|number
606
+ /**
607
+ * Configure with true to make widget initially hidden.
608
+ */
609
+ hidden ? : Boolean
610
+ /**
611
+ * Set to `true` to hide the footer elements
612
+ */
613
+ hideFooters ? : Boolean
614
+ /**
615
+ * Set to `true` to hide the column header elements
616
+ */
617
+ hideHeaders ? : Boolean
618
+ /**
619
+ * Set to `true` to hide the Grid's horizontal scrollbar(s)
620
+ */
621
+ hideHorizontalScrollbar ? : Boolean
622
+ /**
623
+ * By default the row hover effect is not visible in the Scheduler part of the grid.
624
+ * ...
625
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-hideRowHover)
626
+ */
627
+ hideRowHover ? : Boolean
628
+ /**
629
+ * An instance or a configuration object of the underlying [Histogram](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/graph/Histogram)
630
+ * component that is used under the hood to render actual charts.
631
+ * In case a configuration object is provided the built class is defined with
632
+ * [histogramWidgetClass](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/TimelineHistogramBase#config-histogramWidgetClass) config.
633
+ */
634
+ histogramWidget ? : Histogram|HistogramConfig
635
+ /**
636
+ * The class used for building the [histogram widget](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/TimelineHistogramBase#property-histogramWidget)
637
+ */
638
+ histogramWidgetClass ? : Histogram
639
+ /**
640
+ * A CSS class to add to hovered row elements
641
+ */
642
+ hoverCls ? : string
643
+ /**
644
+ * An icon to show before the [title](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-title). Either pass a CSS class as a string, or pass a
645
+ * [DomConfig](https://bryntum.com/products/schedulerpro/docs/api/Core/helper/DomHelper#typedef-DomConfig) object describing an element to represent the icon.
646
+ */
647
+ icon ? : string|DomConfig
648
+ /**
649
+ * Widget id, if not specified one will be generated. Also used for lookups through Widget.getById
650
+ */
651
+ id ? : string
652
+ /**
653
+ * Set to `true` to ignore reacting to DOM events (mouseover/mouseout etc) while scrolling. Useful if you
654
+ * want to maximize scroll performance.
655
+ */
656
+ ignoreDomEventsWhileScrolling ? : Boolean
657
+ /**
658
+ * Determines if the widgets read-only state should be controlled by its parent.
659
+ * ...
660
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-ignoreParentReadOnly)
661
+ */
662
+ ignoreParentReadOnly ? : Boolean
663
+ /**
664
+ * Set to `true` to include inactive tasks allocation and `false` to not take such tasks into account.
665
+ */
666
+ includeInactiveEvents ? : Boolean
667
+ /**
668
+ * Set to `true` to automatically adjust the panel timespan during scrolling in the time dimension,
669
+ * when the scroller comes close to the start/end edges.
670
+ * ...
671
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-infiniteScroll)
672
+ */
673
+ infiniteScroll ? : Boolean
674
+ /**
675
+ * A function that initializes a target group record entry.
676
+ * ...
677
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-initAggregatedDataEntry)
678
+ * @returns {object} Target aggregated entry
679
+ */
680
+ initAggregatedDataEntry ? : (() => object)|string
681
+ /**
682
+ * Convenience setting to align input fields of child widgets. By default, the Field input element is
683
+ * placed immediately following the `label`. If you prefer to have all input fields aligned to the
684
+ * right, set this config to `'end'`.
685
+ * ...
686
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-inputFieldAlign)
687
+ */
688
+ inputFieldAlign ? : 'start'|'end'
689
+ /**
690
+ * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
691
+ */
692
+ insertBefore ? : HTMLElement|string
693
+ /**
694
+ * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
695
+ */
696
+ insertFirst ? : HTMLElement|string
697
+ /**
698
+ * See [Keyboard shortcuts](https://bryntum.com/products/schedulerpro/docs/api/Grid/view/Grid#keyboard-shortcuts) for details
699
+ */
700
+ keyMap ? : Record<string, KeyMapConfig>
701
+ /**
702
+ * Convenience setting to use same label placement on all child widgets.
703
+ * ...
704
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-labelPosition)
705
+ */
706
+ labelPosition ? : 'before'|'above'|'align-before'|'auto'|null
707
+ /**
708
+ * The listener set for this object.
709
+ * ...
710
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-listeners)
711
+ */
712
+ listeners ? : ResourceUtilizationListeners
713
+ /**
714
+ * A [Mask](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Mask) config object, or a message to be shown when a store is performing a remote
715
+ * operation, or Crud Manager is loading data from the sever. Set to `null` to disable default load mask.
716
+ */
717
+ loadMask ? : string|MaskConfig|null
718
+ /**
719
+ * A [Mask](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Mask) config object to adjust the [maskDefaults](#Core/widget/Widget#config-maskDefaults)
720
+ * when data is loading. The message and optional configuration from the
721
+ * [loadMask](https://bryntum.com/products/schedulerpro/docs/api/Core/mixin/LoadMaskable#config-loadMask) config take priority over these options, just as they do
722
+ * for `maskDefaults`, respectively.
723
+ * ...
724
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-loadMaskDefaults)
725
+ */
726
+ loadMaskDefaults ? : MaskConfig
727
+ /**
728
+ * A [Mask](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Mask) config object to adjust the [maskDefaults](#Core/widget/Widget#config-maskDefaults)
729
+ * when an error occurs loading data.
730
+ * ...
731
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-loadMaskError)
732
+ */
733
+ loadMaskError ? : MaskConfig|Mask|Boolean
734
+ /**
735
+ * Set to `false` to disable localization of this object.
736
+ */
737
+ localizable ? : Boolean
738
+ /**
739
+ * Time in ms until a longpress is triggered
740
+ */
741
+ longPressTime ? : number
742
+ /**
743
+ * When `true`, events are sized and positioned based on rowHeight, resourceMargin and barMargin settings.
744
+ * Set this to `false` if you want to control height and vertical position using CSS instead.
745
+ * ...
746
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-managedEventSizing)
747
+ */
748
+ managedEventSizing ? : Boolean
749
+ /**
750
+ * Widget's margin. This may be configured as a single number or a `TRBL` format string.
751
+ * numeric-only values are interpreted as pixels.
752
+ */
753
+ margin ? : number|string
754
+ /**
755
+ * Grids change the `maskDefaults` to cover only their `body` element.
756
+ */
757
+ maskDefaults ? : MaskConfig
758
+ /**
759
+ * Set to `true` to apply the default mask to the widget. Alternatively, this can be the mask message or a
760
+ * [Mask](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Mask) config object.
761
+ */
762
+ masked ? : Boolean|string|MaskConfig
763
+ /**
764
+ * Get/set end date limit of the timeline.
765
+ * Actions such as timeline scrolling, all types of timeline zooms and shifts
766
+ * will respect this limit.
767
+ */
768
+ maxDate ? : Date|string
769
+ /**
770
+ * The element's maxHeight. Can be either a String or a Number (which will have 'px' appended). Note that
771
+ * like [height](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
772
+ */
773
+ maxHeight ? : string|number
774
+ /**
775
+ * The maximum time axis unit to display non-working ranges for ('hour' or 'day' etc).
776
+ * When zooming to a view with a larger unit, no non-working time elements will be rendered.
777
+ * ...
778
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-maxTimeAxisUnit)
779
+ */
780
+ maxTimeAxisUnit ? : DurationUnit
781
+ /**
782
+ * The elements maxWidth. Can be either a String or a Number (which will have 'px' appended). Note that
783
+ * like [width](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
784
+ */
785
+ maxWidth ? : string|number
786
+ /**
787
+ * The maximum zoom level to which [zoomIn](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/mixin/TimelineZoomable#function-zoomIn) will work. Defaults to the number of
788
+ * [ViewPresets](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/preset/ViewPreset) available, see [presets](#Scheduler/view/mixin/TimelineViewPresets#property-presets)
789
+ * for information. Unless you have modified the collection of available presets, the max zoom level is
790
+ * milliseconds.
791
+ */
792
+ maxZoomLevel ? : number
793
+ /**
794
+ * Get/set start date limit of the timeline.
795
+ * Actions such as timeline scrolling, all types of timeline zooms and shifts
796
+ * will respect this limit.
797
+ */
798
+ minDate ? : Date|string
799
+ /**
800
+ * Grid's `min-height`. Defaults to `10em` to be sure that the Grid always has a height wherever it is
801
+ * inserted.
802
+ * ...
803
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-minHeight)
804
+ */
805
+ minHeight ? : string|number
806
+ /**
807
+ * The elements minWidth. Can be either a String or a Number (which will have 'px' appended). Note that
808
+ * like [width](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
809
+ */
810
+ minWidth ? : string|number
811
+ /**
812
+ * The minimum zoom level to which [zoomOut](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/mixin/TimelineZoomable#function-zoomOut) will work. Defaults to 0 (year ticks)
813
+ */
814
+ minZoomLevel ? : number
815
+ /**
816
+ * Grid monitors window resize by default.
817
+ */
818
+ monitorResize ? : Boolean
819
+ /**
820
+ * The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
821
+ * [items](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
822
+ * the owner is <strong>always</strong> the encapsulating Container.
823
+ * ...
824
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-owner)
825
+ */
826
+ owner ? : Widget|any
827
+ /**
828
+ * Partners this Timeline panel with another Timeline in order to sync their region sizes (sub-grids like locked, normal will get the same width),
829
+ * start and end dates, view preset, zoom level and scrolling position. All these values will be synced with the timeline defined as the `partner`.
830
+ * ...
831
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-partner)
832
+ */
833
+ partner ? : TimelineBase
834
+ /**
835
+ * Set to `true` to include `startDate` and `endDate` params indicating the currently viewed date range in
836
+ * `EventStore` load requests (when loading using `AjaxStore` or `CrudManager` functionality).
837
+ * ...
838
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-passStartEndParameters)
839
+ */
840
+ passStartEndParameters ? : Boolean
841
+ /**
842
+ * Specify plugins (an array of classes) in config
843
+ */
844
+ plugins ? : Function[]
845
+ /**
846
+ * True to preserve focused cell after loading new data
847
+ */
848
+ preserveFocusOnDatasetChange ? : Boolean
849
+ /**
850
+ * Preserve the grid's vertical scroll position when changesets are applied, as in the case of remote
851
+ * changes, or when stores are configured with [syncDataOnLoad](https://bryntum.com/products/schedulerpro/docs/api/Core/data/Store#config-syncDataOnLoad).
852
+ */
853
+ preserveScroll ? : PreserveScrollOptions|Boolean
854
+ /**
855
+ * Specify `true` to preserve vertical scroll position after store actions that trigger a `refresh` event,
856
+ * such as loading new data and filtering.
857
+ */
858
+ preserveScrollOnDatasetChange ? : Boolean
859
+ /**
860
+ * An array of [ViewPreset](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/preset/ViewPreset) config objects
861
+ * which describes the available timeline layouts for this scheduler.
862
+ * ...
863
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-presets)
864
+ */
865
+ presets ? : ViewPresetConfig[]
866
+ /**
867
+ * Prevent tooltip from being displayed on touch devices. Useful for example for buttons that display a
868
+ * menu on click etc, since the tooltip would be displayed at the same time.
869
+ */
870
+ preventTooltipOnTouch ? : Boolean
871
+ /**
872
+ * A ProjectModel instance (or a config object) to display resource allocation of.
873
+ * ...
874
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-project)
875
+ */
876
+ project ? : ProjectModelConfig|ProjectModel|object
877
+ /**
878
+ * Set to `true` to make the grid read-only, by disabling any UIs for modifying data.
879
+ * ...
880
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-readOnly)
881
+ */
882
+ readOnly ? : Boolean
883
+ /**
884
+ * The confirmation dialog shown when a recurring event is edited.
885
+ * ...
886
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-recurrenceConfirmationPopup)
887
+ */
888
+ recurrenceConfirmationPopup ? : RecurrenceConfirmationPopupConfig|RecurrenceConfirmationPopup
889
+ relayStoreEvents ? : Boolean
890
+ /**
891
+ * Either a default `rendition` to apply to all child widgets, or a map of renditions keyed by child widget
892
+ * `type`.
893
+ * ...
894
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-rendition)
895
+ */
896
+ rendition ? : string|Record<string, string>|null
897
+ /**
898
+ * Configure this property to allow the widget/component to be resized. Pressing <kbd>Shift</kbd> while resizing will
899
+ * constrain the aspect ratio.
900
+ * ...
901
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-resizable)
902
+ */
903
+ resizable ? : Boolean|{
904
+ minWidth?: number
905
+ maxWidth?: number
906
+ minHeight?: number
907
+ maxHeight?: number
908
+ handles?: object
909
+ }
910
+ /**
911
+ * Set to `false` to only measure cell contents when double-clicking the edge between column headers.
912
+ */
913
+ resizeToFitIncludesHeader ? : Boolean
914
+ /**
915
+ * Resource image extension, used when creating image path from resource name.
916
+ */
917
+ resourceImageExtension ? : string
918
+ /**
919
+ * Path to load resource images from. Used by the resource header in vertical mode and the
920
+ * [ResourceInfoColumn](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/column/ResourceInfoColumn) in horizontal mode. Set this to display miniature
921
+ * images for each resource using their `image` or `imageUrl` fields.
922
+ * ...
923
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-resourceImagePath)
924
+ */
925
+ resourceImagePath ? : string
926
+ /**
927
+ * Convenience config to set both [resourceImagePath](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/mixin/SchedulerResourceRendering#config-resourceImagePath) and [resourceImageExtension](#Scheduler/view/mixin/SchedulerResourceRendering#config-resourceImageExtension).
928
+ * ...
929
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-resourceImages)
930
+ */
931
+ resourceImages ? : {
932
+ path?: string
933
+ extension?: string
934
+ }
935
+ /**
936
+ * Control how much space to leave between the first event/last event and the resources edge (top/bottom
937
+ * margin within the resource row in horizontal mode, left/right margin within the resource column in
938
+ * vertical mode), in px. Defaults to the value of [barMargin](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/Scheduler#config-barMargin).
939
+ * ...
940
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-resourceMargin)
941
+ */
942
+ resourceMargin ? : number|ResourceMarginConfig
943
+ /**
944
+ * An empty function by default, but provided so that you can override it. This function is called each time
945
+ * a resource time range is rendered into the schedule. It's called with `resourceTimeRangeRecord`, `resourceRecord`,
946
+ * and `renderData` params.
947
+ * ...
948
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-resourceTimeRangeRenderer)
949
+ * @param {object} detail An object containing the information needed to render a ResourceTimeRangeModel.
950
+ * @param {Scheduler.model.ResourceTimeRangeModel} detail.resourceTimeRangeRecord The resource time range record.
951
+ * @param {Scheduler.model.SchedulerResourceModel} detail.resourceRecord The resource record.
952
+ * @param {object} detail.renderData An object containing details about the event rendering.
953
+ * @returns {string,DomConfig,DomConfig[]} A simple string, or a DomConfig object describing the markup
954
+ */
955
+ resourceTimeRangeRenderer ? : (detail: { resourceTimeRangeRecord: ResourceTimeRangeModel, resourceRecord: SchedulerResourceModel, renderData: object }) => string|DomConfig|DomConfig[]
956
+ /**
957
+ * Inline resource time ranges, will be loaded into an internally created store if
958
+ * [ResourceTimeRanges](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/ResourceTimeRanges) is enabled.
959
+ */
960
+ resourceTimeRanges ? : ResourceTimeRangeModel[]|ResourceTimeRangeModelConfig[]
961
+ /**
962
+ * Resource time ranges store instance or config object for [ResourceTimeRanges](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/ResourceTimeRanges) feature.
963
+ */
964
+ resourceTimeRangeStore ? : ResourceTimeRangeStore|ResourceTimeRangeStoreConfig
965
+ /**
966
+ * Set to `true` to take task and assignment store filters into account when collecting allocation.
967
+ * ...
968
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-respectStoreFilters)
969
+ */
970
+ respectStoreFilters ? : Boolean
971
+ /**
972
+ * "Break points" for which responsive config to use for columns and css.
973
+ * ...
974
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-responsiveLevels)
975
+ */
976
+ responsiveLevels ? : Record<string, number|string|ResponsiveLevelConfig>
977
+ /**
978
+ * Configure as `true` to have the component display a translucent ripple when its
979
+ * [focusElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-focusElement), or [element](#Core/widget/Widget#property-element) is tapped <em>if the
980
+ * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
981
+ * ...
982
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-ripple)
983
+ */
984
+ ripple ? : Boolean|{
985
+ delegate?: string
986
+ color?: string
987
+ radius?: number
988
+ clip?: string
989
+ }
990
+ /**
991
+ * If you are rendering this widget to a shadow root inside a web component, set this config to the shadowRoot. If not inside a web component, set it to `document.body`
992
+ */
993
+ rootElement ? : ShadowRoot|HTMLElement
994
+ /**
995
+ * Row height in pixels. This allows the default height for rows to be controlled. Note that it may be
996
+ * overriden by specifying a [rowHeight](https://bryntum.com/products/schedulerpro/docs/api/Grid/data/GridRowModel#field-rowHeight) on a per record basis, or from
997
+ * a column [renderer](https://bryntum.com/products/schedulerpro/docs/api/Grid/column/Column#config-renderer).
998
+ * ...
999
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-rowHeight)
1000
+ */
1001
+ rowHeight ? : number
1002
+ /**
1003
+ * Set to `false` to not show row lines. End result might be overruled by/differ between themes.
1004
+ */
1005
+ rowLines ? : Boolean
1006
+ /**
1007
+ * This may be configured as `true` to make the widget's element use the `direction:rtl` style.
1008
+ * ...
1009
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-rtl)
1010
+ */
1011
+ rtl ? : Boolean
1012
+ /**
1013
+ * An object with configuration for the [ScaleColumn](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/column/ScaleColumn).
1014
+ * ...
1015
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-scaleColumn)
1016
+ */
1017
+ scaleColumn ? : ScaleColumnConfig
1018
+ /**
1019
+ * Array of objects representing the [scale column](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/mixin/TimelineHistogramScaleColumn#config-scaleColumn) scale points.
1020
+ * The config basically is a mapping to the column [scalePoints](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/column/ScaleColumn#config-scalePoints)
1021
+ * config.
1022
+ * ...
1023
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-scalePoints)
1024
+ */
1025
+ scalePoints ? : ScalePoint[]
1026
+ /**
1027
+ * Configures whether the grid is scrollable in the `Y` axis. This is used to configure a [Scroller](https://bryntum.com/products/schedulerpro/docs/api/Core/helper/util/Scroller).
1028
+ * See the [scrollerClass](https://bryntum.com/products/schedulerpro/docs/api/Grid/view/GridBase#config-scrollerClass) config option.
1029
+ * ...
1030
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-scrollable)
1031
+ */
1032
+ scrollable ? : Boolean|ScrollerConfig|Scroller
1033
+ /**
1034
+ * The class to instantiate to use as the [scrollable](https://bryntum.com/products/schedulerpro/docs/api/Grid/view/GridBase#config-scrollable). Defaults to [Scroller](#Core/helper/util/Scroller).
1035
+ */
1036
+ scrollerClass ? : typeof Scroller
1037
+ /**
1038
+ * Configuration values for the [ScrollManager](https://bryntum.com/products/schedulerpro/docs/api/Core/util/ScrollManager) class on initialization. Returns the
1039
+ * [ScrollManager](https://bryntum.com/products/schedulerpro/docs/api/Core/util/ScrollManager) at runtime.
1040
+ */
1041
+ scrollManager ? : ScrollManagerConfig|ScrollManager
1042
+ /**
1043
+ * Selection configuration settings, change these properties to control how selection works and what can be
1044
+ * selected.
1045
+ * ...
1046
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-selectionMode)
1047
+ */
1048
+ selectionMode ? : GridSelectionMode
1049
+ /**
1050
+ * Object enumerating data series for the histogram.
1051
+ * The object keys are treated as the series identifiers and values are objects that
1052
+ * must contain two properties:
1053
+ * ...
1054
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-series)
1055
+ */
1056
+ series ? : Record<string, HistogramSeries>
1057
+ /**
1058
+ * Set to `true` if you want to display resources effort values in bars
1059
+ * (for example: `24h`, `7d`, `60min` etc.).
1060
+ * The text contents can be changed by providing [getBarText](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-getBarText) function.
1061
+ */
1062
+ showBarText ? : Boolean
1063
+ /**
1064
+ * Set to `true` if you want to display a tooltip when hovering an allocation bar. You can also pass a
1065
+ * [Tooltip#configs](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Tooltip#configs) config object.
1066
+ * Please use [barTooltipTemplate](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/TimelineHistogramBase#config-barTooltipTemplate) function to customize the tooltip contents.
1067
+ */
1068
+ showBarTip ? : Boolean|TooltipConfig
1069
+ /**
1070
+ * Set to `true` to display the [bar tooltip](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/TimelineHistogramBase#config-showBarTip) when navigating the timeaxis cells
1071
+ * using [ScheduleContext](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/ScheduleContext) feature.
1072
+ * The tooltip is disabled by default when navigating to make the navigation easier.
1073
+ */
1074
+ showBarTipWhenNavigatingTimeAxis ? : Boolean
1075
+ /**
1076
+ * Configure as `true` to have the grid show a red "changed" tag in cells whose
1077
+ * field value has changed and not yet been committed.
1078
+ * ...
1079
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-showDirty)
1080
+ */
1081
+ showDirty ? : Boolean|{
1082
+ duringEdit?: Boolean
1083
+ newRecord?: Boolean
1084
+ }
1085
+ /**
1086
+ * Specifies whether effort values should display units or not.
1087
+ */
1088
+ showEffortUnit ? : Boolean
1089
+ /**
1090
+ * Set to `true` to snap to the current time resolution increment while interacting with scheduled events.
1091
+ * ...
1092
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-snap)
1093
+ */
1094
+ snap ? : Boolean
1095
+ /**
1096
+ * Affects drag drop and resizing of events when [snap](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/mixin/TimelineDateMapper#config-snap)
1097
+ * is enabled.
1098
+ * ...
1099
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-snapRelativeToEventStartDate)
1100
+ */
1101
+ snapRelativeToEventStartDate ? : Boolean
1102
+ /**
1103
+ * Programmatic control over how many columns to span when used in a grid layout.
1104
+ */
1105
+ span ? : number
1106
+ /**
1107
+ * The start date of the timeline (if not configure with [infiniteScroll](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/TimelineBase#config-infiniteScroll)).
1108
+ * ...
1109
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-startDate)
1110
+ */
1111
+ startDate ? : Date|string
1112
+ /**
1113
+ * The name of the start date parameter that will be passed to in every `eventStore` load request.
1114
+ */
1115
+ startParamName ? : string
1116
+ /**
1117
+ * This value can be one of the following:
1118
+ * ...
1119
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-stateful)
1120
+ */
1121
+ stateful ? : Boolean|object|string[]
1122
+ /**
1123
+ * The events that, when fired by this component, should trigger it to save its state by calling
1124
+ * [saveState](https://bryntum.com/products/schedulerpro/docs/api/Core/mixin/State#function-saveState).
1125
+ * ...
1126
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-statefulEvents)
1127
+ */
1128
+ statefulEvents ? : object|string[]
1129
+ /**
1130
+ * The key to use when saving this object's state in the [stateProvider](https://bryntum.com/products/schedulerpro/docs/api/Core/mixin/State#config-stateProvider). If this config is
1131
+ * not assigned, and [stateful](https://bryntum.com/products/schedulerpro/docs/api/Core/mixin/State#config-stateful) is not set to `false`, the [id](#Core/widget/Widget#config-id)
1132
+ * (if explicitly specified) will be used as the `stateId`.
1133
+ * ...
1134
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-stateId)
1135
+ */
1136
+ stateId ? : string
1137
+ /**
1138
+ * The `StateProvider` to use to save and restore this object's [state](https://bryntum.com/products/schedulerpro/docs/api/Core/mixin/State#property-state). By default, `state`
1139
+ * will be saved using the [default state provider](https://bryntum.com/products/schedulerpro/docs/api/Core/state/StateProvider#property-instance-static).
1140
+ * ...
1141
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-stateProvider)
1142
+ */
1143
+ stateProvider ? : StateProvider
1144
+ /**
1145
+ * The properties of this settings object controls how grid is restored from state data.
1146
+ * ...
1147
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-stateSettings)
1148
+ */
1149
+ stateSettings ? : {
1150
+ restoreUnconfiguredColumns?: Boolean
1151
+ }
1152
+ /**
1153
+ * When set, the text in the major time axis header sticks in the scrolling viewport as long as possible.
1154
+ */
1155
+ stickyHeaders ? : Boolean
1156
+ /**
1157
+ * Store that holds records to display in the grid, or a store config object. If the configuration contains
1158
+ * a `readUrl`, an `AjaxStore` will be created.
1159
+ * ...
1160
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-store)
1161
+ */
1162
+ store ? : Store|StoreConfig|AjaxStore|AjaxStoreConfig
1163
+ /**
1164
+ * An object containing widgets keyed by name. By default (when no `type` is given), strips are
1165
+ * [toolbars](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Toolbar). If you want to pass an array, you can use
1166
+ * the toolbar's [items](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#config-items).
1167
+ * ...
1168
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-strips)
1169
+ */
1170
+ strips ? : Record<string, SchedulerProContainerItemConfig>
1171
+ /**
1172
+ * An object containing sub grid configuration objects keyed by a `region` property.
1173
+ * By default, grid has a 'locked' region (if configured with locked columns) and a 'normal' region.
1174
+ * The 'normal' region defaults to use `flex: 1`.
1175
+ * ...
1176
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-subGridConfigs)
1177
+ */
1178
+ subGridConfigs ? : Record<string, SubGridConfig>
1179
+ /**
1180
+ * Set to `true` to prevent auto calculating of a minimal [tickSize](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/mixin/TimelineEventRendering#property-tickSize)
1181
+ * to always fit the content to the screen size. Setting this property on `true` will disable [forceFit](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/TimelineBase#config-forceFit) behaviour.
1182
+ */
1183
+ suppressFit ? : Boolean
1184
+ /**
1185
+ * A [Mask](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Mask) config object, or a message to be shown when Crud Manager
1186
+ * is persisting changes on the server. Set to `null` to disable default sync mask.
1187
+ * ...
1188
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-syncMask)
1189
+ */
1190
+ syncMask ? : string|MaskConfig|null
1191
+ /**
1192
+ * A configuration for the [tab](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Tab) created for this widget when it is placed in a
1193
+ * [TabPanel](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/TabPanel). For example, this config can be used to control the icon of the `tab` for
1194
+ * this widget:
1195
+ * ...
1196
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-tab)
1197
+ */
1198
+ tab ? : Boolean|TabConfig
1199
+ /**
1200
+ * When this container is used as a tab in a TabPanel, these items are added to the
1201
+ * [TabBar](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/TabBar) when this container is the active tab.
1202
+ * ...
1203
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-tabBarItems)
1204
+ */
1205
+ tabBarItems ? : ToolbarItems[]|Widget[]
1206
+ /**
1207
+ * A Config object representing the configuration of a [Toolbar](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Toolbar),
1208
+ * or array of config objects representing the child items of a Toolbar.
1209
+ * This creates a toolbar docked to the top of the panel immediately below the header.
1210
+ * ...
1211
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-tbar)
1212
+ */
1213
+ tbar ? : (SchedulerProContainerItemConfig|string)[]|ToolbarConfig|PagingToolbarConfig|null
1214
+ /**
1215
+ * The width/height (depending on vertical / horizontal mode) of all the time columns.
1216
+ * ...
1217
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-tickSize)
1218
+ */
1219
+ tickSize ? : number
1220
+ /**
1221
+ * A [TimeAxis](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/data/TimeAxis) config object or instance, used to create a backing data store of
1222
+ * 'ticks' providing the input date data for the time axis of timeline panel. Created automatically if none
1223
+ * supplied.
1224
+ */
1225
+ timeAxis ? : TimeAxisConfig|TimeAxis
1226
+ /**
1227
+ * Inline time ranges, will be loaded into an internally created store if [TimeRanges](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/TimeRanges)
1228
+ * is enabled.
1229
+ */
1230
+ timeRanges ? : TimeSpan[]|TimeSpanConfig[]
1231
+ /**
1232
+ * The time ranges store instance for [TimeRanges](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/TimeRanges) feature.
1233
+ */
1234
+ timeRangeStore ? : Store|StoreConfig
1235
+ /**
1236
+ * Gets/sets the current time resolution object, which contains a unit identifier and an increment count
1237
+ * `{ unit, increment }`. This value means minimal task duration you can create using UI.
1238
+ * ...
1239
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-timeResolution)
1240
+ */
1241
+ timeResolution ? : {
1242
+ increment?: number
1243
+ unit?: DurationUnit
1244
+ }|number
1245
+ /**
1246
+ * A title to display in the header or owning TabPanel. Causes creation and docking of a header
1247
+ * to the top if no header is configured.
1248
+ * ...
1249
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-title)
1250
+ */
1251
+ title ? : string
1252
+ /**
1253
+ * The [tools](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Tool) to add either before or after the `title` in the Panel header. Each
1254
+ * property name is the reference by which an instantiated tool may be retrieved from the live
1255
+ * `[tools](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/mixin/Toolable#property-tools)` property.
1256
+ * ...
1257
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-tools)
1258
+ */
1259
+ tools ? : Record<string, ToolConfig>|null
1260
+ /**
1261
+ * Configure UI transitions for various actions in the grid.
1262
+ */
1263
+ transition ? : {
1264
+ insertRecord?: Boolean
1265
+ removeRecord?: Boolean
1266
+ toggleColumn?: Boolean
1267
+ expandCollapseColumn?: Boolean
1268
+ toggleRegion?: Boolean
1269
+ toggleTreeNode?: Boolean
1270
+ toggleGroup?: Boolean
1271
+ filterRemoval?: Boolean
1272
+ }
1273
+ /**
1274
+ * Animation transition duration in milliseconds.
1275
+ */
1276
+ transitionDuration ? : number
1277
+ type ? : 'resourceutilization'
1278
+ /**
1279
+ * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
1280
+ * as a space separated string, an array of strings, or as an object in which property names with truthy
1281
+ * values are used as the class names.
1282
+ * ...
1283
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-ui)
1284
+ */
1285
+ ui ? : 'plain'|'toolbar'|string|object
1286
+ /**
1287
+ * A string key used to lookup a predefined [ViewPreset](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/preset/ViewPreset) (e.g. 'weekAndDay', 'hourAndDay'),
1288
+ * managed by [PresetManager](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/preset/PresetManager). See [PresetManager](#Scheduler/preset/PresetManager) for more information.
1289
+ * Or a config object for a viewPreset.
1290
+ * ...
1291
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-viewPreset)
1292
+ */
1293
+ viewPreset ? : string|ViewPresetConfig
1294
+ /**
1295
+ * A date to bring into view initially on the scrollable timeline.
1296
+ * ...
1297
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-visibleDate)
1298
+ */
1299
+ visibleDate ? : Date|VisibleDate
1300
+ /**
1301
+ * Integer number indicating the size of timespan during zooming. When zooming, the timespan is adjusted to make
1302
+ * the scrolling area `visibleZoomFactor` times wider than the timeline area itself. Used in
1303
+ * [zoomToSpan](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/mixin/TimelineZoomable#function-zoomToSpan) and [zoomToLevel](#Scheduler/view/mixin/TimelineZoomable#function-zoomToLevel) functions.
1304
+ */
1305
+ visibleZoomFactor ? : number
1306
+ /**
1307
+ * A valid JS day index between 0-6 (0: Sunday, 1: Monday etc.) to be considered the start day of the week.
1308
+ * When omitted, the week start day is retrieved from the active locale class.
1309
+ */
1310
+ weekStartDay ? : number
1311
+ /**
1312
+ * A widgets weight determines its position among siblings when added to a [Container](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container).
1313
+ * Higher weights go further down.
1314
+ */
1315
+ weight ? : number
1316
+ /**
1317
+ * Widget's width, used to set element `style.width`. Either specify a valid width string or a number, which
1318
+ * will get 'px' appended. We recommend using CSS as the primary way to control width, but in some cases
1319
+ * this config is convenient.
1320
+ */
1321
+ width ? : string|number
1322
+ /**
1323
+ * An object with format `{ fromDay, toDay, fromHour, toHour }` that describes the working days and hours.
1324
+ * This object will be used to populate TimeAxis [include](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/data/TimeAxis#config-include) property.
1325
+ * ...
1326
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-workingTime)
1327
+ */
1328
+ workingTime ? : {
1329
+ fromDay?: number
1330
+ toDay?: number
1331
+ fromHour?: number
1332
+ toHour?: number
1333
+ }
1334
+ /**
1335
+ * Whether the originally rendered timespan should be preserved while zooming. By default, it is set to `false`,
1336
+ * meaning the timeline panel will adjust the currently rendered timespan to limit the amount of HTML content to
1337
+ * render. When setting this option to `true`, be careful not to allow to zoom a big timespan in seconds
1338
+ * resolution for example. That will cause <strong>a lot</strong> of HTML content to be rendered and affect performance. You
1339
+ * can use [minZoomLevel](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/mixin/TimelineZoomable#config-minZoomLevel) and [maxZoomLevel](#Scheduler/view/mixin/TimelineZoomable#config-maxZoomLevel) config options for that.
1340
+ */
1341
+ zoomKeepsOriginalTimespan ? : Boolean
1342
+ /**
1343
+ * If true, you can zoom in and out on the time axis using CTRL-key + mouse wheel.
1344
+ */
1345
+ zoomOnMouseWheel ? : Boolean
1346
+ /**
1347
+ * True to zoom to time span when double-clicking a time axis cell.
1348
+ */
1349
+ zoomOnTimeAxisDoubleClick ? : Boolean
1350
+
1351
+ // Features
1352
+ /**
1353
+ * AI-powered filter feature for Grid. Allows users to type natural language queries to filter grid data.
1354
+ * ...
1355
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/ai/AIFilter)
1356
+ */
1357
+ aiFilterFeature ? : object|Boolean|string|AIFilter|AIFilterConfig
1358
+ /**
1359
+ * Adding this feature to the resource utilization view enables assignment effort data editing.
1360
+ * ...
1361
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/feature/AllocationCellEdit)
1362
+ */
1363
+ allocationCellEditFeature ? : object|Boolean|string|AllocationCellEdit|AllocationCellEditConfig
1364
+ /**
1365
+ * This is a feature of [ResourceUtilization](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization) view that allows to copy-paste
1366
+ * assignment time-phased effort values.
1367
+ * ...
1368
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/feature/AllocationCopyPaste)
1369
+ */
1370
+ allocationCopyPasteFeature ? : object|Boolean|string|AllocationCopyPaste|AllocationCopyPasteConfig
1371
+ /**
1372
+ * Allows using `[Ctrl/CMD + C]`, `[Ctrl/CMD + X]` and `[Ctrl/CMD + V]` to cut, copy and paste cell or cell ranges. Also
1373
+ * makes cut, copy and paste actions available via the cell context menu.
1374
+ * ...
1375
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellCopyPaste)
1376
+ */
1377
+ cellCopyPasteFeature ? : object|Boolean|string|CellCopyPaste|CellCopyPasteConfig
1378
+ /**
1379
+ * Extends the Grid's [CellEdit](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellEdit) feature to encapsulate SchedulerPro functionality.
1380
+ * ...
1381
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/feature/CellEdit)
1382
+ */
1383
+ cellEditFeature ? : object|Boolean|string|CellEdit|CellEditConfig
1384
+ /**
1385
+ * Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
1386
+ * `SPACE` key when the cell is focused.
1387
+ * ...
1388
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellMenu)
1389
+ */
1390
+ cellMenuFeature ? : object|Boolean|string|CellMenu|CellMenuConfig
1391
+ /**
1392
+ * Displays a tooltip when hovering cells.
1393
+ * ...
1394
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellTooltip)
1395
+ */
1396
+ cellTooltipFeature ? : object|Boolean|string|CellTooltip|CellTooltipConfig
1397
+ /**
1398
+ * Adds interactive charting to a Grid. [Charts](https://bryntum.com/products/schedulerpro/docs/api/Chart/widget/Chart) can be created from a selection of Grid data
1399
+ * and updated in realtime as data changes. Supports many common chart types with extensive styling and customization
1400
+ * options.
1401
+ * ...
1402
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/Charts)
1403
+ */
1404
+ chartsFeature ? : object|Boolean|string|Charts|ChartsConfig
1405
+ /**
1406
+ * Enables the [autoWidth](https://bryntum.com/products/schedulerpro/docs/api/Grid/column/Column#config-autoWidth) config for a grid's columns.
1407
+ * ...
1408
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/ColumnAutoWidth)
1409
+ */
1410
+ columnAutoWidthFeature ? : object|Boolean|string|ColumnAutoWidth|ColumnAutoWidthConfig
1411
+ /**
1412
+ * Displays a toolbar while dragging column headers. Drop on a button in the toolbar to activate a certain function,
1413
+ * for example to group by that column. This feature simplifies certain operations on touch devices.
1414
+ * ...
1415
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/ColumnDragToolbar)
1416
+ */
1417
+ columnDragToolbarFeature ? : object|Boolean|string|ColumnDragToolbar|ColumnDragToolbarConfig
1418
+ /**
1419
+ * Displays column lines for ticks, with a different styling for major ticks (by default they are darker). If this
1420
+ * feature is disabled, no lines are shown. If it's enabled, line are shown for the tick level which is set in current
1421
+ * ViewPreset. Please see [columnLinesFor](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/preset/ViewPreset#field-columnLinesFor) config for details.
1422
+ * ...
1423
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/ColumnLines)
1424
+ */
1425
+ columnLinesFeature ? : object|Boolean|string|ColumnLines|ColumnLinesConfig
1426
+ /**
1427
+ * Displays a column picker (to show/hide columns) in the header context menu. Columns can be displayed in sub menus
1428
+ * by region or tag. Grouped headers are displayed as menu hierarchies.
1429
+ * ...
1430
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/ColumnPicker)
1431
+ */
1432
+ columnPickerFeature ? : object|Boolean|string|ColumnPicker|ColumnPickerConfig
1433
+ /**
1434
+ * Allows user to rename columns by either right-clicking column header or using keyboard shortcuts when column header
1435
+ * is focused.
1436
+ * ...
1437
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/ColumnRename)
1438
+ */
1439
+ columnRenameFeature ? : object|Boolean|string|ColumnRename|ColumnRenameConfig
1440
+ /**
1441
+ * Allows user to reorder columns by dragging headers. To get notified about column reorder listen to `change` event
1442
+ * on [columns](https://bryntum.com/products/schedulerpro/docs/api/Grid/data/ColumnStore) store.
1443
+ * ...
1444
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/ColumnReorder)
1445
+ */
1446
+ columnReorderFeature ? : object|Boolean|string|ColumnReorder|ColumnReorderConfig
1447
+ /**
1448
+ * Enables user to resize columns by dragging a handle on the right hand side of the header. To get notified about column
1449
+ * resize listen to `change` event on [columns](https://bryntum.com/products/schedulerpro/docs/api/Grid/data/ColumnStore) store.
1450
+ * ...
1451
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/ColumnResize)
1452
+ */
1453
+ columnResizeFeature ? : object|Boolean|string|ColumnResize|ColumnResizeConfig
1454
+ /**
1455
+ * A feature that allows exporting Grid data to Excel or CSV without involving the server. It uses
1456
+ * [TableExporter](https://bryntum.com/products/schedulerpro/docs/api/Grid/util/TableExporter) class as data provider, 3rd party provider to generate XLS files, and
1457
+ * [Microsoft XML specification](https://msdn.microsoft.com/en-us/library/office/documentformat.openxml.spreadsheet.aspx).
1458
+ * ...
1459
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/experimental/ExcelExporter)
1460
+ */
1461
+ excelExporterFeature ? : object|Boolean|string|GridExcelExporter|GridExcelExporterConfig
1462
+ /**
1463
+ * An experimental feature that lets users drop files on a Widget. The widget fires an event when a file is dropped onto it.
1464
+ * In the event, you get access to the raw files as strings, that were parsed by calling `readAsBinaryString`.
1465
+ * ...
1466
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/experimental/FileDrop)
1467
+ */
1468
+ fileDropFeature ? : object|Boolean|string|FileDrop|FileDropConfig
1469
+ /**
1470
+ * This feature adds a fill handle to a Grid range selection, which when dragged, fills the cells being dragged over
1471
+ * with values based on the values in the original selected range. This is similar to functionality normally seen in
1472
+ * various spreadsheet applications.
1473
+ * ...
1474
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/FillHandle)
1475
+ */
1476
+ fillHandleFeature ? : object|Boolean|string|FillHandle|FillHandleConfig
1477
+ /**
1478
+ * Feature that allows filtering of the grid by settings filters on columns. The actual filtering is done by the store.
1479
+ * For info on programmatically handling filters, see [StoreFilter](https://bryntum.com/products/schedulerpro/docs/api/Core/data/mixin/StoreFilter).
1480
+ * ...
1481
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/Filter)
1482
+ */
1483
+ filterFeature ? : object|Boolean|string|Filter|FilterConfig
1484
+ /**
1485
+ * Feature that allows filtering of the grid by entering filters on column headers.
1486
+ * The actual filtering is done by the store.
1487
+ * For info on programmatically handling filters, see [StoreFilter](https://bryntum.com/products/schedulerpro/docs/api/Core/data/mixin/StoreFilter).
1488
+ * ...
1489
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/FilterBar)
1490
+ */
1491
+ filterBarFeature ? : object|Boolean|string|FilterBar|FilterBarConfig
1492
+ /**
1493
+ * Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
1494
+ * <kbd>shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
1495
+ * one anywhere on grid). Use <kbd>shift</kbd> + <kbd>alt</kbd> + click, or the context menu, to remove a column
1496
+ * grouper.
1497
+ * ...
1498
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/Group)
1499
+ */
1500
+ groupFeature ? : object|Boolean|string|Group|GroupConfig
1501
+ /**
1502
+ * A special version of the Grid GroupSummary feature that enables summaries within scheduler. To use a single summary
1503
+ * it is easiest to configure [renderer](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/GroupSummary#config-renderer), for multiple summaries see [summaries](#Scheduler/feature/GroupSummary#config-summaries).
1504
+ * ...
1505
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/GroupSummary)
1506
+ */
1507
+ groupSummaryFeature ? : object|Boolean|string|GroupSummary|GroupSummaryConfig
1508
+ /**
1509
+ * Right click column header or focus it and press SPACE key to show the context menu for headers.
1510
+ * ...
1511
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/HeaderMenu)
1512
+ */
1513
+ headerMenuFeature ? : object|Boolean|string|HeaderMenu|HeaderMenuConfig
1514
+ /**
1515
+ * Enables users to click and drag to zoom to a date range in Scheduler's header time axis. Only supported in horizontal
1516
+ * mode.
1517
+ * ...
1518
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/HeaderZoom)
1519
+ */
1520
+ headerZoomFeature ? : object|Boolean|string|HeaderZoom|HeaderZoomConfig
1521
+ /**
1522
+ * This feature allows records which satisfy a certain condition to be locked at the top of the grid.
1523
+ * ...
1524
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/LockRows)
1525
+ */
1526
+ lockRowsFeature ? : object|Boolean|string|GridLockRows|GridLockRowsConfig
1527
+ /**
1528
+ * This feature merges cells that have the same value in sorted (or [optionally](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/MergeCells#config-sortedOnly) any) columns
1529
+ * configured to [mergeCells](https://bryntum.com/products/schedulerpro/docs/api/Grid/column/Column#config-mergeCells).
1530
+ * ...
1531
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/MergeCells)
1532
+ */
1533
+ mergeCellsFeature ? : object|Boolean|string|MergeCells|MergeCellsConfig
1534
+ /**
1535
+ * Feature that allows styling of weekends (and other non-working time) by adding timeRanges for those days.
1536
+ * ...
1537
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/NonWorkingTime)
1538
+ */
1539
+ nonWorkingTimeFeature ? : object|Boolean|string|NonWorkingTime|NonWorkingTimeConfig
1540
+ /**
1541
+ * Makes the scheduler's timeline pannable by dragging with the mouse. Try it out in the demo below.
1542
+ * ...
1543
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/Pan)
1544
+ */
1545
+ panFeature ? : object|Boolean|string|Pan|PanConfig
1546
+ /**
1547
+ * Generates PDF/PNG files from the Grid component.
1548
+ * ...
1549
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/export/PdfExport)
1550
+ */
1551
+ pdfExportFeature ? : object|Boolean|string|GridPdfExport|GridPdfExportConfig
1552
+ /**
1553
+ * Allows pinning columns to the start or end region of the grid without any additional subGrid configurations.
1554
+ * When pinning to a region that does not yet exist, the feature creates the required subGrid on the fly.
1555
+ * ...
1556
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/PinColumns)
1557
+ */
1558
+ pinColumnsFeature ? : object|Boolean|string|PinColumns|PinColumnsConfig
1559
+ /**
1560
+ * Allows printing Grid contents using browser print dialog.
1561
+ * ...
1562
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/export/Print)
1563
+ */
1564
+ printFeature ? : object|Boolean|string|GridPrint|GridPrintConfig
1565
+ /**
1566
+ * Feature that allows the user to search in a column by focusing a cell and typing. Navigate between hits using the
1567
+ * keyboard, [f3] or [ctrl]/[cmd] + [g] moves to next, also pressing [shift] moves to previous.
1568
+ * ...
1569
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/QuickFind)
1570
+ */
1571
+ quickFindFeature ? : object|Boolean|string|QuickFind|QuickFindConfig
1572
+ /**
1573
+ * Makes the splitter between grid [sections](https://bryntum.com/products/schedulerpro/docs/api/Grid/view/SubGrid) draggable, to let users resize, and
1574
+ * collapse/expand the sections.
1575
+ * ...
1576
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/RegionResize)
1577
+ */
1578
+ regionResizeFeature ? : object|Boolean|string|RegionResize|RegionResizeConfig
1579
+ /**
1580
+ * Applicable only for Scheduler in `vertical` mode. Right click resource header cells to display a context menu.
1581
+ * ...
1582
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/ResourceMenu)
1583
+ */
1584
+ resourceMenuFeature ? : object|Boolean|string|ResourceMenu|ResourceMenuConfig
1585
+ /**
1586
+ * Feature that highlights the non-working intervals for resources based on their [calendar](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ResourceModel#field-calendar).
1587
+ * If a resource has no calendar defined, the project's calendar will be used. The non-working time interval can
1588
+ * also be recurring. You can find a live example showing how to achieve this in the [Resource Non-Working Time Demo](../examples/resource-non-working-time/).
1589
+ * ...
1590
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/feature/ResourceNonWorkingTime)
1591
+ */
1592
+ resourceNonWorkingTimeFeature ? : object|Boolean|string|ResourceNonWorkingTime|ResourceNonWorkingTimeConfig
1593
+ /**
1594
+ * Feature that draws resource time ranges, shaded areas displayed behind events. These zones are similar to events in
1595
+ * that they have a start and end date but different in that they do not take part in the event layout, and they always
1596
+ * occupy full row height.
1597
+ * ...
1598
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/ResourceTimeRanges)
1599
+ */
1600
+ resourceTimeRangesFeature ? : object|Boolean|string|ResourceTimeRanges|ResourceTimeRangesConfig
1601
+ /**
1602
+ * Allow using [Ctrl/CMD + C/X] and [Ctrl/CMD + V] to copy/cut-and-paste rows. Also makes cut, copy and paste actions
1603
+ * available via the cell context menu.
1604
+ * ...
1605
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/RowCopyPaste)
1606
+ */
1607
+ rowCopyPasteFeature ? : object|Boolean|string|RowCopyPaste|RowCopyPasteConfig
1608
+ /**
1609
+ * This feature allows editing of entire rows in a grid in a docked panel which by default slides out from the right.
1610
+ * ...
1611
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/RowEdit)
1612
+ */
1613
+ rowEditFeature ? : object|Boolean|string|RowEdit|RowEditConfig
1614
+ /**
1615
+ * Enables expanding of Grid rows by either row click or double click, or by adding a separate Grid column which renders
1616
+ * a button that expands or collapses the row.
1617
+ * ...
1618
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/RowExpander)
1619
+ */
1620
+ rowExpanderFeature ? : object|Boolean|string|RowExpander|RowExpanderConfig
1621
+ /**
1622
+ * This feature implements support for project transactions and used by default in Gantt. For general RowReorder feature
1623
+ * documentation see [RowReorder](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/RowReorder).
1624
+ * ...
1625
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/RowReorder)
1626
+ */
1627
+ rowReorderFeature ? : object|Boolean|string|RowReorder|RowReorderConfig
1628
+ /**
1629
+ * Enables user to change row height by dragging the bottom row border. After a resize operation, the [rowHeight](https://bryntum.com/products/schedulerpro/docs/api/Grid/data/GridRowModel#field-rowHeight)
1630
+ * field of the record is updated (when [applyToAllRows](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/RowResize#config-applyToAllRows) is `false`).
1631
+ * ...
1632
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/RowResize)
1633
+ */
1634
+ rowResizeFeature ? : object|Boolean|string|GridRowResize|GridRowResizeConfig
1635
+ /**
1636
+ * Feature that displays a tooltip containing the time at the mouse position when hovering empty parts of the schedule.
1637
+ * ...
1638
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/ScheduleTooltip)
1639
+ */
1640
+ scheduleTooltipFeature ? : object|Boolean|string|ScheduleTooltip|ScheduleTooltipConfig
1641
+ /**
1642
+ * <div class="external-example vertical" data-file="Grid/feature/Search.js"></div>
1643
+ * ...
1644
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/Search)
1645
+ */
1646
+ searchFeature ? : object|Boolean|string|Search|SearchConfig
1647
+ /**
1648
+ * Allows sorting of grid by clicking (or tapping) headers, also displays which columns grid is sorted by (numbered if
1649
+ * using multisort). Use modifier keys for multisorting: [Ctrl/CMD + click] to add sorter, [Ctrl/CMD + Alt + click] to remove sorter.
1650
+ * The actual sorting is done by the store, see [Store.sort()](https://bryntum.com/products/schedulerpro/docs/api/Core/data/mixin/StoreSort#function-sort).
1651
+ * ...
1652
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/Sort)
1653
+ */
1654
+ sortFeature ? : object|Boolean|string|Sort|SortConfig
1655
+ /**
1656
+ * This feature allows splitting the Scheduler into multiple views, either by using the cell context menu, or
1657
+ * programmatically by calling [split()](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/Split#function-split).
1658
+ * ...
1659
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/Split)
1660
+ */
1661
+ splitFeature ? : object|Boolean|string|Split|SplitConfig
1662
+ /**
1663
+ * A feature which pins configurable content from a grid row to the top of the grid
1664
+ * while the row scrolls off the top but is still visible.
1665
+ * ...
1666
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/StickyCells)
1667
+ */
1668
+ stickyCellsFeature ? : object|Boolean|string|StickyCells|StickyCellsConfig
1669
+ /**
1670
+ * Stripes rows by adding alternating CSS classes to all row elements (`b-even` and `b-odd`).
1671
+ * ...
1672
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/Stripe)
1673
+ */
1674
+ stripeFeature ? : object|Boolean|string|Stripe|StripeConfig
1675
+ /**
1676
+ * A special version of the Grid Summary feature. This feature displays a summary row in the grid footer.
1677
+ * ...
1678
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/Summary)
1679
+ */
1680
+ summaryFeature ? : object|Boolean|string|Summary|SummaryConfig
1681
+ /**
1682
+ * Adds scheduler specific menu items to the timeline header context menu.
1683
+ * ...
1684
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/TimeAxisHeaderMenu)
1685
+ */
1686
+ timeAxisHeaderMenuFeature ? : object|Boolean|string|TimeAxisHeaderMenu|TimeAxisHeaderMenuConfig
1687
+ /**
1688
+ * Feature that renders global ranges of time in the timeline. Use this feature to visualize a `range` like a 1 hr lunch
1689
+ * or some important point in time (a `line`, i.e. a range with 0 duration). This feature can also show a current time
1690
+ * indicator if you set [showCurrentTimeLine](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/TimeRanges#config-showCurrentTimeLine) to true. To style the rendered elements, use the
1691
+ * [cls](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/model/TimeSpan#field-cls) field of the `TimeSpan` class.
1692
+ * ...
1693
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/TimeRanges)
1694
+ */
1695
+ timeRangesFeature ? : object|Boolean|string|TimeRanges|TimeRangesConfig
1696
+ /**
1697
+ * This feature exposes methods on the owning Scheduler or Gantt widget which you can use to highlight one or multiple time spans
1698
+ * in the schedule. Please see [highlightTimeSpan](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/feature/TimeSpanHighlight#function-highlightTimeSpan) and [highlightTimeSpans](#SchedulerPro/feature/TimeSpanHighlight#function-highlightTimeSpans) to learn
1699
+ * more or try the demo below:
1700
+ * ...
1701
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/feature/TimeSpanHighlight)
1702
+ */
1703
+ timeSpanHighlightFeature ? : object|Boolean|string|TimeSpanHighlight|TimeSpanHighlightConfig
1704
+ /**
1705
+ * Feature that makes the grid work more like a tree. Included by default in [TreeGrid](https://bryntum.com/products/schedulerpro/docs/api/Grid/view/TreeGrid). Requires
1706
+ * exactly one [TreeColumn](https://bryntum.com/products/schedulerpro/docs/api/Grid/column/TreeColumn) among grids columns. That column will have its renderer replaced with a
1707
+ * tree renderer that adds padding and icon to give the appearance of a tree. The original renderer is preserved and
1708
+ * also called.
1709
+ * ...
1710
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/Tree)
1711
+ */
1712
+ treeFeature ? : object|Boolean|string|Tree|TreeConfig
1713
+ /**
1714
+ * A feature that allows transforming a flat dataset (or the leaves of a hierarchical) into a tree by specifying a
1715
+ * record field per parent level. Parents are generated based on each leaf's value for those fields.
1716
+ * ...
1717
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/TreeGroup)
1718
+ */
1719
+ treeGroupFeature ? : object|Boolean|string|TreeGroup|TreeGroupConfig
1720
+
1721
+ }>();
1722
+
1723
+ const emit = defineEmits<{
1724
+ /**
1725
+ * Fires before an assignment is removed. Can be triggered by user pressing [DELETE] or [BACKSPACE] or
1726
+ * by the event editor. Can for example be used to display a custom dialog to confirm deletion, in which
1727
+ * case records should be "manually" removed after confirmation:
1728
+ * ...
1729
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-beforeAssignmentDelete)
1730
+ * @param {string} e Event name
1731
+ * @param {object} params Event parameters
1732
+ * @param {string} params.e Event name
1733
+ * @param {object} params.params Event parameters
1734
+ * @param {object} params.params.event Event object
1735
+ * @param {Scheduler.view.Scheduler} params.params.event.source The Scheduler instance
1736
+ * @param {Scheduler.model.SchedulerAssignmentModel[]} params.params.event.assignmentRecords The assignment records about to be deleted
1737
+ * @param {object} params.params.event.context Additional removal context:
1738
+ * @param {Function} params.params.event.context.finalize Function to call to finalize the removal. Used to asynchronously decide to remove the records or not. Provide `false` to the function to prevent the removal.
1739
+ * @param {boolean} params.params.event.context.finalize.removeRecords Provide `false` to the function to prevent the removal.
1740
+ */
1741
+ (e: 'beforeAssignmentDelete', params: ((event: { source: Scheduler, assignmentRecords: SchedulerAssignmentModel[], context: { finalize: { removeRecords?: boolean } } }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1742
+ /**
1743
+ * Fires on the owning Grid before the cell editing is canceled, return `false` to prevent cancellation.
1744
+ * @param {string} e Event name
1745
+ * @param {object} params Event parameters
1746
+ * @param {string} params.e Event name
1747
+ * @param {object} params.params Event parameters
1748
+ * @param {object} params.params.event Event object
1749
+ * @param {Grid.view.Grid} params.params.event.source Owner grid
1750
+ * @param {Grid.util.GridLocation} params.params.event.editorContext Editing context
1751
+ */
1752
+ (e: 'beforeCancelCellEdit', params: ((event: { source: Grid, editorContext: GridLocation }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1753
+ /**
1754
+ * Fires on the owning Grid before the row editing is canceled, return false to signal that the value is invalid and editing should not be finalized.
1755
+ * ...
1756
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-beforeCancelRowEdit)
1757
+ * @param {string} e Event name
1758
+ * @param {object} params Event parameters
1759
+ * @param {string} params.e Event name
1760
+ * @param {object} params.params Event parameters
1761
+ * @param {object} params.params.event Event object
1762
+ * @param {Grid.view.Grid} params.params.event.grid Target grid
1763
+ * @param {RowEditorContext} params.params.event.editorContext Editing context
1764
+ */
1765
+ (e: 'beforeCancelRowEdit', params: ((event: { grid: Grid, editorContext: RowEditorContext }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1766
+ /**
1767
+ * Fires on the owning Grid before editing starts, return `false` to prevent editing
1768
+ * @param {string} e Event name
1769
+ * @param {object} params Event parameters
1770
+ * @param {string} params.e Event name
1771
+ * @param {object} params.params Event parameters
1772
+ * @param {object} params.params.event Event object
1773
+ * @param {Grid.view.Grid} params.params.event.source Owner grid
1774
+ * @param {CellEditorContext} params.params.event.editorContext Editing context
1775
+ */
1776
+ (e: 'beforeCellEditStart', params: ((event: { source: Grid, editorContext: CellEditorContext }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1777
+ /**
1778
+ * Fires on the owning Grid before deleting a range of selected cell values by pressing `Backspace` or `Del`
1779
+ * buttons while [autoEdit](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellEdit#config-autoEdit) is set to `true`. Return `false` to prevent editing.
1780
+ * @param {string} e Event name
1781
+ * @param {object} params Event parameters
1782
+ * @param {string} params.e Event name
1783
+ * @param {object} params.params Event parameters
1784
+ * @param {object} params.params.event Event object
1785
+ * @param {Grid.view.Grid} params.params.event.source Owner grid
1786
+ * @param {(Grid.util.GridLocation|Core.data.Model)[]} params.params.event.gridSelection An array of cell selectors or records that will have their values deleted (the records themselves will not get deleted, only visible column values).
1787
+ */
1788
+ (e: 'beforeCellRangeDelete', params: ((event: { source: Grid, gridSelection: (GridLocation|Model)[] }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1789
+ /**
1790
+ * Fires for each selected record on the owning Grid before editing a range of selected cell values
1791
+ * @param {string} e Event name
1792
+ * @param {object} params Event parameters
1793
+ * @param {string} params.e Event name
1794
+ * @param {object} params.params Event parameters
1795
+ * @param {object} params.params.event Event object
1796
+ * @param {Core.data.Model} params.params.event.record Current selected record from the range
1797
+ * @param {string} params.params.event.field The field being changed
1798
+ * @param {any} params.params.event.value The value being set
1799
+ */
1800
+ (e: 'beforeCellRangeEdit', params: ((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1801
+ /**
1802
+ * This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
1803
+ * @param {string} e Event name
1804
+ * @param {object} params Event parameters
1805
+ * @param {string} params.e Event name
1806
+ * @param {object} params.params Event parameters
1807
+ * @param {object} params.params.event Event object
1808
+ * @param {Grid.view.Grid} params.params.event.source The grid instance.
1809
+ * @param {Grid.column.Column} params.params.event.column The dragged column.
1810
+ * @param {Event} params.params.event.event The browser event.
1811
+ */
1812
+ (e: 'beforeColumnDragStart', params: ((event: { source: Grid, column: Column, event: Event }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1813
+ /**
1814
+ * This event is fired when a column is dropped, and you can return false from a listener to abort the operation.
1815
+ * @param {string} e Event name
1816
+ * @param {object} params Event parameters
1817
+ * @param {string} params.e Event name
1818
+ * @param {object} params.params Event parameters
1819
+ * @param {object} params.params.event Event object
1820
+ * @param {Grid.view.Grid} params.params.event.source The grid instance.
1821
+ * @param {Grid.column.Column} params.params.event.column The dragged column.
1822
+ * @param {Grid.column.Column} params.params.event.insertBefore The column before which the dragged column will be inserted.
1823
+ * @param {Grid.column.Column} params.params.event.newParent The new parent column.
1824
+ * @param {Event} params.params.event.event The browser event.
1825
+ * @param {string} params.params.event.region The region where the column was dropped.
1826
+ */
1827
+ (e: 'beforeColumnDropFinalize', params: ((event: { source: Grid, column: Column, insertBefore: Column, newParent: Column, event: Event, region: string }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1828
+ /**
1829
+ * This event is fired prior to starting a column resize gesture. The resize is canceled if a listener returns
1830
+ * `false`.
1831
+ * @param {string} e Event name
1832
+ * @param {object} params Event parameters
1833
+ * @param {string} params.e Event name
1834
+ * @param {object} params.params Event parameters
1835
+ * @param {object} params.params.event Event object
1836
+ * @param {Grid.view.Grid} params.params.event.source The grid instance
1837
+ * @param {Grid.column.Column} params.params.event.column The column
1838
+ * @param {Event} params.params.event.domEvent The browser event
1839
+ */
1840
+ (e: 'beforeColumnResize', params: ((event: { source: Grid, column: Column, domEvent: Event }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1841
+ /**
1842
+ * Fires on the owning Grid before a copy action is performed, return `false` to prevent the action
1843
+ * @param {string} e Event name
1844
+ * @param {object} params Event parameters
1845
+ * @param {string} params.e Event name
1846
+ * @param {object} params.params Event parameters
1847
+ * @param {object} params.params.event Event object
1848
+ * @param {Grid.view.Grid} params.params.event.source Owner grid
1849
+ * @param {Grid.util.GridLocation[]} params.params.event.cells The cells about to be copied or cut
1850
+ * @param {string} params.params.event.data The string data about to be copied or cut
1851
+ * @param {boolean} params.params.event.isCut `true` if this is a cut action
1852
+ * @param {string} params.params.event.entityName 'cell' to distinguish this event from other beforeCopy events
1853
+ */
1854
+ (e: 'beforeCopy', params: ((event: { source: Grid, cells: GridLocation[], data: string, isCut: boolean, entityName: string }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1855
+ /**
1856
+ * Fires on the owning view before a copy action is performed, return `false` to prevent the action
1857
+ * @param {string} e Event name
1858
+ * @param {object} params Event parameters
1859
+ * @param {string} params.e Event name
1860
+ * @param {object} params.params Event parameters
1861
+ * @param {object} params.params.event Event object
1862
+ * @param {SchedulerPro.view.ResourceUtilization} params.params.event.source Owner view
1863
+ * @param {Scheduler.util.TimelineContext[]} params.params.event.cells The cells about to be copied or cut
1864
+ * @param {string} params.params.event.data The string data about to be copied or cut
1865
+ * @param {boolean} params.params.event.isCut `true` if this is a cut action
1866
+ */
1867
+ (e: 'beforeCopyTimelineCells', params: ((event: { source: ResourceUtilization, cells: TimelineContext[], data: string, isCut: boolean }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1868
+ /**
1869
+ * Fires on the owning Grid before CSV export starts. Return `false` to cancel the export.
1870
+ * @param {string} e Event name
1871
+ * @param {object} params Event parameters
1872
+ * @param {string} params.e Event name
1873
+ * @param {object} params.params Event parameters
1874
+ * @param {object} params.params.event Event object
1875
+ * @param {ExportConfig} params.params.event.config Export config
1876
+ * @param {Grid.column.Column[]} params.params.event.columns An array of columns to export
1877
+ * @param {Core.data.Model[]} params.params.event.rows An array of records to export
1878
+ * @param {string} params.params.event.lineDelimiter The CSV delimiter to separate lines
1879
+ * @param {string} params.params.event.columnDelimiter The CSV delimiter to separate values on one line
1880
+ */
1881
+ (e: 'beforeCSVExport', params: ((event: { config: ExportConfig, columns: Column[], rows: Model[], lineDelimiter: string, columnDelimiter: string }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1882
+ /**
1883
+ * Fires before an object is destroyed.
1884
+ * @param {string} e Event name
1885
+ * @param {object} params Event parameters
1886
+ * @param {string} params.e Event name
1887
+ * @param {object} params.params Event parameters
1888
+ * @param {object} params.params.event Event object
1889
+ * @param {Core.Base} params.params.event.source The Object that is being destroyed.
1890
+ */
1891
+ (e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void
1892
+ /**
1893
+ * Fires before an event is removed. Can be triggered by user pressing [DELETE] or [BACKSPACE] or by the
1894
+ * event editor. Return `false` to immediately veto the removal (or a `Promise` yielding `true` or `false`
1895
+ * for async vetoing).
1896
+ * ...
1897
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-beforeEventDelete)
1898
+ * @param {string} e Event name
1899
+ * @param {object} params Event parameters
1900
+ * @param {string} params.e Event name
1901
+ * @param {object} params.params Event parameters
1902
+ * @param {object} params.params.event Event object
1903
+ * @param {Scheduler.view.Scheduler,any} params.params.event.source The Scheduler instance
1904
+ * @param {Scheduler.model.SchedulerEventModel[]} params.params.event.eventRecords The records about to be deleted
1905
+ * @param {object} params.params.event.context Additional removal context:
1906
+ * @param {Function} params.params.event.context.finalize Function to call to finalize the removal. Used to asynchronously decide to remove the records or not. Provide `false` to the function to prevent the removal.
1907
+ * @param {boolean} params.params.event.context.finalize.removeRecords Provide `false` to the function to prevent the removal.
1908
+ */
1909
+ (e: 'beforeEventDelete', params: ((event: { source: Scheduler|any, eventRecords: SchedulerEventModel[], context: { finalize: { removeRecords?: boolean } } }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1910
+ /**
1911
+ * Fires on the owning Grid before Excel export starts. Return `false` to cancel the export.
1912
+ * @param {string} e Event name
1913
+ * @param {object} params Event parameters
1914
+ * @param {string} params.e Event name
1915
+ * @param {object} params.params Event parameters
1916
+ * @param {object} params.params.event Event object
1917
+ * @param {ExportConfig} params.params.event.config Export config
1918
+ * @param {XLSColumn[]} params.params.event.columns An array of columns to export
1919
+ * @param {any[][]} params.params.event.rows An array of records to export
1920
+ */
1921
+ (e: 'beforeExcelExport', params: ((event: { config: ExportConfig, columns: XLSColumn[], rows: any[] }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1922
+ /**
1923
+ * Fired before dragging of the FillHandle starts, return `false` to prevent the drag operation.
1924
+ * @param {string} e Event name
1925
+ * @param {object} params Event parameters
1926
+ * @param {string} params.e Event name
1927
+ * @param {object} params.params Event parameters
1928
+ * @param {object} params.params.event Event object
1929
+ * @param {Grid.util.GridLocation} params.params.event.cell Information about the column / record
1930
+ * @param {MouseEvent} params.params.event.domEvent The raw DOM event
1931
+ */
1932
+ (e: 'beforeFillHandleDragStart', params: ((event: { cell: GridLocation, domEvent: MouseEvent }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1933
+ /**
1934
+ * Fires on the owning Grid before the cell editing is finished, return false to signal that the value is invalid and editing should not be finalized.
1935
+ * @param {string} e Event name
1936
+ * @param {object} params Event parameters
1937
+ * @param {string} params.e Event name
1938
+ * @param {object} params.params Event parameters
1939
+ * @param {object} params.params.event Event object
1940
+ * @param {Grid.view.Grid} params.params.event.grid Target grid
1941
+ * @param {CellEditorContext} params.params.event.editorContext Editing context
1942
+ */
1943
+ (e: 'beforeFinishCellEdit', params: ((event: { grid: Grid, editorContext: CellEditorContext }) => void)|string): void
1944
+ /**
1945
+ * Fires on the owning Grid before the row editing is finished, return false to signal that the value is invalid and editing should not be finalized.
1946
+ * ...
1947
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-beforeFinishRowEdit)
1948
+ * @param {string} e Event name
1949
+ * @param {object} params Event parameters
1950
+ * @param {string} params.e Event name
1951
+ * @param {object} params.params Event parameters
1952
+ * @param {object} params.params.event Event object
1953
+ * @param {Grid.view.Grid} params.params.event.grid Target grid
1954
+ * @param {RowEditorContext} params.params.event.editorContext Editing context
1955
+ */
1956
+ (e: 'beforeFinishRowEdit', params: ((event: { grid: Grid, editorContext: RowEditorContext }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1957
+ /**
1958
+ * Triggered before a widget is hidden. Return `false` to prevent the action.
1959
+ * @param {string} e Event name
1960
+ * @param {object} params Event parameters
1961
+ * @param {string} params.e Event name
1962
+ * @param {object} params.params Event parameters
1963
+ * @param {object} params.params.event Event object
1964
+ * @param {Core.widget.Widget} params.params.event.source The widget being hidden.
1965
+ */
1966
+ (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1967
+ /**
1968
+ * Fires before the component stores a record's histogram data into the cache.
1969
+ * ...
1970
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-beforeHistogramDataCacheSet)
1971
+ * @param {string} e Event name
1972
+ * @param {object} params Event parameters
1973
+ * @param {string} params.e Event name
1974
+ * @param {object} params.params Event parameters
1975
+ * @param {object} params.params.event Event object
1976
+ * @param {Scheduler.view.TimelineHistogram} params.params.event.source The component instance
1977
+ * @param {Core.data.Model} params.params.event.record Record the histogram data of which is ready.
1978
+ * @param {object} params.params.event.data The record histogram data.
1979
+ */
1980
+ (e: 'beforeHistogramDataCacheSet', params: ((event: { source: TimelineHistogram, record: Model, data: object }) => void)|string): void
1981
+ /**
1982
+ * Fires on the owning Scheduler or Gantt widget before pan starts. Return `false` to prevent the operation.
1983
+ * @param {string} e Event name
1984
+ * @param {object} params Event parameters
1985
+ * @param {string} params.e Event name
1986
+ * @param {object} params.params Event parameters
1987
+ * @param {object} params.params.event Event object
1988
+ * @param {Event} params.params.event.event The native browser DOM event
1989
+ */
1990
+ (e: 'beforePan', params: ((event: { event: Event }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1991
+ /**
1992
+ * Fires on the owning Grid before a paste action is performed, return `false` to prevent the action
1993
+ * @param {string} e Event name
1994
+ * @param {object} params Event parameters
1995
+ * @param {string} params.e Event name
1996
+ * @param {object} params.params Event parameters
1997
+ * @param {object} params.params.event Event object
1998
+ * @param {Grid.view.Grid} params.params.event.source Owner grid
1999
+ * @param {string} params.params.event.clipboardData The clipboardData about to be pasted
2000
+ * @param {Grid.util.GridLocation} params.params.event.targetCell The cell from which the paste will be started
2001
+ * @param {string} params.params.event.entityName 'cell' to distinguish this event from other beforePaste events
2002
+ * @param {string} params.params.event.text The raw text from clipboard
2003
+ */
2004
+ (e: 'beforePaste', params: ((event: { source: Grid, clipboardData: string, targetCell: GridLocation, entityName: string, text: string }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
2005
+ /**
2006
+ * Fires on the owning Grid before a paste action is performed, return `false` to prevent the action
2007
+ * @param {string} e Event name
2008
+ * @param {object} params Event parameters
2009
+ * @param {string} params.e Event name
2010
+ * @param {object} params.params Event parameters
2011
+ * @param {object} params.params.event Event object
2012
+ * @param {SchedulerPro.view.ResourceUtilization} params.params.event.source Owner view
2013
+ * @param {string} params.params.event.clipboardData The clipboardData about to be pasted
2014
+ * @param {Scheduler.util.TimelineContext} params.params.event.targetCell The cell from which the paste will be started
2015
+ */
2016
+ (e: 'beforePasteTimelineCells', params: ((event: { source: ResourceUtilization, clipboardData: string, targetCell: TimelineContext }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
2017
+ /**
2018
+ * Fires on the owning Grid before export started. Return `false` to cancel the export.
2019
+ * @param {string} e Event name
2020
+ * @param {object} params Event parameters
2021
+ * @param {string} params.e Event name
2022
+ * @param {object} params.params Event parameters
2023
+ * @param {object} params.params.event Event object
2024
+ * @param {object} params.params.event.config Export config
2025
+ */
2026
+ (e: 'beforePdfExport', params: ((event: { config: object }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
2027
+ /**
2028
+ * Fired before the [viewPreset](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/mixin/TimelineViewPresets#config-viewPreset) is changed.
2029
+ * @param {string} e Event name
2030
+ * @param {object} params Event parameters
2031
+ * @param {string} params.e Event name
2032
+ * @param {object} params.params Event parameters
2033
+ * @param {object} params.params.event Event object
2034
+ * @param {Scheduler.view.Scheduler} params.params.event.source This Scheduler instance.
2035
+ * @param {Date} params.params.event.startDate The new start date of the timeline.
2036
+ * @param {Date} params.params.event.endDate The new end date of the timeline.
2037
+ * @param {Scheduler.preset.ViewPreset} params.params.event.from The outgoing ViewPreset.
2038
+ * @param {Scheduler.preset.ViewPreset} params.params.event.to The ViewPreset being switched to.
2039
+ */
2040
+ (e: 'beforePresetChange', params: ((event: { source: Scheduler, startDate: Date, endDate: Date, from: ViewPreset, to: ViewPreset }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
2041
+ /**
2042
+ * Fires before the component renders a row.
2043
+ * ...
2044
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-beforeRenderHistogramRow)
2045
+ * @param {string} e Event name
2046
+ * @param {object} params Event parameters
2047
+ * @param {string} params.e Event name
2048
+ * @param {object} params.params Event parameters
2049
+ * @param {object} params.params.event Event object
2050
+ * @param {Scheduler.view.TimelineHistogram} params.params.event.source The component instance
2051
+ * @param {Core.data.Model} params.params.event.record Record the histogram data of which is ready.
2052
+ * @param {HistogramConfig} params.params.event.histogramConfig Configuration object that will be applied to `histogramWidget`.
2053
+ * @param {Core.widget.graph.Histogram} params.params.event.histogramWidget The underlying widget that is used to render a chart.
2054
+ */
2055
+ (e: 'beforeRenderHistogramRow', params: ((event: { source: TimelineHistogram, record: Model, histogramConfig: HistogramConfig, histogramWidget: Histogram }) => void)|string): void
2056
+ /**
2057
+ * Fires before the component renders a histogram in a cell.
2058
+ * @param {string} e Event name
2059
+ * @param {object} params Event parameters
2060
+ * @param {string} params.e Event name
2061
+ * @param {object} params.params Event parameters
2062
+ * @param {object} params.params.event Event object
2063
+ * @param {Scheduler.view.TimelineHistogram} params.params.event.source The component instance
2064
+ * @param {Core.data.Model} params.params.event.record Record the histogram data of which is ready.
2065
+ * @param {HistogramConfig} params.params.event.histogramConfig Configuration object that will be applied to `histogramWidget`.
2066
+ * @param {Core.widget.graph.Histogram} params.params.event.histogramWidget The underlying widget that is used to render a chart.
2067
+ */
2068
+ (e: 'beforeRenderRecordHistogram', params: ((event: { source: TimelineHistogram, record: Model, histogramConfig: HistogramConfig, histogramWidget: Histogram }) => void)|string): void
2069
+ /**
2070
+ * Fires before a row is rendered.
2071
+ * @param {string} e Event name
2072
+ * @param {object} params Event parameters
2073
+ * @param {string} params.e Event name
2074
+ * @param {object} params.params Event parameters
2075
+ * @param {object} params.params.event Event object
2076
+ * @param {Grid.view.Grid} params.params.event.source The firing Grid instance.
2077
+ * @param {Grid.row.Row} params.params.event.row The row about to be rendered.
2078
+ * @param {Core.data.Model} params.params.event.record The record for the row.
2079
+ * @param {number} params.params.event.recordIndex The zero-based index of the record.
2080
+ */
2081
+ (e: 'beforeRenderRow', params: ((event: { source: Grid, row: Row, record: Model, recordIndex: number }) => void)|string): void
2082
+ /**
2083
+ * Grid rows are about to be rendered
2084
+ * @param {string} e Event name
2085
+ * @param {object} params Event parameters
2086
+ * @param {string} params.e Event name
2087
+ * @param {object} params.params Event parameters
2088
+ * @param {object} params.params.event Event object
2089
+ * @param {Grid.view.Grid} params.params.event.source This grid.
2090
+ */
2091
+ (e: 'beforeRenderRows', params: ((event: { source: Grid }) => void)|string): void
2092
+ /**
2093
+ * This event fires before row collapse is started.
2094
+ * ...
2095
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-beforeRowCollapse)
2096
+ * @param {string} e Event name
2097
+ * @param {object} params Event parameters
2098
+ * @param {string} params.e Event name
2099
+ * @param {object} params.params Event parameters
2100
+ * @param {object} params.params.event Event object
2101
+ * @param {Core.data.Model} params.params.event.record Record
2102
+ */
2103
+ (e: 'beforeRowCollapse', params: ((event: { record: Model }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
2104
+ /**
2105
+ * This event fires before row expand is started.
2106
+ * ...
2107
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-beforeRowExpand)
2108
+ * @param {string} e Event name
2109
+ * @param {object} params Event parameters
2110
+ * @param {string} params.e Event name
2111
+ * @param {object} params.params Event parameters
2112
+ * @param {object} params.params.event Event object
2113
+ * @param {Core.data.Model} params.params.event.record Record
2114
+ */
2115
+ (e: 'beforeRowExpand', params: ((event: { record: Model }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
2116
+ /**
2117
+ * Fires before the selection changes. Returning `false` from a listener prevents the change
2118
+ * @param {string} e Event name
2119
+ * @param {object} params Event parameters
2120
+ * @param {string} params.e Event name
2121
+ * @param {object} params.params Event parameters
2122
+ * @param {object} params.params.event Event object
2123
+ * @param {string} params.params.event.action `'select'`/`'deselect'`
2124
+ * @param {'row','cell'} params.params.event.mode `'row'`/`'cell'`
2125
+ * @param {Grid.view.Grid} params.params.event.source
2126
+ * @param {Core.data.Model[]} params.params.event.deselected The records to be deselected in this operation.
2127
+ * @param {Core.data.Model[]} params.params.event.selected The records to be selected in this operation.
2128
+ * @param {Core.data.Model[]} params.params.event.selection The records in the current selection, before applying `selected` and `deselected`
2129
+ * @param {Grid.util.GridLocation[]} params.params.event.deselectedCells The cells to be deselected in this operation.
2130
+ * @param {Grid.util.GridLocation[]} params.params.event.selectedCells The cells to be selected in this operation.
2131
+ * @param {Grid.util.GridLocation[]} params.params.event.cellSelection The cells in the current selection, before applying `selectedCells` and `deselectedCells`
2132
+ */
2133
+ (e: 'beforeSelectionChange', params: ((event: { action: string, mode: 'row'|'cell', source: Grid, deselected: Model[], selected: Model[], selection: Model[], deselectedCells: GridLocation[], selectedCells: GridLocation[], cellSelection: GridLocation[] }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
2134
+ /**
2135
+ * Fired before this container will load record values into its child fields. This is useful if you
2136
+ * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
2137
+ * @param {string} e Event name
2138
+ * @param {object} params Event parameters
2139
+ * @param {string} params.e Event name
2140
+ * @param {object} params.params Event parameters
2141
+ * @param {object} params.params.event Event object
2142
+ * @param {Core.widget.Container} params.params.event.source The container
2143
+ * @param {Core.data.Model} params.params.event.record The record
2144
+ */
2145
+ (e: 'beforeSetRecord', params: ((event: { source: Container, record: Model }) => void)|string): void
2146
+ /**
2147
+ * Triggered before a widget is shown. Return `false` to prevent the action.
2148
+ * @param {string} e Event name
2149
+ * @param {object} params Event parameters
2150
+ * @param {string} params.e Event name
2151
+ * @param {object} params.params Event parameters
2152
+ * @param {object} params.params.event Event object
2153
+ * @param {Core.widget.Widget,any} params.params.event.source The widget being shown
2154
+ */
2155
+ (e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
2156
+ /**
2157
+ * Fires on the owning Grid before editing starts, return `false` to prevent editing
2158
+ * @param {string} e Event name
2159
+ * @param {object} params Event parameters
2160
+ * @param {string} params.e Event name
2161
+ * @param {object} params.params Event parameters
2162
+ * @param {object} params.params.event Event object
2163
+ * @param {Grid.view.Grid} params.params.event.source Owner grid
2164
+ * @param {RowEditorContext} params.params.event.editorContext Editing context
2165
+ */
2166
+ (e: 'beforeStartRowEdit', params: ((event: { source: Grid, editorContext: RowEditorContext }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
2167
+ /**
2168
+ * Fired before state is applied to the source. Allows editing the state object or preventing the operation.
2169
+ * @param {string} e Event name
2170
+ * @param {object} params Event parameters
2171
+ * @param {string} params.e Event name
2172
+ * @param {object} params.params Event parameters
2173
+ * @param {object} params.params.event Event object
2174
+ * @param {GridStateInfo} params.params.event.state State object config
2175
+ */
2176
+ (e: 'beforeStateApply', params: ((event: { state: GridStateInfo }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
2177
+ /**
2178
+ * Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
2179
+ * @param {string} e Event name
2180
+ * @param {object} params Event parameters
2181
+ * @param {string} params.e Event name
2182
+ * @param {object} params.params Event parameters
2183
+ * @param {object} params.params.event Event object
2184
+ * @param {GridStateInfo} params.params.event.state State object config
2185
+ */
2186
+ (e: 'beforeStateSave', params: ((event: { state: GridStateInfo }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
2187
+ /**
2188
+ * Fired when a group is going to be expanded or collapsed using the UI.
2189
+ * Returning `false` from a listener prevents the operation
2190
+ * @param {string} e Event name
2191
+ * @param {object} params Event parameters
2192
+ * @param {string} params.e Event name
2193
+ * @param {object} params.params Event parameters
2194
+ * @param {object} params.params.event Event object
2195
+ * @param {Core.data.Model} params.params.event.groupRecord [DEPRECATED] Use `groupRecords` param instead
2196
+ * @param {Core.data.Model[]} params.params.event.groupRecords The group records being toggled
2197
+ * @param {boolean} params.params.event.collapse Collapsed (true) or expanded (false)
2198
+ * @param {Event} params.params.event.domEvent The user interaction event (eg a `click` event) if the toggle request was instigated by user interaction.
2199
+ */
2200
+ (e: 'beforeToggleGroup', params: ((event: { groupRecord: Model, groupRecords: Model[], collapse: boolean, domEvent: Event }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
2201
+ /**
2202
+ * Fired before a parent node record toggles its collapsed state.
2203
+ * @param {string} e Event name
2204
+ * @param {object} params Event parameters
2205
+ * @param {string} params.e Event name
2206
+ * @param {object} params.params Event parameters
2207
+ * @param {object} params.params.event Event object
2208
+ * @param {Grid.view.Grid} params.params.event.source The firing Grid instance.
2209
+ * @param {Core.data.Model} params.params.event.record The record being toggled.
2210
+ * @param {boolean} params.params.event.collapse `true` if the node is being collapsed.
2211
+ */
2212
+ (e: 'beforeToggleNode', params: ((event: { source: Grid, record: Model, collapse: boolean }) => void)|string): void
2213
+ /**
2214
+ * Fires on the owning Grid when editing is cancelled
2215
+ * @param {string} e Event name
2216
+ * @param {object} params Event parameters
2217
+ * @param {string} params.e Event name
2218
+ * @param {object} params.params Event parameters
2219
+ * @param {object} params.params.event Event object
2220
+ * @param {Grid.view.Grid} params.params.event.source Owner grid
2221
+ * @param {Grid.util.GridLocation} params.params.event.editorContext Editing context
2222
+ * @param {Event} params.params.event.event Included if the cancellation was triggered by a DOM event
2223
+ */
2224
+ (e: 'cancelCellEdit', params: ((event: { source: Grid, editorContext: GridLocation, event: Event }) => void)|string): void
2225
+ /**
2226
+ * Fires when any other event is fired from the object.
2227
+ * ...
2228
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-catchAll)
2229
+ * @param {string} e Event name
2230
+ * @param {object} params Event parameters
2231
+ * @param {string} params.e Event name
2232
+ * @param {object} params.params Event parameters
2233
+ * @param {object} params.params.event Event object
2234
+ * @param {{[key: string]: any, type: string}} params.params.event.event The Object that contains event details
2235
+ * @param {string} params.params.event.event.type The type of the event which is caught by the listener
2236
+ */
2237
+ (e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void
2238
+ /**
2239
+ * Fired when user clicks in a grid cell
2240
+ * @param {string} e Event name
2241
+ * @param {object} params Event parameters
2242
+ * @param {string} params.e Event name
2243
+ * @param {object} params.params Event parameters
2244
+ * @param {object} params.params.event Event object
2245
+ * @param {Grid.view.Grid} params.params.event.grid The grid instance
2246
+ * @param {Core.data.Model} params.params.event.record The record representing the row
2247
+ * @param {Grid.column.Column} params.params.event.column The column to which the cell belongs
2248
+ * @param {HTMLElement} params.params.event.cellElement The cell HTML element
2249
+ * @param {HTMLElement} params.params.event.target The target element
2250
+ * @param {MouseEvent} params.params.event.event The native DOM event
2251
+ */
2252
+ (e: 'cellClick', params: ((event: { grid: Grid, record: Model, column: Column, cellElement: HTMLElement, target: HTMLElement, event: MouseEvent }) => void)|string): void
2253
+ /**
2254
+ * Fired when user activates contextmenu in a grid cell
2255
+ * @param {string} e Event name
2256
+ * @param {object} params Event parameters
2257
+ * @param {string} params.e Event name
2258
+ * @param {object} params.params Event parameters
2259
+ * @param {object} params.params.event Event object
2260
+ * @param {Grid.view.Grid} params.params.event.grid The grid instance
2261
+ * @param {Core.data.Model} params.params.event.record The record representing the row
2262
+ * @param {Grid.column.Column} params.params.event.column The column to which the cell belongs
2263
+ * @param {HTMLElement} params.params.event.cellElement The cell HTML element
2264
+ * @param {HTMLElement} params.params.event.target The target element
2265
+ * @param {MouseEvent} params.params.event.event The native DOM event
2266
+ */
2267
+ (e: 'cellContextMenu', params: ((event: { grid: Grid, record: Model, column: Column, cellElement: HTMLElement, target: HTMLElement, event: MouseEvent }) => void)|string): void
2268
+ /**
2269
+ * Fired when user double clicks a grid cell
2270
+ * @param {string} e Event name
2271
+ * @param {object} params Event parameters
2272
+ * @param {string} params.e Event name
2273
+ * @param {object} params.params Event parameters
2274
+ * @param {object} params.params.event Event object
2275
+ * @param {Grid.view.Grid} params.params.event.grid The grid instance
2276
+ * @param {Core.data.Model} params.params.event.record The record representing the row
2277
+ * @param {Grid.column.Column} params.params.event.column The column to which the cell belongs
2278
+ * @param {HTMLElement} params.params.event.cellElement The cell HTML element
2279
+ * @param {HTMLElement} params.params.event.target The target element
2280
+ * @param {MouseEvent} params.params.event.event The native DOM event
2281
+ */
2282
+ (e: 'cellDblClick', params: ((event: { grid: Grid, record: Model, column: Column, cellElement: HTMLElement, target: HTMLElement, event: MouseEvent }) => void)|string): void
2283
+ /**
2284
+ * This event fires on the owning grid before the context menu is shown for a cell.
2285
+ * Allows manipulation of the items to show in the same way as in the [processItems](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellMenu#config-processItems).
2286
+ * ...
2287
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-cellMenuBeforeShow)
2288
+ * @param {string} e Event name
2289
+ * @param {object} params Event parameters
2290
+ * @param {string} params.e Event name
2291
+ * @param {object} params.params Event parameters
2292
+ * @param {object} params.params.event Event object
2293
+ * @param {Grid.view.Grid} params.params.event.source The grid
2294
+ * @param {Core.widget.Menu} params.params.event.menu The menu
2295
+ * @param {Record<string, MenuItemEntry>} params.params.event.items Menu item configs
2296
+ * @param {Grid.column.Column} params.params.event.column Column
2297
+ * @param {Core.data.Model} params.params.event.record Record
2298
+ */
2299
+ (e: 'cellMenuBeforeShow', params: ((event: { source: Grid, menu: Menu, items: Record<string, MenuItemEntry>, column: Column, record: Model }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
2300
+ /**
2301
+ * This event fires on the owning grid when an item is selected in the cell context menu.
2302
+ * @param {string} e Event name
2303
+ * @param {object} params Event parameters
2304
+ * @param {string} params.e Event name
2305
+ * @param {object} params.params Event parameters
2306
+ * @param {object} params.params.event Event object
2307
+ * @param {Grid.view.Grid} params.params.event.source The grid
2308
+ * @param {Core.widget.Menu} params.params.event.menu The menu
2309
+ * @param {Core.widget.MenuItem} params.params.event.item Selected menu item
2310
+ * @param {Grid.column.Column} params.params.event.column Column
2311
+ * @param {Core.data.Model} params.params.event.record Record
2312
+ */
2313
+ (e: 'cellMenuItem', params: ((event: { source: Grid, menu: Menu, item: MenuItem, column: Column, record: Model }) => void)|string): void
2314
+ /**
2315
+ * This event fires on the owning grid after the context menu is shown for a cell.
2316
+ * @param {string} e Event name
2317
+ * @param {object} params Event parameters
2318
+ * @param {string} params.e Event name
2319
+ * @param {object} params.params Event parameters
2320
+ * @param {object} params.params.event Event object
2321
+ * @param {Grid.view.Grid} params.params.event.source The grid
2322
+ * @param {Core.widget.Menu} params.params.event.menu The menu
2323
+ * @param {Record<string, MenuItemEntry>} params.params.event.items Menu item configs
2324
+ * @param {Grid.column.Column} params.params.event.column Column
2325
+ * @param {Core.data.Model} params.params.event.record Record
2326
+ */
2327
+ (e: 'cellMenuShow', params: ((event: { source: Grid, menu: Menu, items: Record<string, MenuItemEntry>, column: Column, record: Model }) => void)|string): void
2328
+ /**
2329
+ * This event fires on the owning grid when a check item is toggled in the cell context menu.
2330
+ * @param {string} e Event name
2331
+ * @param {object} params Event parameters
2332
+ * @param {string} params.e Event name
2333
+ * @param {object} params.params Event parameters
2334
+ * @param {object} params.params.event Event object
2335
+ * @param {Grid.view.Grid} params.params.event.source The grid
2336
+ * @param {Core.widget.Menu} params.params.event.menu The menu
2337
+ * @param {Core.widget.MenuItem} params.params.event.item Selected menu item
2338
+ * @param {Grid.column.Column} params.params.event.column Column
2339
+ * @param {Core.data.Model} params.params.event.record Record
2340
+ * @param {boolean} params.params.event.checked Checked or not
2341
+ */
2342
+ (e: 'cellMenuToggleItem', params: ((event: { source: Grid, menu: Menu, item: MenuItem, column: Column, record: Model, checked: boolean }) => void)|string): void
2343
+ /**
2344
+ * Fired when the mouse enters a cell
2345
+ * @param {string} e Event name
2346
+ * @param {object} params Event parameters
2347
+ * @param {string} params.e Event name
2348
+ * @param {object} params.params Event parameters
2349
+ * @param {object} params.params.event Event object
2350
+ * @param {Grid.view.Grid} params.params.event.source The grid instance
2351
+ * @param {Core.data.Model} params.params.event.record The record representing the hovered cell
2352
+ * @param {Grid.column.Column} params.params.event.column The column currently hovered
2353
+ * @param {HTMLElement} params.params.event.cellElement The cell HTML element
2354
+ * @param {MouseEvent} params.params.event.event The native DOM event
2355
+ */
2356
+ (e: 'cellMouseEnter', params: ((event: { source: Grid, record: Model, column: Column, cellElement: HTMLElement, event: MouseEvent }) => void)|string): void
2357
+ /**
2358
+ * Fired when the mouse leaves a cell
2359
+ * @param {string} e Event name
2360
+ * @param {object} params Event parameters
2361
+ * @param {string} params.e Event name
2362
+ * @param {object} params.params Event parameters
2363
+ * @param {object} params.params.event Event object
2364
+ * @param {Grid.view.Grid} params.params.event.source The grid instance
2365
+ * @param {Core.data.Model} params.params.event.record The record representing the cell that the mouse left
2366
+ * @param {Grid.column.Column} params.params.event.column The column representing the cell that the mouse left
2367
+ * @param {HTMLElement} params.params.event.cellElement The cell HTML element that the mouse left
2368
+ * @param {MouseEvent} params.params.event.event The native DOM event
2369
+ */
2370
+ (e: 'cellMouseLeave', params: ((event: { source: Grid, record: Model, column: Column, cellElement: HTMLElement, event: MouseEvent }) => void)|string): void
2371
+ /**
2372
+ * Fired when a user moves the mouse out of a grid cell
2373
+ * @param {string} e Event name
2374
+ * @param {object} params Event parameters
2375
+ * @param {string} params.e Event name
2376
+ * @param {object} params.params Event parameters
2377
+ * @param {object} params.params.event Event object
2378
+ * @param {Grid.view.Grid} params.params.event.grid The grid instance
2379
+ * @param {Core.data.Model} params.params.event.record The record representing the row
2380
+ * @param {Grid.column.Column} params.params.event.column The column to which the cell belongs
2381
+ * @param {HTMLElement} params.params.event.cellElement The cell HTML element
2382
+ * @param {HTMLElement} params.params.event.target The target element
2383
+ * @param {MouseEvent} params.params.event.event The native DOM event
2384
+ */
2385
+ (e: 'cellMouseOut', params: ((event: { grid: Grid, record: Model, column: Column, cellElement: HTMLElement, target: HTMLElement, event: MouseEvent }) => void)|string): void
2386
+ /**
2387
+ * Fired when user moves the mouse over a grid cell
2388
+ * @param {string} e Event name
2389
+ * @param {object} params Event parameters
2390
+ * @param {string} params.e Event name
2391
+ * @param {object} params.params Event parameters
2392
+ * @param {object} params.params.event Event object
2393
+ * @param {Grid.view.Grid} params.params.event.grid The grid instance
2394
+ * @param {Core.data.Model} params.params.event.record The record representing the row
2395
+ * @param {Grid.column.Column} params.params.event.column The column to which the cell belongs
2396
+ * @param {HTMLElement} params.params.event.cellElement The cell HTML element
2397
+ * @param {HTMLElement} params.params.event.target The target element
2398
+ * @param {MouseEvent} params.params.event.event The native DOM event
2399
+ */
2400
+ (e: 'cellMouseOver', params: ((event: { grid: Grid, record: Model, column: Column, cellElement: HTMLElement, target: HTMLElement, event: MouseEvent }) => void)|string): void
2401
+ /**
2402
+ * Fires when a Panel is collapsed using the [collapsible](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-collapsible) setting.
2403
+ * @param {string} e Event name
2404
+ * @param {object} params Event parameters
2405
+ * @param {string} params.e Event name
2406
+ * @param {object} params.params Event parameters
2407
+ * @param {object} params.params.event Event object
2408
+ * @param {Core.widget.Panel} params.params.event.source This Panel.
2409
+ */
2410
+ (e: 'collapse', params: ((event: { source: Panel }) => void)|string): void
2411
+ /**
2412
+ * Fired before a parent node record is collapsed.
2413
+ * @param {string} e Event name
2414
+ * @param {object} params Event parameters
2415
+ * @param {string} params.e Event name
2416
+ * @param {object} params.params Event parameters
2417
+ * @param {object} params.params.event Event object
2418
+ * @param {Grid.view.Grid} params.params.event.source The firing Grid instance.
2419
+ * @param {Core.data.Model} params.params.event.record The record which has been collapsed.
2420
+ */
2421
+ (e: 'collapseNode', params: ((event: { source: Grid, record: Model }) => void)|string): void
2422
+ /**
2423
+ * This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
2424
+ * to indicate whether the drop position is valid or not.
2425
+ * @param {string} e Event name
2426
+ * @param {object} params Event parameters
2427
+ * @param {string} params.e Event name
2428
+ * @param {object} params.params Event parameters
2429
+ * @param {object} params.params.event Event object
2430
+ * @param {Grid.view.Grid} params.params.event.source The grid instance.
2431
+ * @param {Grid.column.Column} params.params.event.column The dragged column.
2432
+ * @param {Grid.column.Column} params.params.event.insertBefore The column before which the dragged column will be inserted (if not last).
2433
+ * @param {Event} params.params.event.event The browser event.
2434
+ * @param {object} params.params.event.context
2435
+ * @param {boolean} params.params.event.context.valid Set this to `true` or `false` to indicate whether the drop position is valid.
2436
+ */
2437
+ (e: 'columnDrag', params: ((event: { source: Grid, column: Column, insertBefore: Column, event: Event, context: { valid: boolean } }) => void)|string): void
2438
+ /**
2439
+ * This event is fired when a column drag gesture has started.
2440
+ * @param {string} e Event name
2441
+ * @param {object} params Event parameters
2442
+ * @param {string} params.e Event name
2443
+ * @param {object} params.params Event parameters
2444
+ * @param {object} params.params.event Event object
2445
+ * @param {Grid.view.Grid} params.params.event.source The grid instance.
2446
+ * @param {Grid.column.Column} params.params.event.column The dragged column.
2447
+ * @param {Event} params.params.event.event The browser event.
2448
+ */
2449
+ (e: 'columnDragStart', params: ((event: { source: Grid, column: Column, event: Event }) => void)|string): void
2450
+ /**
2451
+ * This event is always fired after a column is dropped. The `valid` param is `true` if the operation was not
2452
+ * vetoed and the column was moved in the column store.
2453
+ * @param {string} e Event name
2454
+ * @param {object} params Event parameters
2455
+ * @param {string} params.e Event name
2456
+ * @param {object} params.params Event parameters
2457
+ * @param {object} params.params.event Event object
2458
+ * @param {Grid.view.Grid} params.params.event.source The grid instance.
2459
+ * @param {Grid.column.Column} params.params.event.column The dragged column.
2460
+ * @param {Grid.column.Column} params.params.event.insertBefore The column before which the dragged column will be inserted.
2461
+ * @param {Grid.column.Column} params.params.event.newParent The new parent column.
2462
+ * @param {boolean} params.params.event.valid `true` if the operation was not vetoed.
2463
+ * @param {Event} params.params.event.event The browser event.
2464
+ * @param {string} params.params.event.region The region where the column was dropped.
2465
+ */
2466
+ (e: 'columnDrop', params: ((event: { source: Grid, column: Column, insertBefore: Column, newParent: Column, valid: boolean, event: Event, region: string }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
2467
+ /**
2468
+ * This event is fired after a resize gesture is completed.
2469
+ * @param {string} e Event name
2470
+ * @param {object} params Event parameters
2471
+ * @param {string} params.e Event name
2472
+ * @param {object} params.params Event parameters
2473
+ * @param {object} params.params.event Event object
2474
+ * @param {Grid.view.Grid} params.params.event.source The grid instance
2475
+ * @param {Grid.column.Column} params.params.event.column The resized column
2476
+ * @param {Event} params.params.event.domEvent The browser event
2477
+ */
2478
+ (e: 'columnResize', params: ((event: { source: Grid, column: Column, domEvent: Event }) => void)|string): void
2479
+ /**
2480
+ * This event is fired when a column resize gesture starts.
2481
+ * @param {string} e Event name
2482
+ * @param {object} params Event parameters
2483
+ * @param {string} params.e Event name
2484
+ * @param {object} params.params Event parameters
2485
+ * @param {object} params.params.event Event object
2486
+ * @param {Grid.view.Grid} params.params.event.source The grid instance
2487
+ * @param {Grid.column.Column} params.params.event.column The column
2488
+ * @param {Event} params.params.event.domEvent The browser event
2489
+ */
2490
+ (e: 'columnResizeStart', params: ((event: { source: Grid, column: Column, domEvent: Event }) => void)|string): void
2491
+ /**
2492
+ * This event fires on the owning widget when an item is selected in the context menu.
2493
+ * @param {string} e Event name
2494
+ * @param {object} params Event parameters
2495
+ * @param {string} params.e Event name
2496
+ * @param {object} params.params Event parameters
2497
+ * @param {object} params.params.event Event object
2498
+ * @param {Core.widget.Widget} params.params.event.source The owning widget
2499
+ * @param {Core.widget.Menu} params.params.event.menu The menu
2500
+ * @param {Core.widget.MenuItem} params.params.event.item Selected menu item
2501
+ */
2502
+ (e: 'contextMenuItem', params: ((event: { source: Widget, menu: Menu, item: MenuItem }) => void)|string): void
2503
+ /**
2504
+ * This event fires on the owning widget when a check item is toggled in the context menu.
2505
+ * @param {string} e Event name
2506
+ * @param {object} params Event parameters
2507
+ * @param {string} params.e Event name
2508
+ * @param {object} params.params Event parameters
2509
+ * @param {object} params.params.event Event object
2510
+ * @param {Core.widget.Widget} params.params.event.source The owning widget
2511
+ * @param {Core.widget.Menu} params.params.event.menu The menu
2512
+ * @param {Core.widget.MenuItem} params.params.event.item Selected menu item
2513
+ * @param {boolean} params.params.event.checked Checked or not
2514
+ */
2515
+ (e: 'contextMenuToggleItem', params: ((event: { source: Widget, menu: Menu, item: MenuItem, checked: boolean }) => void)|string): void
2516
+ /**
2517
+ * Fires on the owning Grid after a copy action is performed.
2518
+ * @param {string} e Event name
2519
+ * @param {object} params Event parameters
2520
+ * @param {string} params.e Event name
2521
+ * @param {object} params.params Event parameters
2522
+ * @param {object} params.params.event Event object
2523
+ * @param {Grid.view.Grid} params.params.event.source Owner grid
2524
+ * @param {Grid.util.GridLocation[]} params.params.event.cells The cells about to be copied or cut
2525
+ * @param {string} params.params.event.copiedDataString The concatenated data string that was copied or cut
2526
+ * @param {boolean} params.params.event.isCut `true` if this was a cut action
2527
+ * @param {string} params.params.event.entityName 'cell' to distinguish this event from other copy events
2528
+ */
2529
+ (e: 'copy', params: ((event: { source: Grid, cells: GridLocation[], copiedDataString: string, isCut: boolean, entityName: string }) => void)|string): void
2530
+ /**
2531
+ * Fires on the owning view after a copy action is performed.
2532
+ * @param {string} e Event name
2533
+ * @param {object} params Event parameters
2534
+ * @param {string} params.e Event name
2535
+ * @param {object} params.params Event parameters
2536
+ * @param {object} params.params.event Event object
2537
+ * @param {SchedulerPro.view.ResourceUtilization} params.params.event.source Owner view
2538
+ * @param {Scheduler.util.TimelineContext[]} params.params.event.cells The cells about to be copied or cut
2539
+ * @param {string} params.params.event.copiedDataString The concatenated data string that was copied or cut
2540
+ * @param {boolean} params.params.event.isCut `true` if this was a cut action
2541
+ */
2542
+ (e: 'copyTimelineCells', params: ((event: { source: ResourceUtilization, cells: TimelineContext[], copiedDataString: string, isCut: boolean }) => void)|string): void
2543
+ /**
2544
+ * Fires on the owning Scheduler/Gantt when the line indicating the current time is updated (see [currentTimeLineUpdateInterval](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/TimeRanges#config-currentTimeLineUpdateInterval)).
2545
+ * @param {string} e Event name
2546
+ * @param {object} params Event parameters
2547
+ * @param {string} params.e Event name
2548
+ * @param {object} params.params Event parameters
2549
+ * @param {object} params.params.event Event object
2550
+ * @param {Scheduler.view.Scheduler} params.params.event.source The scheduler
2551
+ * @param {Date} params.params.event.date The current date
2552
+ */
2553
+ (e: 'currentTimelineUpdate', params: ((event: { source: Scheduler, date: Date }) => void)|string): void
2554
+ /**
2555
+ * Fired when data in the store changes.
2556
+ * ...
2557
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-dataChange)
2558
+ * @param {string} e Event name
2559
+ * @param {object} params Event parameters
2560
+ * @param {string} params.e Event name
2561
+ * @param {object} params.params Event parameters
2562
+ * @param {object} params.params.event Event object
2563
+ * @param {Grid.view.Grid} params.params.event.source Owning grid
2564
+ * @param {Core.data.Store} params.params.event.store The originating store
2565
+ * @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} params.params.event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
2566
+ * @param {Core.data.Model} params.params.event.record Changed record, for actions that affects exactly one record (`'update'`)
2567
+ * @param {Core.data.Model[]} params.params.event.records Changed records, passed for all actions except `'removeAll'`
2568
+ * @param {object} params.params.event.changes Passed for the `'update'` action, info on which record fields changed
2569
+ */
2570
+ (e: 'dataChange', params: ((event: { source: Grid, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string): void
2571
+ /**
2572
+ * Fired when the range of dates encapsulated by the UI changes. This will be when
2573
+ * moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
2574
+ * when zooming, or changing [viewPreset](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/TimelineBase#config-viewPreset).
2575
+ * ...
2576
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-dateRangeChange)
2577
+ * @param {string} e Event name
2578
+ * @param {object} params Event parameters
2579
+ * @param {string} params.e Event name
2580
+ * @param {object} params.params Event parameters
2581
+ * @param {object} params.params.event Event object
2582
+ * @param {Scheduler.view.TimelineBase} params.params.event.source This Scheduler/Gantt instance.
2583
+ * @param {object} params.params.event.old The old date range
2584
+ * @param {Date} params.params.event.old.startDate the old start date.
2585
+ * @param {Date} params.params.event.old.endDate the old end date.
2586
+ * @param {object} params.params.event.new The new date range
2587
+ * @param {Date} params.params.event.new.startDate the new start date.
2588
+ * @param {Date} params.params.event.new.endDate the new end date.
2589
+ */
2590
+ (e: 'dateRangeChange', params: ((event: { source: TimelineBase, old: { startDate: Date, endDate: Date }, new: { startDate: Date, endDate: Date } }) => void)|string): void
2591
+ /**
2592
+ * Fires when an object is destroyed.
2593
+ * @param {string} e Event name
2594
+ * @param {object} params Event parameters
2595
+ * @param {string} params.e Event name
2596
+ * @param {object} params.params Event parameters
2597
+ * @param {object} params.params.event Event object
2598
+ * @param {Core.Base} params.params.event.source The Object that is being destroyed.
2599
+ */
2600
+ (e: 'destroy', params: ((event: { source: Base }) => void)|string): void
2601
+ /**
2602
+ * Fires when a field is mutated and the state of the [hasChanges](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#property-hasChanges) property changes
2603
+ * @param {string} e Event name
2604
+ * @param {object} params Event parameters
2605
+ * @param {string} params.e Event name
2606
+ * @param {object} params.params Event parameters
2607
+ * @param {object} params.params.event Event object
2608
+ * @param {Core.widget.Container} params.params.event.source The container.
2609
+ * @param {boolean} params.params.event.dirty The dirty state of the Container - `true` if there are any fields which have been changed since initial load.
2610
+ */
2611
+ (e: 'dirtyStateChange', params: ((event: { source: Container, dirty: boolean }) => void)|string): void
2612
+ /**
2613
+ * Fires while drag selecting. UI will update with current range, but the cells will not be selected until
2614
+ * mouse up. This event can be listened for to perform actions while drag selecting.
2615
+ * @param {string} e Event name
2616
+ * @param {object} params Event parameters
2617
+ * @param {string} params.e Event name
2618
+ * @param {object} params.params Event parameters
2619
+ * @param {object} params.params.event Event object
2620
+ * @param {Grid.view.Grid} params.params.event.source
2621
+ * @param {GridLocationConfig[],Grid.util.GridLocation[]} params.params.event.selectedCells The cells that is currently being dragged over
2622
+ * @param {Core.data.Model[]} params.params.event.selectedRecords The records that is currently being dragged over
2623
+ */
2624
+ (e: 'dragSelecting', params: ((event: { source: Grid, selectedCells: GridLocationConfig[]|GridLocation[], selectedRecords: Model[] }) => void)|string): void
2625
+ /**
2626
+ * Triggered when a widget's [element](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-element) is available.
2627
+ * @param {string} e Event name
2628
+ * @param {object} params Event parameters
2629
+ * @param {string} params.e Event name
2630
+ * @param {object} params.params Event parameters
2631
+ * @param {object} params.params.event Event object
2632
+ * @param {HTMLElement} params.params.event.element The Widget's element.
2633
+ */
2634
+ (e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void
2635
+ /**
2636
+ * Fires when a Panel is expanded using the [collapsible](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-collapsible) setting.
2637
+ * @param {string} e Event name
2638
+ * @param {object} params Event parameters
2639
+ * @param {string} params.e Event name
2640
+ * @param {object} params.params Event parameters
2641
+ * @param {object} params.params.event Event object
2642
+ * @param {Core.widget.Panel} params.params.event.source This Panel.
2643
+ */
2644
+ (e: 'expand', params: ((event: { source: Panel }) => void)|string): void
2645
+ /**
2646
+ * Fired after a parent node record is expanded.
2647
+ * @param {string} e Event name
2648
+ * @param {object} params Event parameters
2649
+ * @param {string} params.e Event name
2650
+ * @param {object} params.params Event parameters
2651
+ * @param {object} params.params.event Event object
2652
+ * @param {Grid.view.Grid} params.params.event.source The firing Grid instance.
2653
+ * @param {Core.data.Model} params.params.event.record The record which has been expanded.
2654
+ */
2655
+ (e: 'expandNode', params: ((event: { source: Grid, record: Model }) => void)|string): void
2656
+ /**
2657
+ * Fired when a file is dropped on the widget element
2658
+ * @param {string} e Event name
2659
+ * @param {object} params Event parameters
2660
+ * @param {string} params.e Event name
2661
+ * @param {object} params.params Event parameters
2662
+ * @param {object} params.params.event Event object
2663
+ * @param {Grid.view.Grid} params.params.event.source The owning Grid instance
2664
+ * @param {DataTransferItem} params.params.event.file The dropped file descriptor
2665
+ * @param {DragEvent} params.params.event.domEvent The native DragEvent
2666
+ */
2667
+ (e: 'fileDrop', params: ((event: { source: Grid, file: DataTransferItem, domEvent: DragEvent }) => void)|string): void
2668
+ /**
2669
+ * Fired before the FillHandle dragging is finalized and values are applied to cells, return `false` to prevent the
2670
+ * drag operation from applying data changes.
2671
+ * @param {string} e Event name
2672
+ * @param {object} params Event parameters
2673
+ * @param {string} params.e Event name
2674
+ * @param {object} params.params Event parameters
2675
+ * @param {object} params.params.event Event object
2676
+ * @param {Grid.util.GridLocation} params.params.event.from The from cell
2677
+ * @param {Grid.util.GridLocation} params.params.event.to The to cell
2678
+ * @param {MouseEvent} params.params.event.domEvent The raw DOM event
2679
+ */
2680
+ (e: 'fillHandleBeforeDragFinalize', params: ((event: { from: GridLocation, to: GridLocation, domEvent: MouseEvent }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
2681
+ /**
2682
+ * Fired while dragging the FillHandle.
2683
+ * @param {string} e Event name
2684
+ * @param {object} params Event parameters
2685
+ * @param {string} params.e Event name
2686
+ * @param {object} params.params Event parameters
2687
+ * @param {object} params.params.event Event object
2688
+ * @param {Grid.util.GridLocation} params.params.event.from The from cell
2689
+ * @param {Grid.util.GridLocation} params.params.event.to The to cell
2690
+ * @param {MouseEvent} params.params.event.domEvent The raw DOM event
2691
+ */
2692
+ (e: 'fillHandleDrag', params: ((event: { from: GridLocation, to: GridLocation, domEvent: MouseEvent }) => void)|string): void
2693
+ /**
2694
+ * Fired when a FillHandle drag operation is aborted.
2695
+ */
2696
+ (e: 'fillHandleDragAbort', params: (() => void)|string): void
2697
+ /**
2698
+ * Fired after a FillHandle drag operation.
2699
+ * @param {string} e Event name
2700
+ * @param {object} params Event parameters
2701
+ * @param {string} params.e Event name
2702
+ * @param {object} params.params Event parameters
2703
+ * @param {object} params.params.event Event object
2704
+ * @param {Grid.util.GridLocation} params.params.event.from The from cell
2705
+ * @param {Grid.util.GridLocation} params.params.event.to The to cell
2706
+ * @param {MouseEvent} params.params.event.domEvent The raw DOM event
2707
+ */
2708
+ (e: 'fillHandleDragEnd', params: ((event: { from: GridLocation, to: GridLocation, domEvent: MouseEvent }) => void)|string): void
2709
+ /**
2710
+ * Fired when dragging of the FillHandle starts.
2711
+ * @param {string} e Event name
2712
+ * @param {object} params Event parameters
2713
+ * @param {string} params.e Event name
2714
+ * @param {object} params.params Event parameters
2715
+ * @param {object} params.params.event Event object
2716
+ * @param {Grid.util.GridLocation} params.params.event.cell Information about the column / record
2717
+ * @param {MouseEvent} params.params.event.domEvent The raw DOM event
2718
+ */
2719
+ (e: 'fillHandleDragStart', params: ((event: { cell: GridLocation, domEvent: MouseEvent }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
2720
+ /**
2721
+ * Fires on the owning Grid when cell editing is finished
2722
+ * @param {string} e Event name
2723
+ * @param {object} params Event parameters
2724
+ * @param {string} params.e Event name
2725
+ * @param {object} params.params Event parameters
2726
+ * @param {object} params.params.event Event object
2727
+ * @param {Grid.view.Grid} params.params.event.grid Target grid
2728
+ * @param {CellEditorContext} params.params.event.editorContext Editing context
2729
+ */
2730
+ (e: 'finishCellEdit', params: ((event: { grid: Grid, editorContext: CellEditorContext }) => void)|string): void
2731
+ /**
2732
+ * Fires on the owning Grid before the row editing is finished, return false to signal that the value is invalid and editing should not be finalized.
2733
+ * ...
2734
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-finishRowEdit)
2735
+ * @param {string} e Event name
2736
+ * @param {object} params Event parameters
2737
+ * @param {string} params.e Event name
2738
+ * @param {object} params.params Event parameters
2739
+ * @param {object} params.params.event Event object
2740
+ * @param {Grid.view.Grid} params.params.event.grid Target grid
2741
+ * @param {RowEditorContext} params.params.event.editorContext Editing context
2742
+ */
2743
+ (e: 'finishRowEdit', params: ((event: { grid: Grid, editorContext: RowEditorContext }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
2744
+ /**
2745
+ * Fired when focus enters this Widget.
2746
+ * @param {string} e Event name
2747
+ * @param {object} params Event parameters
2748
+ * @param {string} params.e Event name
2749
+ * @param {object} params.params Event parameters
2750
+ * @param {object} params.params.event Event object
2751
+ * @param {Core.widget.Widget} params.params.event.source This Widget
2752
+ * @param {HTMLElement} params.params.event.fromElement The element which lost focus.
2753
+ * @param {HTMLElement} params.params.event.toElement The element which gained focus.
2754
+ * @param {Core.widget.Widget} params.params.event.fromWidget The widget which lost focus.
2755
+ * @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
2756
+ * @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
2757
+ */
2758
+ (e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
2759
+ /**
2760
+ * Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.
2761
+ * focus moving from within this Widget's ownership tree, even if there are floating widgets
2762
+ * will not trigger this event. This is when focus exits this widget completely.
2763
+ * @param {string} e Event name
2764
+ * @param {object} params Event parameters
2765
+ * @param {string} params.e Event name
2766
+ * @param {object} params.params Event parameters
2767
+ * @param {object} params.params.event Event object
2768
+ * @param {Core.widget.Widget} params.params.event.source This Widget
2769
+ * @param {HTMLElement} params.params.event.fromElement The element which lost focus.
2770
+ * @param {HTMLElement} params.params.event.toElement The element which gained focus.
2771
+ * @param {Core.widget.Widget} params.params.event.fromWidget The widget which lost focus.
2772
+ * @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
2773
+ * @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
2774
+ */
2775
+ (e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
2776
+ /**
2777
+ * Fired before dragging starts, return false to prevent the drag operation.
2778
+ * @param {string} e Event name
2779
+ * @param {object} params Event parameters
2780
+ * @param {string} params.e Event name
2781
+ * @param {object} params.params Event parameters
2782
+ * @param {object} params.params.event Event object
2783
+ * @param {Grid.view.GridBase} params.params.event.source
2784
+ * @param {object} params.params.event.context
2785
+ * @param {Core.data.Model[]} params.params.event.context.records The dragged row records
2786
+ * @param {MouseEvent,TouchEvent} params.params.event.event
2787
+ */
2788
+ (e: 'gridRowBeforeDragStart', params: ((event: { source: GridBase, context: { records: Model[] }, event: MouseEvent|TouchEvent }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
2789
+ /**
2790
+ * Fired before the row drop operation is finalized. You can return false to abort the drop operation, or a
2791
+ * Promise yielding `true` / `false` which allows for asynchronous abort (e.g. first show user a confirmation dialog).
2792
+ * @param {string} e Event name
2793
+ * @param {object} params Event parameters
2794
+ * @param {string} params.e Event name
2795
+ * @param {object} params.params Event parameters
2796
+ * @param {object} params.params.event Event object
2797
+ * @param {Grid.view.GridBase} params.params.event.source
2798
+ * @param {object} params.params.event.context
2799
+ * @param {boolean} params.params.event.context.valid Set this to true or false to indicate whether the drop position is valid
2800
+ * @param {Core.data.Model} params.params.event.context.insertBefore The record to insert before (`null` if inserting at last position of a parent node)
2801
+ * @param {Core.data.Model} params.params.event.context.parent The parent record of the current drop position (only applicable for trees)
2802
+ * @param {Core.data.Model[]} params.params.event.context.records The dragged row records
2803
+ * @param {RecordPositionContext[]} params.params.event.context.oldPositionContext An array of objects with information about the previous tree position. Objects contain the `record`, and its original `parentIndex` and `parentId` values
2804
+ * @param {MouseEvent} params.params.event.event
2805
+ */
2806
+ (e: 'gridRowBeforeDropFinalize', params: ((event: { source: GridBase, context: { valid: boolean, insertBefore: Model, parent: Model, records: Model[], oldPositionContext: RecordPositionContext[] }, event: MouseEvent }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
2807
+ /**
2808
+ * Fired while the row is being dragged, in the listener function you have access to `context.insertBefore` a grid /
2809
+ * tree record, and additionally `context.parent` (a TreeNode) for trees. You can signal that the drop position is
2810
+ * valid or invalid by setting `context.valid = false;`
2811
+ * @param {string} e Event name
2812
+ * @param {object} params Event parameters
2813
+ * @param {string} params.e Event name
2814
+ * @param {object} params.params Event parameters
2815
+ * @param {object} params.params.event Event object
2816
+ * @param {Grid.view.GridBase} params.params.event.source
2817
+ * @param {object} params.params.event.context
2818
+ * @param {boolean} params.params.event.context.valid Set this to true or false to indicate whether the drop position is valid.
2819
+ * @param {Core.data.Model} params.params.event.context.insertBefore The record to insert before (`null` if inserting at last position of a parent node)
2820
+ * @param {Core.data.Model} params.params.event.context.parent The parent record of the current drop position (only applicable for trees)
2821
+ * @param {Core.data.Model[]} params.params.event.context.records The dragged row records
2822
+ * @param {MouseEvent} params.params.event.event
2823
+ */
2824
+ (e: 'gridRowDrag', params: ((event: { source: GridBase, context: { valid: boolean, insertBefore: Model, parent: Model, records: Model[] }, event: MouseEvent }) => void)|string): void
2825
+ /**
2826
+ * Fired when a row drag operation is aborted
2827
+ * @param {string} e Event name
2828
+ * @param {object} params Event parameters
2829
+ * @param {string} params.e Event name
2830
+ * @param {object} params.params Event parameters
2831
+ * @param {object} params.params.event Event object
2832
+ * @param {Grid.view.GridBase} params.params.event.source
2833
+ * @param {object} params.params.event.context
2834
+ * @param {Core.data.Model[]} params.params.event.context.records The dragged row records
2835
+ * @param {MouseEvent} params.params.event.event
2836
+ */
2837
+ (e: 'gridRowDragAbort', params: ((event: { source: GridBase, context: { records: Model[] }, event: MouseEvent }) => void)|string): void
2838
+ /**
2839
+ * Fired when dragging starts.
2840
+ * @param {string} e Event name
2841
+ * @param {object} params Event parameters
2842
+ * @param {string} params.e Event name
2843
+ * @param {object} params.params Event parameters
2844
+ * @param {object} params.params.event Event object
2845
+ * @param {Grid.view.GridBase} params.params.event.source
2846
+ * @param {object} params.params.event.context
2847
+ * @param {Core.data.Model[]} params.params.event.context.records The dragged row records
2848
+ * @param {MouseEvent,TouchEvent} params.params.event.event
2849
+ */
2850
+ (e: 'gridRowDragStart', params: ((event: { source: GridBase, context: { records: Model[] }, event: MouseEvent|TouchEvent }) => void)|string): void
2851
+ /**
2852
+ * Fired after the row drop operation has completed, regardless of validity
2853
+ * @param {string} e Event name
2854
+ * @param {object} params Event parameters
2855
+ * @param {string} params.e Event name
2856
+ * @param {object} params.params Event parameters
2857
+ * @param {object} params.params.event Event object
2858
+ * @param {Grid.view.GridBase} params.params.event.source
2859
+ * @param {object} params.params.event.context
2860
+ * @param {boolean} params.params.event.context.valid true or false depending on whether the drop position was valid
2861
+ * @param {Core.data.Model} params.params.event.context.insertBefore The record to insert before (`null` if inserting at last position of a parent node)
2862
+ * @param {Core.data.Model} params.params.event.context.parent The parent record of the current drop position (only applicable for trees)
2863
+ * @param {Core.data.Model[]} params.params.event.context.records The dragged row records
2864
+ * @param {RecordPositionContext[]} params.params.event.context.oldPositionContext An array of objects with information about the previous tree position. Objects contain the record, and its original `parentIndex` and `parentId` values
2865
+ * @param {MouseEvent} params.params.event.event
2866
+ */
2867
+ (e: 'gridRowDrop', params: ((event: { source: GridBase, context: { valid: boolean, insertBefore: Model, parent: Model, records: Model[], oldPositionContext: RecordPositionContext[] }, event: MouseEvent }) => void)|string): void
2868
+ /**
2869
+ * Fired when a grid header is clicked on.
2870
+ * ...
2871
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-headerClick)
2872
+ * @param {string} e Event name
2873
+ * @param {object} params Event parameters
2874
+ * @param {string} params.e Event name
2875
+ * @param {object} params.params Event parameters
2876
+ * @param {object} params.params.event Event object
2877
+ * @param {Event} params.params.event.domEvent The triggering DOM event.
2878
+ * @param {Grid.column.Column} params.params.event.column The column clicked on.
2879
+ */
2880
+ (e: 'headerClick', params: ((event: { domEvent: Event, column: Column }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
2881
+ /**
2882
+ * This event fires on the owning Grid before the context menu is shown for a header.
2883
+ * Allows manipulation of the items to show in the same way as in the [processItems](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/HeaderMenu#config-processItems).
2884
+ * ...
2885
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-headerMenuBeforeShow)
2886
+ * @param {string} e Event name
2887
+ * @param {object} params Event parameters
2888
+ * @param {string} params.e Event name
2889
+ * @param {object} params.params Event parameters
2890
+ * @param {object} params.params.event Event object
2891
+ * @param {Grid.view.Grid} params.params.event.source The grid
2892
+ * @param {Core.widget.Menu} params.params.event.menu The menu
2893
+ * @param {Record<string, MenuItemEntry>} params.params.event.items Menu item configs
2894
+ * @param {Grid.column.Column} params.params.event.column Column
2895
+ */
2896
+ (e: 'headerMenuBeforeShow', params: ((event: { source: Grid, menu: Menu, items: Record<string, MenuItemEntry>, column: Column }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
2897
+ /**
2898
+ * This event fires on the owning Grid when an item is selected in the header context menu.
2899
+ * @param {string} e Event name
2900
+ * @param {object} params Event parameters
2901
+ * @param {string} params.e Event name
2902
+ * @param {object} params.params Event parameters
2903
+ * @param {object} params.params.event Event object
2904
+ * @param {Grid.view.Grid} params.params.event.source The grid
2905
+ * @param {Core.widget.Menu} params.params.event.menu The menu
2906
+ * @param {Core.widget.MenuItem} params.params.event.item Selected menu item
2907
+ * @param {Grid.column.Column} params.params.event.column Column
2908
+ */
2909
+ (e: 'headerMenuItem', params: ((event: { source: Grid, menu: Menu, item: MenuItem, column: Column }) => void)|string): void
2910
+ /**
2911
+ * This event fires on the owning Grid after the context menu is shown for a header
2912
+ * @param {string} e Event name
2913
+ * @param {object} params Event parameters
2914
+ * @param {string} params.e Event name
2915
+ * @param {object} params.params Event parameters
2916
+ * @param {object} params.params.event Event object
2917
+ * @param {Grid.view.Grid} params.params.event.source The grid
2918
+ * @param {Core.widget.Menu} params.params.event.menu The menu
2919
+ * @param {Record<string, MenuItemEntry>} params.params.event.items Menu item configs
2920
+ * @param {Grid.column.Column} params.params.event.column Column
2921
+ */
2922
+ (e: 'headerMenuShow', params: ((event: { source: Grid, menu: Menu, items: Record<string, MenuItemEntry>, column: Column }) => void)|string): void
2923
+ /**
2924
+ * This event fires on the owning Grid when a check item is toggled in the header context menu.
2925
+ * @param {string} e Event name
2926
+ * @param {object} params Event parameters
2927
+ * @param {string} params.e Event name
2928
+ * @param {object} params.params Event parameters
2929
+ * @param {object} params.params.event Event object
2930
+ * @param {Grid.view.Grid} params.params.event.source The grid
2931
+ * @param {Core.widget.Menu} params.params.event.menu The menu
2932
+ * @param {Core.widget.MenuItem} params.params.event.item Selected menu item
2933
+ * @param {Grid.column.Column} params.params.event.column Column
2934
+ * @param {boolean} params.params.event.checked Checked or not
2935
+ */
2936
+ (e: 'headerMenuToggleItem', params: ((event: { source: Grid, menu: Menu, item: MenuItem, column: Column, checked: boolean }) => void)|string): void
2937
+ /**
2938
+ * Triggered after a widget was hidden
2939
+ * @param {string} e Event name
2940
+ * @param {object} params Event parameters
2941
+ * @param {string} params.e Event name
2942
+ * @param {object} params.params Event parameters
2943
+ * @param {object} params.params.event Event object
2944
+ * @param {Core.widget.Widget} params.params.event.source The widget
2945
+ */
2946
+ (e: 'hide', params: ((event: { source: Widget }) => void)|string): void
2947
+ /**
2948
+ * Fires after the component retrieves a record's histogram data and stores
2949
+ * it into the cache.
2950
+ * ...
2951
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-histogramDataCacheSet)
2952
+ * @param {string} e Event name
2953
+ * @param {object} params Event parameters
2954
+ * @param {string} params.e Event name
2955
+ * @param {object} params.params Event parameters
2956
+ * @param {object} params.params.event Event object
2957
+ * @param {Scheduler.view.TimelineHistogram} params.params.event.source The component instance
2958
+ * @param {Core.data.Model} params.params.event.record Record the histogram data of which is ready.
2959
+ * @param {object} params.params.event.data The record histogram data.
2960
+ */
2961
+ (e: 'histogramDataCacheSet', params: ((event: { source: TimelineHistogram, record: Model, data: object }) => void)|string): void
2962
+ /**
2963
+ * Fires when row locking is enabled.
2964
+ * @param {string} e Event name
2965
+ * @param {object} params Event parameters
2966
+ * @param {string} params.e Event name
2967
+ * @param {object} params.params Event parameters
2968
+ * @param {object} params.params.event Event object
2969
+ * @param {Grid.view.GridBase} params.params.event.clone The created clone
2970
+ */
2971
+ (e: 'lockRows', params: ((event: { clone: GridBase }) => void)|string): void
2972
+ /**
2973
+ * Mouse moved out from element in grid
2974
+ * @param {string} e Event name
2975
+ * @param {object} params Event parameters
2976
+ * @param {string} params.e Event name
2977
+ * @param {object} params.params Event parameters
2978
+ * @param {object} params.params.event Event object
2979
+ * @param {MouseEvent} params.params.event.event The native browser event
2980
+ */
2981
+ (e: 'mouseOut', params: ((event: { event: MouseEvent }) => void)|string): void
2982
+ /**
2983
+ * Mouse moved in over element in grid
2984
+ * @param {string} e Event name
2985
+ * @param {object} params Event parameters
2986
+ * @param {string} params.e Event name
2987
+ * @param {object} params.params Event parameters
2988
+ * @param {object} params.params.event Event object
2989
+ * @param {MouseEvent} params.params.event.event The native browser event
2990
+ */
2991
+ (e: 'mouseOver', params: ((event: { event: MouseEvent }) => void)|string): void
2992
+ /**
2993
+ * Fires when the requested date range cannot fit into any zoom level higher than the current level.
2994
+ * @param {string} e Event name
2995
+ * @param {object} params Event parameters
2996
+ * @param {string} params.e Event name
2997
+ * @param {object} params.params Event parameters
2998
+ * @param {object} params.params.event Event object
2999
+ * @param {number} params.params.event.currentZoomLevel The current zoom level
3000
+ * @param {Date} params.params.event.startDate The requested start date
3001
+ * @param {Date} params.params.event.endDate The requested end date
3002
+ */
3003
+ (e: 'noZoomChange', params: ((event: { currentZoomLevel: number, startDate: Date, endDate: Date }) => void)|string): void
3004
+ /**
3005
+ * Triggered when a widget which had been in a non-visible state for any reason
3006
+ * achieves visibility.
3007
+ * ...
3008
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-paint)
3009
+ * @param {string} e Event name
3010
+ * @param {object} params Event parameters
3011
+ * @param {string} params.e Event name
3012
+ * @param {object} params.params Event parameters
3013
+ * @param {object} params.params.event Event object
3014
+ * @param {Core.widget.Widget} params.params.event.source The widget being painted.
3015
+ * @param {boolean} params.params.event.firstPaint `true` if this is the first paint.
3016
+ */
3017
+ (e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void
3018
+ /**
3019
+ * Fires on the owning Grid after a paste action is performed.
3020
+ * @param {string} e Event name
3021
+ * @param {object} params Event parameters
3022
+ * @param {string} params.e Event name
3023
+ * @param {object} params.params Event parameters
3024
+ * @param {object} params.params.event Event object
3025
+ * @param {Grid.view.Grid} params.params.event.source Owner grid
3026
+ * @param {string} params.params.event.clipboardData The clipboardData that was pasted
3027
+ * @param {Core.data.Model[]} params.params.event.modifiedRecords The records which have been modified due to the paste action
3028
+ * @param {Grid.util.GridLocation} params.params.event.targetCell The cell from which the paste will be started
3029
+ * @param {string} params.params.event.entityName 'cell' to distinguish this event from other paste events
3030
+ */
3031
+ (e: 'paste', params: ((event: { source: Grid, clipboardData: string, modifiedRecords: Model[], targetCell: GridLocation, entityName: string }) => void)|string): void
3032
+ /**
3033
+ * Fires on the owning view after a paste action is performed.
3034
+ * @param {string} e Event name
3035
+ * @param {object} params Event parameters
3036
+ * @param {string} params.e Event name
3037
+ * @param {object} params.params Event parameters
3038
+ * @param {object} params.params.event Event object
3039
+ * @param {SchedulerPro.view.ResourceUtilization} params.params.event.source Owner view
3040
+ * @param {string} params.params.event.clipboardData The clipboardData that was pasted
3041
+ * @param {Core.data.Model[]} params.params.event.modifiedRecords The records which have been modified due to the paste action
3042
+ * @param {Scheduler.util.TimelineContext} params.params.event.targetCell The cell from which the paste will be started
3043
+ */
3044
+ (e: 'pasteTimelineCells', params: ((event: { source: ResourceUtilization, clipboardData: string, modifiedRecords: Model[], targetCell: TimelineContext }) => void)|string): void
3045
+ /**
3046
+ * Fires on the owning Grid when export has finished
3047
+ * @param {string} e Event name
3048
+ * @param {object} params Event parameters
3049
+ * @param {string} params.e Event name
3050
+ * @param {object} params.params Event parameters
3051
+ * @param {object} params.params.event Event object
3052
+ * @param {Response} params.params.event.response Optional response, if received
3053
+ * @param {Error} params.params.event.error Optional error, if exception occurred
3054
+ */
3055
+ (e: 'pdfExport', params: ((event: { response?: any, error?: Error }) => void)|string): void
3056
+ /**
3057
+ * Fired after the [viewPreset](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/mixin/TimelineViewPresets#config-viewPreset) has changed.
3058
+ * @param {string} e Event name
3059
+ * @param {object} params Event parameters
3060
+ * @param {string} params.e Event name
3061
+ * @param {object} params.params Event parameters
3062
+ * @param {object} params.params.event Event object
3063
+ * @param {Scheduler.view.Scheduler} params.params.event.source This Scheduler instance.
3064
+ * @param {Date} params.params.event.startDate The new start date of the timeline.
3065
+ * @param {Date} params.params.event.centerDate The new center date of the timeline.
3066
+ * @param {Date} params.params.event.endDate The new end date of the timeline.
3067
+ * @param {Scheduler.preset.ViewPreset} params.params.event.from The outgoing ViewPreset.
3068
+ * @param {Scheduler.preset.ViewPreset} params.params.event.to The ViewPreset being switched to.
3069
+ */
3070
+ (e: 'presetChange', params: ((event: { source: Scheduler, startDate: Date, centerDate: Date, endDate: Date, from: ViewPreset, to: ViewPreset }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
3071
+ /**
3072
+ * Fired when a Widget's read only state is toggled
3073
+ * @param {string} e Event name
3074
+ * @param {object} params Event parameters
3075
+ * @param {string} params.e Event name
3076
+ * @param {object} params.params Event parameters
3077
+ * @param {object} params.params.event Event object
3078
+ * @param {boolean} params.params.event.readOnly Read only or not
3079
+ */
3080
+ (e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void
3081
+ /**
3082
+ * This event is fired after a widget's elements have been synchronized due to a direct or indirect call
3083
+ * to [recompose](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#function-recompose), if this results in some change to the widget's rendered DOM elements.
3084
+ */
3085
+ (e: 'recompose', params: (() => void)|string): void
3086
+ /**
3087
+ * Fires after a row is rendered.
3088
+ * @param {string} e Event name
3089
+ * @param {object} params Event parameters
3090
+ * @param {string} params.e Event name
3091
+ * @param {object} params.params Event parameters
3092
+ * @param {object} params.params.event Event object
3093
+ * @param {Grid.view.Grid} params.params.event.source The firing Grid instance.
3094
+ * @param {Grid.row.Row} params.params.event.row The row that has been rendered.
3095
+ * @param {Core.data.Model} params.params.event.record The record for the row.
3096
+ * @param {number} params.params.event.recordIndex The zero-based index of the record.
3097
+ */
3098
+ (e: 'renderRow', params: ((event: { source: Grid, row: Row, record: Model, recordIndex: number }) => void)|string): void
3099
+ /**
3100
+ * Grid rows have been rendered
3101
+ * @param {string} e Event name
3102
+ * @param {object} params Event parameters
3103
+ * @param {string} params.e Event name
3104
+ * @param {object} params.params Event parameters
3105
+ * @param {object} params.params.event Event object
3106
+ * @param {Grid.view.Grid} params.params.event.source This grid.
3107
+ */
3108
+ (e: 'renderRows', params: ((event: { source: Grid }) => void)|string): void
3109
+ /**
3110
+ * Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
3111
+ * @param {string} e Event name
3112
+ * @param {object} params Event parameters
3113
+ * @param {string} params.e Event name
3114
+ * @param {object} params.params Event parameters
3115
+ * @param {object} params.params.event Event object
3116
+ * @param {Core.widget.Widget} params.params.event.source This Widget
3117
+ * @param {number} params.params.event.width The new width
3118
+ * @param {number} params.params.event.height The new height
3119
+ * @param {number} params.params.event.oldWidth The old width
3120
+ * @param {number} params.params.event.oldHeight The old height
3121
+ */
3122
+ (e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void
3123
+ /**
3124
+ * This event fires on the owning scheduler before the context menu is shown for a resource.
3125
+ * Allows manipulation of the items to show in the same way as in the [processItems](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/ResourceMenu#config-processItems).
3126
+ * ...
3127
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-resourceMenuBeforeShow)
3128
+ * @param {string} e Event name
3129
+ * @param {object} params Event parameters
3130
+ * @param {string} params.e Event name
3131
+ * @param {object} params.params Event parameters
3132
+ * @param {object} params.params.event Event object
3133
+ * @param {Scheduler.view.Scheduler} params.params.event.source The grid
3134
+ * @param {Core.widget.Menu} params.params.event.menu The menu
3135
+ * @param {Record<string, MenuItemEntry>} params.params.event.items Menu item configs
3136
+ * @param {Grid.column.Column} params.params.event.column Column
3137
+ * @param {Scheduler.model.SchedulerResourceModel} params.params.event.resourceRecord Record
3138
+ */
3139
+ (e: 'resourceMenuBeforeShow', params: ((event: { source: Scheduler, menu: Menu, items: Record<string, MenuItemEntry>, column: Column, resourceRecord: SchedulerResourceModel }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
3140
+ /**
3141
+ * This event fires on the owning scheduler when an item is selected in the context menu.
3142
+ * @param {string} e Event name
3143
+ * @param {object} params Event parameters
3144
+ * @param {string} params.e Event name
3145
+ * @param {object} params.params Event parameters
3146
+ * @param {object} params.params.event Event object
3147
+ * @param {Scheduler.view.Scheduler} params.params.event.source The grid
3148
+ * @param {Core.widget.Menu} params.params.event.menu The menu
3149
+ * @param {Core.widget.MenuItem} params.params.event.item Selected menu item
3150
+ * @param {Scheduler.model.SchedulerResourceModel} params.params.event.record Record
3151
+ */
3152
+ (e: 'resourceMenuItem', params: ((event: { source: Scheduler, menu: Menu, item: MenuItem, record: SchedulerResourceModel }) => void)|string): void
3153
+ /**
3154
+ * This event fires on the owning scheduler after the context menu is shown for a resource.
3155
+ * @param {string} e Event name
3156
+ * @param {object} params Event parameters
3157
+ * @param {string} params.e Event name
3158
+ * @param {object} params.params Event parameters
3159
+ * @param {object} params.params.event Event object
3160
+ * @param {Scheduler.view.Scheduler} params.params.event.source The grid
3161
+ * @param {Core.widget.Menu} params.params.event.menu The menu
3162
+ * @param {Record<string, MenuItemEntry>} params.params.event.items Menu item configs
3163
+ * @param {Scheduler.model.SchedulerResourceModel} params.params.event.record Record
3164
+ */
3165
+ (e: 'resourceMenuShow', params: ((event: { source: Scheduler, menu: Menu, items: Record<string, MenuItemEntry>, record: SchedulerResourceModel }) => void)|string): void
3166
+ /**
3167
+ * This event fires on the owning grid when a check item is toggled in the context menu.
3168
+ * @param {string} e Event name
3169
+ * @param {object} params Event parameters
3170
+ * @param {string} params.e Event name
3171
+ * @param {object} params.params Event parameters
3172
+ * @param {object} params.params.event Event object
3173
+ * @param {Scheduler.view.Scheduler} params.params.event.source The grid
3174
+ * @param {Core.widget.Menu} params.params.event.menu The menu
3175
+ * @param {Core.widget.MenuItem} params.params.event.item Selected menu item
3176
+ * @param {Scheduler.model.SchedulerResourceModel} params.params.event.resourceRecord Record
3177
+ * @param {boolean} params.params.event.checked Checked or not
3178
+ */
3179
+ (e: 'resourceMenuToggleItem', params: ((event: { source: Scheduler, menu: Menu, item: MenuItem, resourceRecord: SchedulerResourceModel, checked: boolean }) => void)|string): void
3180
+ /**
3181
+ * Triggered for click on a resource nonworking time range. Only triggered if the ResourceNonWorkingTime feature is configured with
3182
+ * `enableMouseEvents: true`.
3183
+ * @param {string} e Event name
3184
+ * @param {object} params Event parameters
3185
+ * @param {string} params.e Event name
3186
+ * @param {object} params.params Event parameters
3187
+ * @param {object} params.params.event Event object
3188
+ * @param {SchedulerPro.view.SchedulerPro} params.params.event.source This Scheduler
3189
+ * @param {SchedulerPro.feature.ResourceNonWorkingTime} params.params.event.feature The ResourceNonWorkingTime feature
3190
+ * @param {Scheduler.model.ResourceTimeRangeModel} params.params.event.resourceTimeRangeRecord Resource time range record
3191
+ * @param {Scheduler.model.SchedulerResourceModel} params.params.event.resourceRecord Resource record
3192
+ * @param {MouseEvent} params.params.event.domEvent Browser event
3193
+ */
3194
+ (e: 'resourceNonWorkingTimeClick', params: ((event: { source: SchedulerPro, feature: ResourceNonWorkingTime, resourceTimeRangeRecord: ResourceTimeRangeModel, resourceRecord: SchedulerResourceModel, domEvent: MouseEvent }) => void)|string): void
3195
+ /**
3196
+ * Triggered for right-click on a resource nonworking time range. Only triggered if the ResourceNonWorkingTime feature is configured
3197
+ * with `enableMouseEvents: true`.
3198
+ * @param {string} e Event name
3199
+ * @param {object} params Event parameters
3200
+ * @param {string} params.e Event name
3201
+ * @param {object} params.params Event parameters
3202
+ * @param {object} params.params.event Event object
3203
+ * @param {SchedulerPro.view.SchedulerPro} params.params.event.source This Scheduler
3204
+ * @param {SchedulerPro.feature.ResourceNonWorkingTime} params.params.event.feature The ResourceNonWorkingTime feature
3205
+ * @param {Scheduler.model.ResourceTimeRangeModel} params.params.event.resourceTimeRangeRecord Resource time range record
3206
+ * @param {Scheduler.model.SchedulerResourceModel} params.params.event.resourceRecord Resource record
3207
+ * @param {MouseEvent} params.params.event.domEvent Browser event
3208
+ */
3209
+ (e: 'resourceNonWorkingTimeContextMenu', params: ((event: { source: SchedulerPro, feature: ResourceNonWorkingTime, resourceTimeRangeRecord: ResourceTimeRangeModel, resourceRecord: SchedulerResourceModel, domEvent: MouseEvent }) => void)|string): void
3210
+ /**
3211
+ * Triggered for double-click on a resource nonworking time range. Only triggered if the ResourceNonWorkingTime feature is configured
3212
+ * with `enableMouseEvents: true`.
3213
+ * @param {string} e Event name
3214
+ * @param {object} params Event parameters
3215
+ * @param {string} params.e Event name
3216
+ * @param {object} params.params Event parameters
3217
+ * @param {object} params.params.event Event object
3218
+ * @param {SchedulerPro.view.SchedulerPro} params.params.event.source This Scheduler
3219
+ * @param {SchedulerPro.feature.ResourceNonWorkingTime} params.params.event.feature The ResourceNonWorkingTime feature
3220
+ * @param {Scheduler.model.ResourceTimeRangeModel} params.params.event.resourceTimeRangeRecord Resource time range record
3221
+ * @param {Scheduler.model.SchedulerResourceModel} params.params.event.resourceRecord Resource record
3222
+ * @param {MouseEvent} params.params.event.domEvent Browser event
3223
+ */
3224
+ (e: 'resourceNonWorkingTimeDblClick', params: ((event: { source: SchedulerPro, feature: ResourceNonWorkingTime, resourceTimeRangeRecord: ResourceTimeRangeModel, resourceRecord: SchedulerResourceModel, domEvent: MouseEvent }) => void)|string): void
3225
+ /**
3226
+ * Triggered for mouse down ona resource nonworking time range. Only triggered if the ResourceNonWorkingTime feature is configured
3227
+ * with `enableMouseEvents: true`.
3228
+ * @param {string} e Event name
3229
+ * @param {object} params Event parameters
3230
+ * @param {string} params.e Event name
3231
+ * @param {object} params.params Event parameters
3232
+ * @param {object} params.params.event Event object
3233
+ * @param {SchedulerPro.view.SchedulerPro} params.params.event.source This Scheduler
3234
+ * @param {SchedulerPro.feature.ResourceNonWorkingTime} params.params.event.feature The ResourceNonWorkingTime feature
3235
+ * @param {Scheduler.model.ResourceTimeRangeModel} params.params.event.resourceTimeRangeRecord Resource time range record
3236
+ * @param {Scheduler.model.SchedulerResourceModel} params.params.event.resourceRecord Resource record
3237
+ * @param {MouseEvent} params.params.event.domEvent Browser event
3238
+ */
3239
+ (e: 'resourceNonWorkingTimeMouseDown', params: ((event: { source: SchedulerPro, feature: ResourceNonWorkingTime, resourceTimeRangeRecord: ResourceTimeRangeModel, resourceRecord: SchedulerResourceModel, domEvent: MouseEvent }) => void)|string): void
3240
+ /**
3241
+ * Triggered for mouse out of a resource nonworking time range. Only triggered if the ResourceNonWorkingTime feature is configured
3242
+ * with `enableMouseEvents: true`.
3243
+ * @param {string} e Event name
3244
+ * @param {object} params Event parameters
3245
+ * @param {string} params.e Event name
3246
+ * @param {object} params.params Event parameters
3247
+ * @param {object} params.params.event Event object
3248
+ * @param {SchedulerPro.view.SchedulerPro} params.params.event.source This Scheduler
3249
+ * @param {SchedulerPro.feature.ResourceNonWorkingTime} params.params.event.feature The ResourceNonWorkingTime feature
3250
+ * @param {Scheduler.model.ResourceTimeRangeModel} params.params.event.resourceTimeRangeRecord Resource time range record
3251
+ * @param {Scheduler.model.SchedulerResourceModel} params.params.event.resourceRecord Resource record
3252
+ * @param {MouseEvent} params.params.event.domEvent Browser event
3253
+ */
3254
+ (e: 'resourceNonWorkingTimeMouseOut', params: ((event: { source: SchedulerPro, feature: ResourceNonWorkingTime, resourceTimeRangeRecord: ResourceTimeRangeModel, resourceRecord: SchedulerResourceModel, domEvent: MouseEvent }) => void)|string): void
3255
+ /**
3256
+ * Triggered for mouse over on a resource nonworking time range. Only triggered if the ResourceNonWorkingTime feature is configured
3257
+ * with `enableMouseEvents: true`.
3258
+ * @param {string} e Event name
3259
+ * @param {object} params Event parameters
3260
+ * @param {string} params.e Event name
3261
+ * @param {object} params.params Event parameters
3262
+ * @param {object} params.params.event Event object
3263
+ * @param {SchedulerPro.view.SchedulerPro} params.params.event.source This Scheduler
3264
+ * @param {SchedulerPro.feature.ResourceNonWorkingTime} params.params.event.feature The ResourceNonWorkingTime feature
3265
+ * @param {Scheduler.model.ResourceTimeRangeModel} params.params.event.resourceTimeRangeRecord Resource time range record
3266
+ * @param {Scheduler.model.SchedulerResourceModel} params.params.event.resourceRecord Resource record
3267
+ * @param {MouseEvent} params.params.event.domEvent Browser event
3268
+ */
3269
+ (e: 'resourceNonWorkingTimeMouseOver', params: ((event: { source: SchedulerPro, feature: ResourceNonWorkingTime, resourceTimeRangeRecord: ResourceTimeRangeModel, resourceRecord: SchedulerResourceModel, domEvent: MouseEvent }) => void)|string): void
3270
+ /**
3271
+ * Triggered for mouse up ona resource nonworking time range. Only triggered if the ResourceNonWorkingTime feature is configured
3272
+ * with `enableMouseEvents: true`.
3273
+ * @param {string} e Event name
3274
+ * @param {object} params Event parameters
3275
+ * @param {string} params.e Event name
3276
+ * @param {object} params.params Event parameters
3277
+ * @param {object} params.params.event Event object
3278
+ * @param {SchedulerPro.view.SchedulerPro} params.params.event.source This Scheduler
3279
+ * @param {SchedulerPro.feature.ResourceNonWorkingTime} params.params.event.feature The ResourceNonWorkingTime feature
3280
+ * @param {Scheduler.model.ResourceTimeRangeModel} params.params.event.resourceTimeRangeRecord Resource time range record
3281
+ * @param {Scheduler.model.SchedulerResourceModel} params.params.event.resourceRecord Resource record
3282
+ * @param {MouseEvent} params.params.event.domEvent Browser event
3283
+ */
3284
+ (e: 'resourceNonWorkingTimeMouseUp', params: ((event: { source: SchedulerPro, feature: ResourceNonWorkingTime, resourceTimeRangeRecord: ResourceTimeRangeModel, resourceRecord: SchedulerResourceModel, domEvent: MouseEvent }) => void)|string): void
3285
+ /**
3286
+ * Triggered for click on a resource time range. Only triggered if the ResourceTimeRange feature is configured with
3287
+ * `enableMouseEvents: true`.
3288
+ * @param {string} e Event name
3289
+ * @param {object} params Event parameters
3290
+ * @param {string} params.e Event name
3291
+ * @param {object} params.params Event parameters
3292
+ * @param {object} params.params.event Event object
3293
+ * @param {Scheduler.view.Scheduler} params.params.event.source This Scheduler
3294
+ * @param {Scheduler.feature.ResourceTimeRanges} params.params.event.feature The ResourceTimeRange feature
3295
+ * @param {Scheduler.model.ResourceTimeRangeModel} params.params.event.resourceTimeRangeRecord Resource time range record
3296
+ * @param {Scheduler.model.SchedulerResourceModel} params.params.event.resourceRecord Resource record
3297
+ * @param {MouseEvent} params.params.event.domEvent Browser event
3298
+ */
3299
+ (e: 'resourceTimeRangeClick', params: ((event: { source: Scheduler, feature: ResourceTimeRanges, resourceTimeRangeRecord: ResourceTimeRangeModel, resourceRecord: SchedulerResourceModel, domEvent: MouseEvent }) => void)|string): void
3300
+ /**
3301
+ * Triggered for right-click on a resource time range. Only triggered if the ResourceTimeRange feature is configured
3302
+ * with `enableMouseEvents: true`.
3303
+ * @param {string} e Event name
3304
+ * @param {object} params Event parameters
3305
+ * @param {string} params.e Event name
3306
+ * @param {object} params.params Event parameters
3307
+ * @param {object} params.params.event Event object
3308
+ * @param {Scheduler.view.Scheduler} params.params.event.source This Scheduler
3309
+ * @param {Scheduler.feature.ResourceTimeRanges} params.params.event.feature The ResourceTimeRange feature
3310
+ * @param {Scheduler.model.ResourceTimeRangeModel} params.params.event.resourceTimeRangeRecord Resource time range record
3311
+ * @param {Scheduler.model.SchedulerResourceModel} params.params.event.resourceRecord Resource record
3312
+ * @param {MouseEvent} params.params.event.domEvent Browser event
3313
+ */
3314
+ (e: 'resourceTimeRangeContextMenu', params: ((event: { source: Scheduler, feature: ResourceTimeRanges, resourceTimeRangeRecord: ResourceTimeRangeModel, resourceRecord: SchedulerResourceModel, domEvent: MouseEvent }) => void)|string): void
3315
+ /**
3316
+ * Triggered for double-click on a resource time range. Only triggered if the ResourceTimeRange feature is configured
3317
+ * with `enableMouseEvents: true`.
3318
+ * @param {string} e Event name
3319
+ * @param {object} params Event parameters
3320
+ * @param {string} params.e Event name
3321
+ * @param {object} params.params Event parameters
3322
+ * @param {object} params.params.event Event object
3323
+ * @param {Scheduler.view.Scheduler} params.params.event.source This Scheduler
3324
+ * @param {Scheduler.feature.ResourceTimeRanges} params.params.event.feature The ResourceTimeRange feature
3325
+ * @param {Scheduler.model.ResourceTimeRangeModel} params.params.event.resourceTimeRangeRecord Resource time range record
3326
+ * @param {Scheduler.model.SchedulerResourceModel} params.params.event.resourceRecord Resource record
3327
+ * @param {MouseEvent} params.params.event.domEvent Browser event
3328
+ */
3329
+ (e: 'resourceTimeRangeDblClick', params: ((event: { source: Scheduler, feature: ResourceTimeRanges, resourceTimeRangeRecord: ResourceTimeRangeModel, resourceRecord: SchedulerResourceModel, domEvent: MouseEvent }) => void)|string): void
3330
+ /**
3331
+ * Triggered for mouse down ona resource time range. Only triggered if the ResourceTimeRange feature is configured
3332
+ * with `enableMouseEvents: true`.
3333
+ * @param {string} e Event name
3334
+ * @param {object} params Event parameters
3335
+ * @param {string} params.e Event name
3336
+ * @param {object} params.params Event parameters
3337
+ * @param {object} params.params.event Event object
3338
+ * @param {Scheduler.view.Scheduler} params.params.event.source This Scheduler
3339
+ * @param {Scheduler.feature.ResourceTimeRanges} params.params.event.feature The ResourceTimeRange feature
3340
+ * @param {Scheduler.model.ResourceTimeRangeModel} params.params.event.resourceTimeRangeRecord Resource time range record
3341
+ * @param {Scheduler.model.SchedulerResourceModel} params.params.event.resourceRecord Resource record
3342
+ * @param {MouseEvent} params.params.event.domEvent Browser event
3343
+ */
3344
+ (e: 'resourceTimeRangeMouseDown', params: ((event: { source: Scheduler, feature: ResourceTimeRanges, resourceTimeRangeRecord: ResourceTimeRangeModel, resourceRecord: SchedulerResourceModel, domEvent: MouseEvent }) => void)|string): void
3345
+ /**
3346
+ * Triggered for mouse out of a resource time range. Only triggered if the ResourceTimeRange feature is configured
3347
+ * with `enableMouseEvents: true`.
3348
+ * @param {string} e Event name
3349
+ * @param {object} params Event parameters
3350
+ * @param {string} params.e Event name
3351
+ * @param {object} params.params Event parameters
3352
+ * @param {object} params.params.event Event object
3353
+ * @param {Scheduler.view.Scheduler} params.params.event.source This Scheduler
3354
+ * @param {Scheduler.feature.ResourceTimeRanges} params.params.event.feature The ResourceTimeRange feature
3355
+ * @param {Scheduler.model.ResourceTimeRangeModel} params.params.event.resourceTimeRangeRecord Resource time range record
3356
+ * @param {Scheduler.model.SchedulerResourceModel} params.params.event.resourceRecord Resource record
3357
+ * @param {MouseEvent} params.params.event.domEvent Browser event
3358
+ */
3359
+ (e: 'resourceTimeRangeMouseOut', params: ((event: { source: Scheduler, feature: ResourceTimeRanges, resourceTimeRangeRecord: ResourceTimeRangeModel, resourceRecord: SchedulerResourceModel, domEvent: MouseEvent }) => void)|string): void
3360
+ /**
3361
+ * Triggered for mouse over on a resource time range. Only triggered if the ResourceTimeRange feature is configured
3362
+ * with `enableMouseEvents: true`.
3363
+ * @param {string} e Event name
3364
+ * @param {object} params Event parameters
3365
+ * @param {string} params.e Event name
3366
+ * @param {object} params.params Event parameters
3367
+ * @param {object} params.params.event Event object
3368
+ * @param {Scheduler.view.Scheduler} params.params.event.source This Scheduler
3369
+ * @param {Scheduler.feature.ResourceTimeRanges} params.params.event.feature The ResourceTimeRange feature
3370
+ * @param {Scheduler.model.ResourceTimeRangeModel} params.params.event.resourceTimeRangeRecord Resource time range record
3371
+ * @param {Scheduler.model.SchedulerResourceModel} params.params.event.resourceRecord Resource record
3372
+ * @param {MouseEvent} params.params.event.domEvent Browser event
3373
+ */
3374
+ (e: 'resourceTimeRangeMouseOver', params: ((event: { source: Scheduler, feature: ResourceTimeRanges, resourceTimeRangeRecord: ResourceTimeRangeModel, resourceRecord: SchedulerResourceModel, domEvent: MouseEvent }) => void)|string): void
3375
+ /**
3376
+ * Triggered for mouse up ona resource time range. Only triggered if the ResourceTimeRange feature is configured
3377
+ * with `enableMouseEvents: true`.
3378
+ * @param {string} e Event name
3379
+ * @param {object} params Event parameters
3380
+ * @param {string} params.e Event name
3381
+ * @param {object} params.params Event parameters
3382
+ * @param {object} params.params.event Event object
3383
+ * @param {Scheduler.view.Scheduler} params.params.event.source This Scheduler
3384
+ * @param {Scheduler.feature.ResourceTimeRanges} params.params.event.feature The ResourceTimeRange feature
3385
+ * @param {Scheduler.model.ResourceTimeRangeModel} params.params.event.resourceTimeRangeRecord Resource time range record
3386
+ * @param {Scheduler.model.SchedulerResourceModel} params.params.event.resourceRecord Resource record
3387
+ * @param {MouseEvent} params.params.event.domEvent Browser event
3388
+ */
3389
+ (e: 'resourceTimeRangeMouseUp', params: ((event: { source: Scheduler, feature: ResourceTimeRanges, resourceTimeRangeRecord: ResourceTimeRangeModel, resourceRecord: SchedulerResourceModel, domEvent: MouseEvent }) => void)|string): void
3390
+ /**
3391
+ * Grid resize lead to a new responsive level being applied
3392
+ * @param {string} e Event name
3393
+ * @param {object} params Event parameters
3394
+ * @param {string} params.e Event name
3395
+ * @param {object} params.params Event parameters
3396
+ * @param {object} params.params.event Event object
3397
+ * @param {Grid.view.Grid} params.params.event.grid Grid that was resized
3398
+ * @param {string} params.params.event.level New responsive level (small, large, etc)
3399
+ * @param {number} params.params.event.width New width in px
3400
+ * @param {string} params.params.event.oldLevel Old responsive level
3401
+ * @param {number} params.params.event.oldWidth Old width in px
3402
+ */
3403
+ (e: 'responsive', params: ((event: { grid: Grid, level: string, width: number, oldLevel: string, oldWidth: number }) => void)|string): void
3404
+ /**
3405
+ * This event fires when a row has finished collapsing.
3406
+ * @param {string} e Event name
3407
+ * @param {object} params Event parameters
3408
+ * @param {string} params.e Event name
3409
+ * @param {object} params.params Event parameters
3410
+ * @param {object} params.params.event Event object
3411
+ * @param {Core.data.Model} params.params.event.record Record
3412
+ */
3413
+ (e: 'rowCollapse', params: ((event: { record: Model }) => void)|string): void
3414
+ /**
3415
+ * This event fires when a row expand has finished expanding.
3416
+ * ...
3417
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-rowExpand)
3418
+ * @param {string} e Event name
3419
+ * @param {object} params Event parameters
3420
+ * @param {string} params.e Event name
3421
+ * @param {object} params.params Event parameters
3422
+ * @param {object} params.params.event Event object
3423
+ * @param {Core.data.Model} params.params.event.record Record
3424
+ * @param {object} params.params.event.expandedElements An object with the Grid region name as property and the expanded body element as value
3425
+ * @param {Core.widget.Widget} params.params.event.widget In case of expanding a Widget, this will be a reference to the instance created by the actual expansion. If there is multiple Grid regions, use the `widgets` param instead.
3426
+ * @param {object} params.params.event.widgets In case of expanding a Widget, this will be an object with the Grid region name as property and the reference to the widget instance created by the actual expansion
3427
+ */
3428
+ (e: 'rowExpand', params: ((event: { record: Model, expandedElements: object, widget: Widget, widgets: object }) => void)|string): void
3429
+ /**
3430
+ * Fired when the mouse enters a row
3431
+ * @param {string} e Event name
3432
+ * @param {object} params Event parameters
3433
+ * @param {string} params.e Event name
3434
+ * @param {object} params.params Event parameters
3435
+ * @param {object} params.params.event Event object
3436
+ * @param {Grid.view.Grid} params.params.event.source The grid instance
3437
+ * @param {Core.data.Model} params.params.event.record The record representing the hovered row
3438
+ * @param {Grid.column.Column} params.params.event.column The column currently hovered
3439
+ * @param {HTMLElement} params.params.event.cellElement The cell HTML element
3440
+ * @param {MouseEvent} params.params.event.event The native DOM event
3441
+ */
3442
+ (e: 'rowMouseEnter', params: ((event: { source: Grid, record: Model, column: Column, cellElement: HTMLElement, event: MouseEvent }) => void)|string): void
3443
+ /**
3444
+ * Fired when the mouse leaves a row
3445
+ * @param {string} e Event name
3446
+ * @param {object} params Event parameters
3447
+ * @param {string} params.e Event name
3448
+ * @param {object} params.params Event parameters
3449
+ * @param {object} params.params.event Event object
3450
+ * @param {Grid.view.Grid} params.params.event.source The grid instance
3451
+ * @param {Core.data.Model} params.params.event.record The record representing the row that the mouse left
3452
+ * @param {HTMLElement} params.params.event.cellElement The cell HTML element that the mouse left
3453
+ * @param {MouseEvent} params.params.event.event The native DOM event
3454
+ */
3455
+ (e: 'rowMouseLeave', params: ((event: { source: Grid, record: Model, cellElement: HTMLElement, event: MouseEvent }) => void)|string): void
3456
+ /**
3457
+ * Grid has scrolled vertically
3458
+ * @param {string} e Event name
3459
+ * @param {object} params Event parameters
3460
+ * @param {string} params.e Event name
3461
+ * @param {object} params.params Event parameters
3462
+ * @param {object} params.params.event Event object
3463
+ * @param {Grid.view.Grid} params.params.event.source The firing Grid instance.
3464
+ * @param {number} params.params.event.scrollTop The vertical scroll position.
3465
+ */
3466
+ (e: 'scroll', params: ((event: { source: Grid, scrollTop: number }) => void)|string): void
3467
+ /**
3468
+ * The selection has been changed.
3469
+ * @param {string} e Event name
3470
+ * @param {object} params Event parameters
3471
+ * @param {string} params.e Event name
3472
+ * @param {object} params.params Event parameters
3473
+ * @param {object} params.params.event Event object
3474
+ * @param {'select','deselect'} params.params.event.action `'select'`/`'deselect'`
3475
+ * @param {'row','cell'} params.params.event.mode `'row'`/`'cell'`
3476
+ * @param {Grid.view.Grid} params.params.event.source
3477
+ * @param {Core.data.Model[]} params.params.event.deselected The records deselected in this operation.
3478
+ * @param {Core.data.Model[]} params.params.event.selected The records selected in this operation.
3479
+ * @param {Core.data.Model[]} params.params.event.selection The records in the new selection.
3480
+ * @param {Grid.util.GridLocation[]} params.params.event.deselectedCells The cells deselected in this operation.
3481
+ * @param {Grid.util.GridLocation[]} params.params.event.selectedCells The cells selected in this operation.
3482
+ * @param {Grid.util.GridLocation[]} params.params.event.cellSelection The cells in the new selection.
3483
+ */
3484
+ (e: 'selectionChange', params: ((event: { action: 'select'|'deselect', mode: 'row'|'cell', source: Grid, deselected: Model[], selected: Model[], selection: Model[], deselectedCells: GridLocation[], selectedCells: GridLocation[], cellSelection: GridLocation[] }) => void)|string): void
3485
+ /**
3486
+ * The selectionMode configuration has been changed.
3487
+ * @param {string} e Event name
3488
+ * @param {object} params Event parameters
3489
+ * @param {string} params.e Event name
3490
+ * @param {object} params.params Event parameters
3491
+ * @param {object} params.params.event Event object
3492
+ * @param {object} params.params.event.selectionMode The new [selectionMode](https://bryntum.com/products/schedulerpro/docs/api/Grid/view/mixin/GridSelection#config-selectionMode)
3493
+ */
3494
+ (e: 'selectionModeChange', params: ((event: { selectionMode: object }) => void)|string): void
3495
+ /**
3496
+ * Triggered after a widget is shown.
3497
+ * @param {string} e Event name
3498
+ * @param {object} params Event parameters
3499
+ * @param {string} params.e Event name
3500
+ * @param {object} params.params Event parameters
3501
+ * @param {object} params.params.event Event object
3502
+ * @param {Core.widget.Widget} params.params.event.source The widget
3503
+ */
3504
+ (e: 'show', params: ((event: { source: Widget }) => void)|string): void
3505
+ /**
3506
+ * Fires when splitting the Grid.
3507
+ * @param {string} e Event name
3508
+ * @param {object} params Event parameters
3509
+ * @param {string} params.e Event name
3510
+ * @param {object} params.params Event parameters
3511
+ * @param {object} params.params.event Event object
3512
+ * @param {Grid.view.GridBase[]} params.params.event.subViews The sub views created by the split
3513
+ * @param {object} params.params.event.options The options passed to the split call
3514
+ * @param {'horizontal','vertical','both'} params.params.event.options.direction The direction of the split
3515
+ * @param {Grid.column.Column} params.params.event.options.atColumn The column to split at
3516
+ * @param {Core.data.Model} params.params.event.options.atRecord The record to split at
3517
+ */
3518
+ (e: 'split', params: ((event: { subViews: GridBase[], options: { direction: 'horizontal'|'vertical'|'both', atColumn: Column, atRecord: Model } }) => void)|string): void
3519
+ /**
3520
+ * Fired by the Grid when the collapse icon is clicked. Return `false` to prevent the default collapse action,
3521
+ * if you want to implement your own behavior.
3522
+ * @param {string} e Event name
3523
+ * @param {object} params Event parameters
3524
+ * @param {string} params.e Event name
3525
+ * @param {object} params.params Event parameters
3526
+ * @param {object} params.params.event Event object
3527
+ * @param {Grid.view.Grid} params.params.event.source The Grid instance.
3528
+ * @param {Grid.view.SubGrid} params.params.event.subGrid The subgrid
3529
+ * @param {Event} params.params.event.domEvent The native DOM event
3530
+ */
3531
+ (e: 'splitterCollapseClick', params: ((event: { source: Grid, subGrid: SubGrid, domEvent: Event }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
3532
+ /**
3533
+ * Fired by the Grid after a sub-grid has been resized using the splitter
3534
+ * @param {string} e Event name
3535
+ * @param {object} params Event parameters
3536
+ * @param {string} params.e Event name
3537
+ * @param {object} params.params Event parameters
3538
+ * @param {object} params.params.event Event object
3539
+ * @param {Grid.view.Grid} params.params.event.source The Grid instance.
3540
+ * @param {Grid.view.SubGrid} params.params.event.subGrid The resized subgrid
3541
+ * @param {Event} params.params.event.domEvent The native DOM event
3542
+ */
3543
+ (e: 'splitterDragEnd', params: ((event: { source: Grid, subGrid: SubGrid, domEvent: Event }) => void)|string): void
3544
+ /**
3545
+ * Fired by the Grid when a sub-grid resize gesture starts
3546
+ * @param {string} e Event name
3547
+ * @param {object} params Event parameters
3548
+ * @param {string} params.e Event name
3549
+ * @param {object} params.params Event parameters
3550
+ * @param {object} params.params.event Event object
3551
+ * @param {Grid.view.Grid} params.params.event.source The Grid instance.
3552
+ * @param {Grid.view.SubGrid} params.params.event.subGrid The subgrid about to be resized
3553
+ * @param {Event} params.params.event.domEvent The native DOM event
3554
+ */
3555
+ (e: 'splitterDragStart', params: ((event: { source: Grid, subGrid: SubGrid, domEvent: Event }) => void)|string): void
3556
+ /**
3557
+ * Fired by the Grid when the expand icon is clicked. Return `false` to prevent the default expand action,
3558
+ * if you want to implement your own behavior.
3559
+ * @param {string} e Event name
3560
+ * @param {object} params Event parameters
3561
+ * @param {string} params.e Event name
3562
+ * @param {object} params.params Event parameters
3563
+ * @param {object} params.params.event Event object
3564
+ * @param {Grid.view.Grid} params.params.event.source The Grid instance.
3565
+ * @param {Grid.view.SubGrid} params.params.event.subGrid The subgrid
3566
+ * @param {Event} params.params.event.domEvent The native DOM event
3567
+ */
3568
+ (e: 'splitterExpandClick', params: ((event: { source: Grid, subGrid: SubGrid, domEvent: Event }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
3569
+ /**
3570
+ * Fires on the owning Grid when editing starts
3571
+ * @param {string} e Event name
3572
+ * @param {object} params Event parameters
3573
+ * @param {string} params.e Event name
3574
+ * @param {object} params.params Event parameters
3575
+ * @param {object} params.params.event Event object
3576
+ * @param {Grid.view.Grid} params.params.event.source Owner grid
3577
+ * @param {CellEditorContext} params.params.event.editorContext Editing context
3578
+ */
3579
+ (e: 'startCellEdit', params: ((event: { source: Grid, editorContext: CellEditorContext }) => void)|string): void
3580
+ /**
3581
+ * Fires on the owning Grid when editing starts
3582
+ * @param {string} e Event name
3583
+ * @param {object} params Event parameters
3584
+ * @param {string} params.e Event name
3585
+ * @param {object} params.params Event parameters
3586
+ * @param {object} params.params.event Event object
3587
+ * @param {Grid.view.Grid} params.params.event.source Owner grid
3588
+ * @param {RowEditorContext} params.params.event.editorContext Editing context
3589
+ */
3590
+ (e: 'startRowEdit', params: ((event: { source: Grid, editorContext: RowEditorContext }) => void)|string): void
3591
+ /**
3592
+ * Fires after a sub grid is collapsed.
3593
+ * @param {string} e Event name
3594
+ * @param {object} params Event parameters
3595
+ * @param {string} params.e Event name
3596
+ * @param {object} params.params Event parameters
3597
+ * @param {object} params.params.event Event object
3598
+ * @param {Grid.view.Grid} params.params.event.source The firing Grid instance
3599
+ * @param {Grid.view.SubGrid} params.params.event.subGrid The sub grid instance
3600
+ */
3601
+ (e: 'subGridCollapse', params: ((event: { source: Grid, subGrid: SubGrid }) => void)|string): void
3602
+ /**
3603
+ * Fires after a sub grid is expanded.
3604
+ * @param {string} e Event name
3605
+ * @param {object} params Event parameters
3606
+ * @param {string} params.e Event name
3607
+ * @param {object} params.params Event parameters
3608
+ * @param {object} params.params.event Event object
3609
+ * @param {Grid.view.Grid} params.params.event.source The firing Grid instance
3610
+ * @param {Grid.view.SubGrid} params.params.event.subGrid The sub grid instance
3611
+ */
3612
+ (e: 'subGridExpand', params: ((event: { source: Grid, subGrid: SubGrid }) => void)|string): void
3613
+ /**
3614
+ * Fired when the tick size changes.
3615
+ * ...
3616
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-tickSizeChange)
3617
+ * @param {string} e Event name
3618
+ * @param {object} params Event parameters
3619
+ * @param {string} params.e Event name
3620
+ * @param {object} params.params Event parameters
3621
+ * @param {object} params.params.event Event object
3622
+ * @param {Scheduler.view.Scheduler} params.params.event.source This Scheduler instance.
3623
+ * @param {number} params.params.event.tickSize The tick size in pixels
3624
+ */
3625
+ (e: 'tickSizeChange', params: ((event: { source: Scheduler, tickSize: number }) => void)|string): void
3626
+ /**
3627
+ * Fired when the timeaxis has changed, for example by zooming or configuring a new time span.
3628
+ * @param {string} e Event name
3629
+ * @param {object} params Event parameters
3630
+ * @param {string} params.e Event name
3631
+ * @param {object} params.params Event parameters
3632
+ * @param {object} params.params.event Event object
3633
+ * @param {Scheduler.view.Scheduler} params.params.event.source This Scheduler
3634
+ * @param {object} params.params.event.config Config object used to reconfigure the time axis.
3635
+ * @param {Date} params.params.event.config.startDate New start date (if supplied)
3636
+ * @param {Date} params.params.event.config.endDate New end date (if supplied)
3637
+ */
3638
+ (e: 'timeAxisChange', params: ((event: { source: Scheduler, config: { startDate: Date, endDate: Date } }) => void)|string): void
3639
+ /**
3640
+ * Fires after a click on a time axis cell
3641
+ * @param {string} e Event name
3642
+ * @param {object} params Event parameters
3643
+ * @param {string} params.e Event name
3644
+ * @param {object} params.params Event parameters
3645
+ * @param {object} params.params.event Event object
3646
+ * @param {Scheduler.column.TimeAxisColumn,Scheduler.column.VerticalTimeAxisColumn} params.params.event.source The column object
3647
+ * @param {Date} params.params.event.startDate The start date of the header cell
3648
+ * @param {Date} params.params.event.endDate The end date of the header cell
3649
+ * @param {Event} params.params.event.event The event object
3650
+ */
3651
+ (e: 'timeAxisHeaderClick', params: ((event: { source: TimeAxisColumn|VerticalTimeAxisColumn, startDate: Date, endDate: Date, event: Event }) => void)|string): void
3652
+ /**
3653
+ * Fires after a right click on a time axis cell
3654
+ * @param {string} e Event name
3655
+ * @param {object} params Event parameters
3656
+ * @param {string} params.e Event name
3657
+ * @param {object} params.params Event parameters
3658
+ * @param {object} params.params.event Event object
3659
+ * @param {Scheduler.column.TimeAxisColumn,Scheduler.column.VerticalTimeAxisColumn} params.params.event.source The column object
3660
+ * @param {Date} params.params.event.startDate The start date of the header cell
3661
+ * @param {Date} params.params.event.endDate The end date of the header cell
3662
+ * @param {Event} params.params.event.event The event object
3663
+ */
3664
+ (e: 'timeAxisHeaderContextMenu', params: ((event: { source: TimeAxisColumn|VerticalTimeAxisColumn, startDate: Date, endDate: Date, event: Event }) => void)|string): void
3665
+ /**
3666
+ * Fires after a double click on a time axis cell
3667
+ * @param {string} e Event name
3668
+ * @param {object} params Event parameters
3669
+ * @param {string} params.e Event name
3670
+ * @param {object} params.params Event parameters
3671
+ * @param {object} params.params.event Event object
3672
+ * @param {Scheduler.column.TimeAxisColumn,Scheduler.column.VerticalTimeAxisColumn} params.params.event.source The column object
3673
+ * @param {Date} params.params.event.startDate The start date of the header cell
3674
+ * @param {Date} params.params.event.endDate The end date of the header cell
3675
+ * @param {Event} params.params.event.event The event object
3676
+ */
3677
+ (e: 'timeAxisHeaderDblClick', params: ((event: { source: TimeAxisColumn|VerticalTimeAxisColumn, startDate: Date, endDate: Date, event: Event }) => void)|string): void
3678
+ /**
3679
+ * This event fires on the owning Scheduler or Gantt widget before the context menu is shown for the time axis header.
3680
+ * Allows manipulation of the items to show in the same way as in the [processItems](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/TimeAxisHeaderMenu#config-processItems).
3681
+ * ...
3682
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-timeAxisHeaderMenuBeforeShow)
3683
+ * @param {string} e Event name
3684
+ * @param {object} params Event parameters
3685
+ * @param {string} params.e Event name
3686
+ * @param {object} params.params Event parameters
3687
+ * @param {object} params.params.event Event object
3688
+ * @param {Scheduler.view.Scheduler} params.params.event.source The scheduler
3689
+ * @param {Core.widget.Menu} params.params.event.menu The menu
3690
+ * @param {Record<string, MenuItemEntry>} params.params.event.items Menu item configs
3691
+ * @param {Grid.column.Column} params.params.event.column Time axis column
3692
+ */
3693
+ (e: 'timeAxisHeaderMenuBeforeShow', params: ((event: { source: Scheduler, menu: Menu, items: Record<string, MenuItemEntry>, column: Column }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
3694
+ /**
3695
+ * This event fires on the owning Scheduler or Gantt widget when an item is selected in the header context menu.
3696
+ * @param {string} e Event name
3697
+ * @param {object} params Event parameters
3698
+ * @param {string} params.e Event name
3699
+ * @param {object} params.params Event parameters
3700
+ * @param {object} params.params.event Event object
3701
+ * @param {Scheduler.view.Scheduler} params.params.event.source The scheduler
3702
+ * @param {Core.widget.Menu} params.params.event.menu The menu
3703
+ * @param {Core.widget.MenuItem} params.params.event.item Selected menu item
3704
+ * @param {Grid.column.Column} params.params.event.column Time axis column
3705
+ */
3706
+ (e: 'timeAxisHeaderMenuItem', params: ((event: { source: Scheduler, menu: Menu, item: MenuItem, column: Column }) => void)|string): void
3707
+ /**
3708
+ * This event fires on the owning Scheduler or Gantt widget after the context menu is shown for a header
3709
+ * @param {string} e Event name
3710
+ * @param {object} params Event parameters
3711
+ * @param {string} params.e Event name
3712
+ * @param {object} params.params Event parameters
3713
+ * @param {object} params.params.event Event object
3714
+ * @param {Scheduler.view.Scheduler} params.params.event.source The scheduler
3715
+ * @param {Core.widget.Menu} params.params.event.menu The menu
3716
+ * @param {Record<string, MenuItemEntry>} params.params.event.items Menu item configs
3717
+ * @param {Grid.column.Column} params.params.event.column Time axis column
3718
+ */
3719
+ (e: 'timeAxisHeaderMenuShow', params: ((event: { source: Scheduler, menu: Menu, items: Record<string, MenuItemEntry>, column: Column }) => void)|string): void
3720
+ /**
3721
+ * Fired when the pointer-activated [timelineContext](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/mixin/TimelineDomEvents#property-timelineContext) has changed.
3722
+ * @param {string} e Event name
3723
+ * @param {object} params Event parameters
3724
+ * @param {string} params.e Event name
3725
+ * @param {object} params.params Event parameters
3726
+ * @param {object} params.params.event Event object
3727
+ * @param {Scheduler.util.TimelineContext} params.params.event.oldContext The tick/resource context being deactivated.
3728
+ * @param {Scheduler.util.TimelineContext} params.params.event.context The tick/resource context being activated.
3729
+ */
3730
+ (e: 'timelineContextChange', params: ((event: { oldContext: TimelineContext, context: TimelineContext }) => void)|string): void
3731
+ /**
3732
+ * Fired when the *scheduler* viewport (not the overall Scheduler element) changes size.
3733
+ * This happens when the grid changes height, or when the subgrid which encapsulates the
3734
+ * scheduler column changes width.
3735
+ * @param {string} e Event name
3736
+ * @param {object} params Event parameters
3737
+ * @param {string} params.e Event name
3738
+ * @param {object} params.params Event parameters
3739
+ * @param {object} params.params.event Event object
3740
+ * @param {Core.widget.Widget} params.params.event.source This Scheduler
3741
+ * @param {number} params.params.event.width The new width
3742
+ * @param {number} params.params.event.height The new height
3743
+ * @param {number} params.params.event.oldWidth The old width
3744
+ * @param {number} params.params.event.oldHeight The old height
3745
+ */
3746
+ (e: 'timelineViewportResize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void
3747
+ /**
3748
+ * Fired on the owning Scheduler or Gantt widget when a click happens on a time range header element
3749
+ * @param {string} e Event name
3750
+ * @param {object} params Event parameters
3751
+ * @param {string} params.e Event name
3752
+ * @param {object} params.params Event parameters
3753
+ * @param {object} params.params.event Event object
3754
+ * @param {Scheduler.view.Scheduler} params.params.event.source Scheduler instance
3755
+ * @param {Scheduler.model.TimeSpan} params.params.event.timeRangeRecord The record
3756
+ * @param {MouseEvent} params.params.event.domEvent Browser event
3757
+ */
3758
+ (e: 'timeRangeHeaderClick', params: ((event: { source: Scheduler, timeRangeRecord: TimeSpan, domEvent: MouseEvent }) => void)|string): void
3759
+ /**
3760
+ * Fired on the owning Scheduler or Gantt widget when a right click happens on a time range header element
3761
+ * @param {string} e Event name
3762
+ * @param {object} params Event parameters
3763
+ * @param {string} params.e Event name
3764
+ * @param {object} params.params Event parameters
3765
+ * @param {object} params.params.event Event object
3766
+ * @param {Scheduler.view.Scheduler} params.params.event.source Scheduler instance
3767
+ * @param {Scheduler.model.TimeSpan} params.params.event.timeRangeRecord The record
3768
+ * @param {MouseEvent} params.params.event.domEvent Browser event
3769
+ */
3770
+ (e: 'timeRangeHeaderContextMenu', params: ((event: { source: Scheduler, timeRangeRecord: TimeSpan, domEvent: MouseEvent }) => void)|string): void
3771
+ /**
3772
+ * Fired on the owning Scheduler or Gantt widget when a double click happens on a time range header element
3773
+ * @param {string} e Event name
3774
+ * @param {object} params Event parameters
3775
+ * @param {string} params.e Event name
3776
+ * @param {object} params.params Event parameters
3777
+ * @param {object} params.params.event Event object
3778
+ * @param {Scheduler.view.Scheduler} params.params.event.source Scheduler instance
3779
+ * @param {Scheduler.model.TimeSpan} params.params.event.timeRangeRecord The record
3780
+ * @param {MouseEvent} params.params.event.domEvent Browser event
3781
+ */
3782
+ (e: 'timeRangeHeaderDblClick', params: ((event: { source: Scheduler, timeRangeRecord: TimeSpan, domEvent: MouseEvent }) => void)|string): void
3783
+ /**
3784
+ * Fired when one or more groups are expanded or collapsed
3785
+ * @param {string} e Event name
3786
+ * @param {object} params Event parameters
3787
+ * @param {string} params.e Event name
3788
+ * @param {object} params.params Event parameters
3789
+ * @param {object} params.params.event Event object
3790
+ * @param {Core.data.Model} params.params.event.groupRecord [DEPRECATED] Use `groupRecords` param instead
3791
+ * @param {Core.data.Model[]} params.params.event.groupRecords The group records being toggled
3792
+ * @param {boolean} params.params.event.collapse Collapsed (true) or expanded (false)
3793
+ * @param {boolean} params.params.event.allRecords True if this event is part of toggling all groups
3794
+ */
3795
+ (e: 'toggleGroup', params: ((event: { groupRecord: Model, groupRecords: Model[], collapse: boolean, allRecords?: boolean }) => void)|string): void
3796
+ /**
3797
+ * Fired after a parent node record toggles its collapsed state.
3798
+ * @param {string} e Event name
3799
+ * @param {object} params Event parameters
3800
+ * @param {string} params.e Event name
3801
+ * @param {object} params.params Event parameters
3802
+ * @param {object} params.params.event Event object
3803
+ * @param {Core.data.Model} params.params.event.record The record being toggled.
3804
+ * @param {boolean} params.params.event.collapse `true` if the node is being collapsed.
3805
+ */
3806
+ (e: 'toggleNode', params: ((event: { record: Model, collapse: boolean }) => void)|string): void
3807
+ /**
3808
+ * A header [tool](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-tools) has been clicked.
3809
+ * @param {string} e Event name
3810
+ * @param {object} params Event parameters
3811
+ * @param {string} params.e Event name
3812
+ * @param {object} params.params Event parameters
3813
+ * @param {object} params.params.event Event object
3814
+ * @param {Core.widget.Tool} params.params.event.source This Panel.
3815
+ * @param {Core.widget.Tool} params.params.event.tool The tool which is being clicked.
3816
+ */
3817
+ (e: 'toolClick', params: ((event: { source: Tool, tool: Tool }) => void)|string): void
3818
+ /**
3819
+ * Fires when row locking is disabled.
3820
+ * @param {string} e Event name
3821
+ * @param {object} params Event parameters
3822
+ * @param {string} params.e Event name
3823
+ * @param {object} params.params Event parameters
3824
+ * @param {object} params.params.event Event object
3825
+ * @param {Grid.view.GridBase} params.params.event.clone The locked clone that will be destroyed
3826
+ */
3827
+ (e: 'unlockRows', params: ((event: { clone: GridBase }) => void)|string): void
3828
+ /**
3829
+ * Fires when un-splitting the Grid.
3830
+ */
3831
+ (e: 'unsplit', params: (() => void)|string): void
3832
+ /**
3833
+ * Fired when the range of dates visible within the viewport changes. This will be when
3834
+ * scrolling along a time axis.
3835
+ * ...
3836
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-visibleDateRangeChange)
3837
+ * @param {string} e Event name
3838
+ * @param {object} params Event parameters
3839
+ * @param {string} params.e Event name
3840
+ * @param {object} params.params Event parameters
3841
+ * @param {object} params.params.event Event object
3842
+ * @param {Scheduler.view.Scheduler} params.params.event.source This Scheduler instance.
3843
+ * @param {object} params.params.event.old The old date range
3844
+ * @param {Date} params.params.event.old.startDate the old start date.
3845
+ * @param {Date} params.params.event.old.endDate the old end date.
3846
+ * @param {object} params.params.event.new The new date range
3847
+ * @param {Date} params.params.event.new.startDate the new start date.
3848
+ * @param {Date} params.params.event.new.endDate the new end date.
3849
+ */
3850
+ (e: 'visibleDateRangeChange', params: ((event: { source: Scheduler, old: { startDate: Date, endDate: Date }, new: { startDate: Date, endDate: Date } }) => void)|string): void
3851
+ }>();
3852
+
3853
+ const widgetData = {
3854
+ instanceClass : ResourceUtilization,
3855
+ instanceName : 'ResourceUtilization',
3856
+
3857
+ isView : true,
3858
+ dataStores : {
3859
+ 'originalStore': 'originals',
3860
+ 'resourceTimeRangeStore': 'resourceTimeRanges',
3861
+ 'timeRangeStore': 'timeRanges'
3862
+ },
3863
+ projectStores : false,
3864
+ featureNames : [
3865
+ 'aiFilterFeature',
3866
+ 'allocationCellEditFeature',
3867
+ 'allocationCopyPasteFeature',
3868
+ 'cellCopyPasteFeature',
3869
+ 'cellEditFeature',
3870
+ 'cellMenuFeature',
3871
+ 'cellTooltipFeature',
3872
+ 'chartsFeature',
3873
+ 'columnAutoWidthFeature',
3874
+ 'columnDragToolbarFeature',
3875
+ 'columnLinesFeature',
3876
+ 'columnPickerFeature',
3877
+ 'columnRenameFeature',
3878
+ 'columnReorderFeature',
3879
+ 'columnResizeFeature',
3880
+ 'excelExporterFeature',
3881
+ 'fileDropFeature',
3882
+ 'fillHandleFeature',
3883
+ 'filterFeature',
3884
+ 'filterBarFeature',
3885
+ 'groupFeature',
3886
+ 'groupSummaryFeature',
3887
+ 'headerMenuFeature',
3888
+ 'headerZoomFeature',
3889
+ 'lockRowsFeature',
3890
+ 'mergeCellsFeature',
3891
+ 'nonWorkingTimeFeature',
3892
+ 'panFeature',
3893
+ 'pdfExportFeature',
3894
+ 'pinColumnsFeature',
3895
+ 'printFeature',
3896
+ 'quickFindFeature',
3897
+ 'regionResizeFeature',
3898
+ 'resourceMenuFeature',
3899
+ 'resourceNonWorkingTimeFeature',
3900
+ 'resourceTimeRangesFeature',
3901
+ 'rowCopyPasteFeature',
3902
+ 'rowEditFeature',
3903
+ 'rowExpanderFeature',
3904
+ 'rowReorderFeature',
3905
+ 'rowResizeFeature',
3906
+ 'scheduleTooltipFeature',
3907
+ 'searchFeature',
3908
+ 'sortFeature',
3909
+ 'splitFeature',
3910
+ 'stickyCellsFeature',
3911
+ 'stripeFeature',
3912
+ 'summaryFeature',
3913
+ 'timeAxisHeaderMenuFeature',
3914
+ 'timeRangesFeature',
3915
+ 'timeSpanHighlightFeature',
3916
+ 'treeFeature',
3917
+ 'treeGroupFeature'
3918
+ ],
3919
+
3920
+ configNames : [
3921
+ 'adopt',
3922
+ 'aggregateDataEntry',
3923
+ 'aggregateHistogramDataForGroups',
3924
+ 'animateFilterRemovals',
3925
+ 'animateRemovingRows',
3926
+ 'ariaDescription',
3927
+ 'ariaLabel',
3928
+ 'assignmentFilterFn',
3929
+ 'autoAdjustTimeAxis',
3930
+ 'autoHeight',
3931
+ 'barTextEffortUnit',
3932
+ 'barTipEffortUnit',
3933
+ 'barTooltipTemplate',
3934
+ 'bbar',
3935
+ 'bodyCls',
3936
+ 'bubbleEvents',
3937
+ 'bufferCoef',
3938
+ 'bufferThreshold',
3939
+ 'collapsible',
3940
+ 'color',
3941
+ 'config',
3942
+ 'contentElementCls',
3943
+ 'contextMenuTriggerEvent',
3944
+ 'costFormat',
3945
+ 'dataField',
3946
+ 'dataModelField',
3947
+ 'defaultRegion',
3948
+ 'defaultResourceImageName',
3949
+ 'destroyStore',
3950
+ 'destroyStores',
3951
+ 'detectCSSCompatibilityIssues',
3952
+ 'disableGridColumnIdWarning',
3953
+ 'disableGridRowModelWarning',
3954
+ 'dock',
3955
+ 'drawer',
3956
+ 'effortFormat',
3957
+ 'effortUnit',
3958
+ 'elementAttributes',
3959
+ 'enableSticky',
3960
+ 'enableTextSelection',
3961
+ 'endParamName',
3962
+ 'fillLastColumn',
3963
+ 'fixedRowHeight',
3964
+ 'footer',
3965
+ 'formulaProviders',
3966
+ 'fullRowRefresh',
3967
+ 'getBarClass',
3968
+ 'getBarDOMConfig',
3969
+ 'getBarText',
3970
+ 'getBarTextDOMConfig',
3971
+ 'getDataEntryForAggregating',
3972
+ 'getOutlineClass',
3973
+ 'getOutlineDOMConfig',
3974
+ 'getRecordData',
3975
+ 'getRowHeight',
3976
+ 'hardRefreshOnTimeAxisReconfigure',
3977
+ 'header',
3978
+ 'hideHorizontalScrollbar',
3979
+ 'histogramWidgetClass',
3980
+ 'hoverCls',
3981
+ 'icon',
3982
+ 'ignoreDomEventsWhileScrolling',
3983
+ 'ignoreParentReadOnly',
3984
+ 'includeInactiveEvents',
3985
+ 'initAggregatedDataEntry',
3986
+ 'listeners',
3987
+ 'loadMask',
3988
+ 'loadMaskDefaults',
3989
+ 'loadMaskError',
3990
+ 'localizable',
3991
+ 'managedEventSizing',
3992
+ 'maskDefaults',
3993
+ 'masked',
3994
+ 'maxDate',
3995
+ 'maxTimeAxisUnit',
3996
+ 'minDate',
3997
+ 'monitorResize',
3998
+ 'owner',
3999
+ 'partner',
4000
+ 'passStartEndParameters',
4001
+ 'plugins',
4002
+ 'preserveFocusOnDatasetChange',
4003
+ 'preserveScrollOnDatasetChange',
4004
+ 'preventTooltipOnTouch',
4005
+ 'relayStoreEvents',
4006
+ 'resizable',
4007
+ 'resizeToFitIncludesHeader',
4008
+ 'resourceImageExtension',
4009
+ 'resourceImagePath',
4010
+ 'resourceImages',
4011
+ 'resourceTimeRangeRenderer',
4012
+ 'respectStoreFilters',
4013
+ 'responsiveLevels',
4014
+ 'ripple',
4015
+ 'rootElement',
4016
+ 'scaleColumn',
4017
+ 'scrollerClass',
4018
+ 'scrollManager',
4019
+ 'series',
4020
+ 'showBarText',
4021
+ 'showBarTipWhenNavigatingTimeAxis',
4022
+ 'showDirty',
4023
+ 'showEffortUnit',
4024
+ 'snapRelativeToEventStartDate',
4025
+ 'startParamName',
4026
+ 'stateful',
4027
+ 'statefulEvents',
4028
+ 'stateId',
4029
+ 'stateProvider',
4030
+ 'stickyHeaders',
4031
+ 'strips',
4032
+ 'subGridConfigs',
4033
+ 'syncMask',
4034
+ 'tab',
4035
+ 'tabBarItems',
4036
+ 'tbar',
4037
+ 'timeAxis',
4038
+ 'type',
4039
+ 'ui',
4040
+ 'visibleZoomFactor',
4041
+ 'weekStartDay',
4042
+ 'weight',
4043
+ 'zoomKeepsOriginalTimespan',
4044
+ 'zoomOnMouseWheel',
4045
+ 'zoomOnTimeAxisDoubleClick'
4046
+ ],
4047
+ propertyConfigNames : [
4048
+ 'alignSelf',
4049
+ 'animateTreeNodeToggle',
4050
+ 'appendTo',
4051
+ 'barMargin',
4052
+ 'callOnFunctions',
4053
+ 'catchEventHandlerExceptions',
4054
+ 'cellEllipsis',
4055
+ 'cls',
4056
+ 'collapsed',
4057
+ 'column',
4058
+ 'columnLines',
4059
+ 'columns',
4060
+ 'dataset',
4061
+ 'disabled',
4062
+ 'displayDateFormat',
4063
+ 'emptyText',
4064
+ 'enableEventAnimations',
4065
+ 'enableUndoRedoKeys',
4066
+ 'endDate',
4067
+ 'extraData',
4068
+ 'fillTicks',
4069
+ 'flex',
4070
+ 'forceFit',
4071
+ 'height',
4072
+ 'hidden',
4073
+ 'hideFooters',
4074
+ 'hideHeaders',
4075
+ 'hideRowHover',
4076
+ 'histogramWidget',
4077
+ 'id',
4078
+ 'infiniteScroll',
4079
+ 'inputFieldAlign',
4080
+ 'insertBefore',
4081
+ 'insertFirst',
4082
+ 'keyMap',
4083
+ 'labelPosition',
4084
+ 'longPressTime',
4085
+ 'margin',
4086
+ 'maxHeight',
4087
+ 'maxWidth',
4088
+ 'maxZoomLevel',
4089
+ 'minHeight',
4090
+ 'minWidth',
4091
+ 'minZoomLevel',
4092
+ 'onBeforeAssignmentDelete',
4093
+ 'onBeforeCancelCellEdit',
4094
+ 'onBeforeCancelRowEdit',
4095
+ 'onBeforeCellEditStart',
4096
+ 'onBeforeCellRangeDelete',
4097
+ 'onBeforeCellRangeEdit',
4098
+ 'onBeforeColumnDragStart',
4099
+ 'onBeforeColumnDropFinalize',
4100
+ 'onBeforeColumnResize',
4101
+ 'onBeforeCopy',
4102
+ 'onBeforeCopyTimelineCells',
4103
+ 'onBeforeCSVExport',
4104
+ 'onBeforeDestroy',
4105
+ 'onBeforeEventDelete',
4106
+ 'onBeforeExcelExport',
4107
+ 'onBeforeFillHandleDragStart',
4108
+ 'onBeforeFinishCellEdit',
4109
+ 'onBeforeFinishRowEdit',
4110
+ 'onBeforeHide',
4111
+ 'onBeforeHistogramDataCacheSet',
4112
+ 'onBeforePan',
4113
+ 'onBeforePaste',
4114
+ 'onBeforePasteTimelineCells',
4115
+ 'onBeforePdfExport',
4116
+ 'onBeforePresetChange',
4117
+ 'onBeforeRenderHistogramRow',
4118
+ 'onBeforeRenderRecordHistogram',
4119
+ 'onBeforeRenderRow',
4120
+ 'onBeforeRenderRows',
4121
+ 'onBeforeRowCollapse',
4122
+ 'onBeforeRowExpand',
4123
+ 'onBeforeSelectionChange',
4124
+ 'onBeforeSetRecord',
4125
+ 'onBeforeShow',
4126
+ 'onBeforeStartRowEdit',
4127
+ 'onBeforeStateApply',
4128
+ 'onBeforeStateSave',
4129
+ 'onBeforeToggleGroup',
4130
+ 'onBeforeToggleNode',
4131
+ 'onCancelCellEdit',
4132
+ 'onCatchAll',
4133
+ 'onCellClick',
4134
+ 'onCellContextMenu',
4135
+ 'onCellDblClick',
4136
+ 'onCellMenuBeforeShow',
4137
+ 'onCellMenuItem',
4138
+ 'onCellMenuShow',
4139
+ 'onCellMenuToggleItem',
4140
+ 'onCellMouseEnter',
4141
+ 'onCellMouseLeave',
4142
+ 'onCellMouseOut',
4143
+ 'onCellMouseOver',
4144
+ 'onCollapse',
4145
+ 'onCollapseNode',
4146
+ 'onColumnDrag',
4147
+ 'onColumnDragStart',
4148
+ 'onColumnDrop',
4149
+ 'onColumnResize',
4150
+ 'onColumnResizeStart',
4151
+ 'onContextMenuItem',
4152
+ 'onContextMenuToggleItem',
4153
+ 'onCopy',
4154
+ 'onCopyTimelineCells',
4155
+ 'onCurrentTimelineUpdate',
4156
+ 'onDataChange',
4157
+ 'onDateRangeChange',
4158
+ 'onDestroy',
4159
+ 'onDirtyStateChange',
4160
+ 'onDragSelecting',
4161
+ 'onElementCreated',
4162
+ 'onExpand',
4163
+ 'onExpandNode',
4164
+ 'onFileDrop',
4165
+ 'onFillHandleBeforeDragFinalize',
4166
+ 'onFillHandleDrag',
4167
+ 'onFillHandleDragAbort',
4168
+ 'onFillHandleDragEnd',
4169
+ 'onFillHandleDragStart',
4170
+ 'onFinishCellEdit',
4171
+ 'onFinishRowEdit',
4172
+ 'onFocusIn',
4173
+ 'onFocusOut',
4174
+ 'onGridRowBeforeDragStart',
4175
+ 'onGridRowBeforeDropFinalize',
4176
+ 'onGridRowDrag',
4177
+ 'onGridRowDragAbort',
4178
+ 'onGridRowDragStart',
4179
+ 'onGridRowDrop',
4180
+ 'onHeaderClick',
4181
+ 'onHeaderMenuBeforeShow',
4182
+ 'onHeaderMenuItem',
4183
+ 'onHeaderMenuShow',
4184
+ 'onHeaderMenuToggleItem',
4185
+ 'onHide',
4186
+ 'onHistogramDataCacheSet',
4187
+ 'onLockRows',
4188
+ 'onMouseOut',
4189
+ 'onMouseOver',
4190
+ 'onNoZoomChange',
4191
+ 'onPaint',
4192
+ 'onPaste',
4193
+ 'onPasteTimelineCells',
4194
+ 'onPdfExport',
4195
+ 'onPresetChange',
4196
+ 'onReadOnly',
4197
+ 'onRecompose',
4198
+ 'onRenderRow',
4199
+ 'onRenderRows',
4200
+ 'onResize',
4201
+ 'onResourceMenuBeforeShow',
4202
+ 'onResourceMenuItem',
4203
+ 'onResourceMenuShow',
4204
+ 'onResourceMenuToggleItem',
4205
+ 'onResourceNonWorkingTimeClick',
4206
+ 'onResourceNonWorkingTimeContextMenu',
4207
+ 'onResourceNonWorkingTimeDblClick',
4208
+ 'onResourceNonWorkingTimeMouseDown',
4209
+ 'onResourceNonWorkingTimeMouseOut',
4210
+ 'onResourceNonWorkingTimeMouseOver',
4211
+ 'onResourceNonWorkingTimeMouseUp',
4212
+ 'onResourceTimeRangeClick',
4213
+ 'onResourceTimeRangeContextMenu',
4214
+ 'onResourceTimeRangeDblClick',
4215
+ 'onResourceTimeRangeMouseDown',
4216
+ 'onResourceTimeRangeMouseOut',
4217
+ 'onResourceTimeRangeMouseOver',
4218
+ 'onResourceTimeRangeMouseUp',
4219
+ 'onResponsive',
4220
+ 'onRowCollapse',
4221
+ 'onRowExpand',
4222
+ 'onRowMouseEnter',
4223
+ 'onRowMouseLeave',
4224
+ 'onScroll',
4225
+ 'onSelectionChange',
4226
+ 'onSelectionModeChange',
4227
+ 'onShow',
4228
+ 'onSplit',
4229
+ 'onSplitterCollapseClick',
4230
+ 'onSplitterDragEnd',
4231
+ 'onSplitterDragStart',
4232
+ 'onSplitterExpandClick',
4233
+ 'onStartCellEdit',
4234
+ 'onStartRowEdit',
4235
+ 'onSubGridCollapse',
4236
+ 'onSubGridExpand',
4237
+ 'onTickSizeChange',
4238
+ 'onTimeAxisChange',
4239
+ 'onTimeAxisHeaderClick',
4240
+ 'onTimeAxisHeaderContextMenu',
4241
+ 'onTimeAxisHeaderDblClick',
4242
+ 'onTimeAxisHeaderMenuBeforeShow',
4243
+ 'onTimeAxisHeaderMenuItem',
4244
+ 'onTimeAxisHeaderMenuShow',
4245
+ 'onTimelineContextChange',
4246
+ 'onTimelineViewportResize',
4247
+ 'onTimeRangeHeaderClick',
4248
+ 'onTimeRangeHeaderContextMenu',
4249
+ 'onTimeRangeHeaderDblClick',
4250
+ 'onToggleGroup',
4251
+ 'onToggleNode',
4252
+ 'onToolClick',
4253
+ 'onUnlockRows',
4254
+ 'onUnsplit',
4255
+ 'onVisibleDateRangeChange',
4256
+ 'preserveScroll',
4257
+ 'presets',
4258
+ 'project',
4259
+ 'readOnly',
4260
+ 'recurrenceConfirmationPopup',
4261
+ 'rendition',
4262
+ 'resourceMargin',
4263
+ 'resourceTimeRanges',
4264
+ 'resourceTimeRangeStore',
4265
+ 'rowHeight',
4266
+ 'rowLines',
4267
+ 'rtl',
4268
+ 'scalePoints',
4269
+ 'scrollable',
4270
+ 'selectionMode',
4271
+ 'showBarTip',
4272
+ 'snap',
4273
+ 'span',
4274
+ 'startDate',
4275
+ 'stateSettings',
4276
+ 'store',
4277
+ 'suppressFit',
4278
+ 'tickSize',
4279
+ 'timeRanges',
4280
+ 'timeRangeStore',
4281
+ 'timeResolution',
4282
+ 'title',
4283
+ 'tools',
4284
+ 'transition',
4285
+ 'transitionDuration',
4286
+ 'viewPreset',
4287
+ 'visibleDate',
4288
+ 'width',
4289
+ 'workingTime'
4290
+ ],
4291
+ propertyNames : [
4292
+ 'crudManager',
4293
+ 'data',
4294
+ 'eventColor',
4295
+ 'eventStyle',
4296
+ 'focusVisible',
4297
+ 'hasChanges',
4298
+ 'isEngineReady',
4299
+ 'originalStore',
4300
+ 'parent',
4301
+ 'scrollLeft',
4302
+ 'scrollTop',
4303
+ 'scrollX',
4304
+ 'selectedCell',
4305
+ 'selectedCells',
4306
+ 'selectedRecord',
4307
+ 'selectedRecords',
4308
+ 'selectedRows',
4309
+ 'state',
4310
+ 'timeZone',
4311
+ 'tooltip',
4312
+ 'zoomLevel'
4313
+ ],
4314
+ eventNames : [
4315
+ 'beforeAssignmentDelete',
4316
+ 'beforeCancelCellEdit',
4317
+ 'beforeCancelRowEdit',
4318
+ 'beforeCellEditStart',
4319
+ 'beforeCellRangeDelete',
4320
+ 'beforeCellRangeEdit',
4321
+ 'beforeColumnDragStart',
4322
+ 'beforeColumnDropFinalize',
4323
+ 'beforeColumnResize',
4324
+ 'beforeCopy',
4325
+ 'beforeCopyTimelineCells',
4326
+ 'beforeCSVExport',
4327
+ 'beforeDestroy',
4328
+ 'beforeEventDelete',
4329
+ 'beforeExcelExport',
4330
+ 'beforeFillHandleDragStart',
4331
+ 'beforeFinishCellEdit',
4332
+ 'beforeFinishRowEdit',
4333
+ 'beforeHide',
4334
+ 'beforeHistogramDataCacheSet',
4335
+ 'beforePan',
4336
+ 'beforePaste',
4337
+ 'beforePasteTimelineCells',
4338
+ 'beforePdfExport',
4339
+ 'beforePresetChange',
4340
+ 'beforeRenderHistogramRow',
4341
+ 'beforeRenderRecordHistogram',
4342
+ 'beforeRenderRow',
4343
+ 'beforeRenderRows',
4344
+ 'beforeRowCollapse',
4345
+ 'beforeRowExpand',
4346
+ 'beforeSelectionChange',
4347
+ 'beforeSetRecord',
4348
+ 'beforeShow',
4349
+ 'beforeStartRowEdit',
4350
+ 'beforeStateApply',
4351
+ 'beforeStateSave',
4352
+ 'beforeToggleGroup',
4353
+ 'beforeToggleNode',
4354
+ 'cancelCellEdit',
4355
+ 'catchAll',
4356
+ 'cellClick',
4357
+ 'cellContextMenu',
4358
+ 'cellDblClick',
4359
+ 'cellMenuBeforeShow',
4360
+ 'cellMenuItem',
4361
+ 'cellMenuShow',
4362
+ 'cellMenuToggleItem',
4363
+ 'cellMouseEnter',
4364
+ 'cellMouseLeave',
4365
+ 'cellMouseOut',
4366
+ 'cellMouseOver',
4367
+ 'collapse',
4368
+ 'collapseNode',
4369
+ 'columnDrag',
4370
+ 'columnDragStart',
4371
+ 'columnDrop',
4372
+ 'columnResize',
4373
+ 'columnResizeStart',
4374
+ 'contextMenuItem',
4375
+ 'contextMenuToggleItem',
4376
+ 'copy',
4377
+ 'copyTimelineCells',
4378
+ 'currentTimelineUpdate',
4379
+ 'dataChange',
4380
+ 'dateRangeChange',
4381
+ 'destroy',
4382
+ 'dirtyStateChange',
4383
+ 'dragSelecting',
4384
+ 'elementCreated',
4385
+ 'expand',
4386
+ 'expandNode',
4387
+ 'fileDrop',
4388
+ 'fillHandleBeforeDragFinalize',
4389
+ 'fillHandleDrag',
4390
+ 'fillHandleDragAbort',
4391
+ 'fillHandleDragEnd',
4392
+ 'fillHandleDragStart',
4393
+ 'finishCellEdit',
4394
+ 'finishRowEdit',
4395
+ 'focusIn',
4396
+ 'focusOut',
4397
+ 'gridRowBeforeDragStart',
4398
+ 'gridRowBeforeDropFinalize',
4399
+ 'gridRowDrag',
4400
+ 'gridRowDragAbort',
4401
+ 'gridRowDragStart',
4402
+ 'gridRowDrop',
4403
+ 'headerClick',
4404
+ 'headerMenuBeforeShow',
4405
+ 'headerMenuItem',
4406
+ 'headerMenuShow',
4407
+ 'headerMenuToggleItem',
4408
+ 'hide',
4409
+ 'histogramDataCacheSet',
4410
+ 'lockRows',
4411
+ 'mouseOut',
4412
+ 'mouseOver',
4413
+ 'noZoomChange',
4414
+ 'paint',
4415
+ 'paste',
4416
+ 'pasteTimelineCells',
4417
+ 'pdfExport',
4418
+ 'presetChange',
4419
+ 'readOnly',
4420
+ 'recompose',
4421
+ 'renderRow',
4422
+ 'renderRows',
4423
+ 'resize',
4424
+ 'resourceMenuBeforeShow',
4425
+ 'resourceMenuItem',
4426
+ 'resourceMenuShow',
4427
+ 'resourceMenuToggleItem',
4428
+ 'resourceNonWorkingTimeClick',
4429
+ 'resourceNonWorkingTimeContextMenu',
4430
+ 'resourceNonWorkingTimeDblClick',
4431
+ 'resourceNonWorkingTimeMouseDown',
4432
+ 'resourceNonWorkingTimeMouseOut',
4433
+ 'resourceNonWorkingTimeMouseOver',
4434
+ 'resourceNonWorkingTimeMouseUp',
4435
+ 'resourceTimeRangeClick',
4436
+ 'resourceTimeRangeContextMenu',
4437
+ 'resourceTimeRangeDblClick',
4438
+ 'resourceTimeRangeMouseDown',
4439
+ 'resourceTimeRangeMouseOut',
4440
+ 'resourceTimeRangeMouseOver',
4441
+ 'resourceTimeRangeMouseUp',
4442
+ 'responsive',
4443
+ 'rowCollapse',
4444
+ 'rowExpand',
4445
+ 'rowMouseEnter',
4446
+ 'rowMouseLeave',
4447
+ 'scroll',
4448
+ 'selectionChange',
4449
+ 'selectionModeChange',
4450
+ 'show',
4451
+ 'split',
4452
+ 'splitterCollapseClick',
4453
+ 'splitterDragEnd',
4454
+ 'splitterDragStart',
4455
+ 'splitterExpandClick',
4456
+ 'startCellEdit',
4457
+ 'startRowEdit',
4458
+ 'subGridCollapse',
4459
+ 'subGridExpand',
4460
+ 'tickSizeChange',
4461
+ 'timeAxisChange',
4462
+ 'timeAxisHeaderClick',
4463
+ 'timeAxisHeaderContextMenu',
4464
+ 'timeAxisHeaderDblClick',
4465
+ 'timeAxisHeaderMenuBeforeShow',
4466
+ 'timeAxisHeaderMenuItem',
4467
+ 'timeAxisHeaderMenuShow',
4468
+ 'timelineContextChange',
4469
+ 'timelineViewportResize',
4470
+ 'timeRangeHeaderClick',
4471
+ 'timeRangeHeaderContextMenu',
4472
+ 'timeRangeHeaderDblClick',
4473
+ 'toggleGroup',
4474
+ 'toggleNode',
4475
+ 'toolClick',
4476
+ 'unlockRows',
4477
+ 'unsplit',
4478
+ 'visibleDateRangeChange'
4479
+ ]
4480
+ };
4481
+
4482
+ const instance: {
4483
+ value?: ResourceUtilization
4484
+ } = {};
4485
+
4486
+ const refElement = ref<HTMLDivElement>()!;
4487
+ // Storage for teleports (in-cell Vue component instances) automatically renderer by template
4488
+ const teleports = ref(new Map());
4489
+
4490
+ // Provide teleports for processCellContent
4491
+ provide('teleports', teleports);
4492
+
4493
+ onMounted(() => {
4494
+
4495
+ const me = getCurrentInstance()!;
4496
+
4497
+ instance.value = WrapperHelper.createWidget<typeof ResourceUtilization>({
4498
+ me,
4499
+ widgetData,
4500
+ emit,
4501
+ element : refElement.value!,
4502
+ processCellContent : WrapperHelper.processCellContent,
4503
+ processEventContent : WrapperHelper.processEventContent,
4504
+ processWidgetContent : WrapperHelper.processWidgetContent,
4505
+ hasFrameworkRenderer : WrapperHelper.hasFrameworkRenderer,
4506
+ toRaw
4507
+ });
4508
+ WrapperHelper.relayStores(me.data, instance.value);
4509
+
4510
+ const watcher = (prop: string, callback: any) => watch(() => me.props[prop], callback);
4511
+ WrapperHelper.watchProps(instance.value, widgetData, watcher);
4512
+ });
4513
+
4514
+ onBeforeUnmount(() => {
4515
+ // @ts-ignore
4516
+ instance.value?.destroy?.();
4517
+ });
4518
+
4519
+ defineExpose({
4520
+ instance,
4521
+ refElement,
4522
+ teleports
4523
+ });
4524
+
4525
+ </script>