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