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