@bryntum/gantt-react 7.1.1 → 7.1.3

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 (77) hide show
  1. package/README.md +199 -21
  2. package/lib/BryntumAssignmentGrid.d.ts +20 -10
  3. package/lib/BryntumAssignmentGrid.js +2 -0
  4. package/lib/BryntumAssignmentGrid.js.map +1 -1
  5. package/lib/BryntumAssignmentPicker.d.ts +253 -0
  6. package/lib/BryntumAssignmentPicker.js +182 -0
  7. package/lib/BryntumAssignmentPicker.js.map +1 -0
  8. package/lib/BryntumGantt.d.ts +23 -9
  9. package/lib/BryntumGantt.js +4 -2
  10. package/lib/BryntumGantt.js.map +1 -1
  11. package/lib/BryntumGanttBase.d.ts +23 -9
  12. package/lib/BryntumGanttBase.js +4 -2
  13. package/lib/BryntumGanttBase.js.map +1 -1
  14. package/lib/BryntumGrid.d.ts +20 -10
  15. package/lib/BryntumGrid.js +2 -0
  16. package/lib/BryntumGrid.js.map +1 -1
  17. package/lib/BryntumGridBase.d.ts +20 -10
  18. package/lib/BryntumGridBase.js +2 -0
  19. package/lib/BryntumGridBase.js.map +1 -1
  20. package/lib/BryntumResourceGrid.d.ts +20 -10
  21. package/lib/BryntumResourceGrid.js +2 -0
  22. package/lib/BryntumResourceGrid.js.map +1 -1
  23. package/lib/BryntumResourceHistogram.d.ts +20 -10
  24. package/lib/BryntumResourceHistogram.js +4 -2
  25. package/lib/BryntumResourceHistogram.js.map +1 -1
  26. package/lib/BryntumResourceUtilization.d.ts +20 -10
  27. package/lib/BryntumResourceUtilization.js +4 -2
  28. package/lib/BryntumResourceUtilization.js.map +1 -1
  29. package/lib/BryntumScheduler.d.ts +24 -10
  30. package/lib/BryntumScheduler.js +4 -2
  31. package/lib/BryntumScheduler.js.map +1 -1
  32. package/lib/BryntumSchedulerBase.d.ts +24 -10
  33. package/lib/BryntumSchedulerBase.js +4 -2
  34. package/lib/BryntumSchedulerBase.js.map +1 -1
  35. package/lib/BryntumSchedulerPro.d.ts +24 -10
  36. package/lib/BryntumSchedulerPro.js +4 -2
  37. package/lib/BryntumSchedulerPro.js.map +1 -1
  38. package/lib/BryntumSchedulerProBase.d.ts +24 -10
  39. package/lib/BryntumSchedulerProBase.js +4 -2
  40. package/lib/BryntumSchedulerProBase.js.map +1 -1
  41. package/lib/BryntumTimeline.d.ts +24 -10
  42. package/lib/BryntumTimeline.js +4 -2
  43. package/lib/BryntumTimeline.js.map +1 -1
  44. package/lib/BryntumTimelineHistogram.d.ts +20 -10
  45. package/lib/BryntumTimelineHistogram.js +4 -2
  46. package/lib/BryntumTimelineHistogram.js.map +1 -1
  47. package/lib/BryntumTreeGrid.d.ts +20 -10
  48. package/lib/BryntumTreeGrid.js +2 -0
  49. package/lib/BryntumTreeGrid.js.map +1 -1
  50. package/lib/BryntumVersionGrid.d.ts +20 -10
  51. package/lib/BryntumVersionGrid.js +2 -0
  52. package/lib/BryntumVersionGrid.js.map +1 -1
  53. package/lib/WrapperHelper.js +1 -1
  54. package/lib/WrapperHelper.js.map +1 -1
  55. package/lib/index.d.ts +1 -0
  56. package/lib/index.js +1 -0
  57. package/lib/index.js.map +1 -1
  58. package/package.json +1 -1
  59. package/src/BryntumAssignmentGrid.tsx +43 -25
  60. package/src/BryntumAssignmentPicker.tsx +1109 -0
  61. package/src/BryntumGantt.tsx +52 -29
  62. package/src/BryntumGanttBase.tsx +52 -29
  63. package/src/BryntumGrid.tsx +43 -25
  64. package/src/BryntumGridBase.tsx +43 -25
  65. package/src/BryntumResourceGrid.tsx +43 -25
  66. package/src/BryntumResourceHistogram.tsx +45 -27
  67. package/src/BryntumResourceUtilization.tsx +45 -27
  68. package/src/BryntumScheduler.tsx +51 -29
  69. package/src/BryntumSchedulerBase.tsx +51 -29
  70. package/src/BryntumSchedulerPro.tsx +51 -29
  71. package/src/BryntumSchedulerProBase.tsx +51 -29
  72. package/src/BryntumTimeline.tsx +51 -29
  73. package/src/BryntumTimelineHistogram.tsx +45 -27
  74. package/src/BryntumTreeGrid.tsx +43 -25
  75. package/src/BryntumVersionGrid.tsx +43 -25
  76. package/src/WrapperHelper.tsx +2 -1
  77. package/src/index.ts +1 -0
@@ -3,7 +3,7 @@
3
3
  */
4
4
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
5
5
  import React, { RefObject } from 'react';
6
- import { AIFilter, AIFilterConfig, AjaxStore, AjaxStoreConfig, AllocationCellEdit, AllocationCellEditConfig, AllocationCopyPaste, AllocationCopyPasteConfig, AssignmentAllocationInterval, Base, CellCopyPaste, CellCopyPasteConfig, CellEditorContext, CellMenu, CellMenuConfig, CellTooltip, CellTooltipConfig, Charts, ChartsConfig, Column, ColumnAutoWidth, ColumnAutoWidthConfig, ColumnDragToolbar, ColumnDragToolbarConfig, ColumnLines, ColumnLinesConfig, ColumnPicker, ColumnPickerConfig, ColumnRename, ColumnRenameConfig, ColumnReorder, ColumnReorderConfig, ColumnResize, ColumnResizeConfig, ColumnStore, ColumnStoreConfig, Container, ContainerItemConfig, CrudManager, DomConfig, DurationUnit, EmptyTextDomConfig, EventColor, ExportConfig, FileDrop, FileDropConfig, FillHandle, FillHandleConfig, Filter, FilterBar, FilterBarConfig, FilterConfig, FormulaProviderConfig, Grid, GridBase, GridColumnConfig, GridExcelExporter, GridExcelExporterConfig, GridLocation, GridLocationConfig, GridLockRows, GridLockRowsConfig, GridPdfExport, GridPdfExportConfig, GridPrint, GridPrintConfig, GridRowResize, GridRowResizeConfig, GridSelectionMode, GridStateInfo, GridTreeGroup, GridTreeGroupConfig, Group, GroupConfig, GroupSummary, GroupSummaryConfig, HeaderMenu, HeaderMenuConfig, HeaderZoom, HeaderZoomConfig, Histogram, HistogramConfig, HistogramSeries, KeyMapConfig, Mask, MaskConfig, Menu, MenuItem, MenuItemEntry, MergeCells, MergeCellsConfig, Model, ModelConfig, NonWorkingTime, NonWorkingTimeConfig, NumberFormatConfig, PagingToolbarConfig, Pan, PanConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, PinColumns, PinColumnsConfig, PreserveScrollOptions, PresetStore, ProjectModel, ProjectModelConfig, QuickFind, QuickFindConfig, RecordPositionContext, RecurrenceConfirmationPopup, RecurrenceConfirmationPopupConfig, RegionResize, RegionResizeConfig, ResourceAllocationInfo, ResourceAllocationInterval, ResourceHistogramRenderData, ResourceMarginConfig, ResourceMenu, ResourceMenuConfig, ResourceNonWorkingTime, ResourceNonWorkingTimeConfig, ResourceTimeRangeModel, ResourceTimeRangeModelConfig, ResourceTimeRangeStore, ResourceTimeRangeStoreConfig, ResourceTimeRanges, ResourceTimeRangesConfig, ResourceUtilization, ResourceUtilizationListeners, ResourceUtilizationModel, ResourceUtilizationRenderData, ResponsiveLevelConfig, Row, RowCopyPaste, RowCopyPasteConfig, RowEdit, RowEditConfig, RowEditorContext, RowExpander, RowExpanderConfig, RowReorder, RowReorderConfig, ScaleColumnConfig, ScalePoint, ScheduleTooltip, ScheduleTooltipConfig, Scheduler, SchedulerAssignmentModel, SchedulerEventModel, SchedulerPro, SchedulerProAssignmentModel, SchedulerProCellEdit, SchedulerProCellEditConfig, SchedulerProProjectModel, SchedulerResourceModel, SchedulerSummary, SchedulerSummaryConfig, SchedulerTimeAxisColumn, ScrollManager, ScrollManagerConfig, Scroller, ScrollerConfig, Search, SearchConfig, Sort, SortConfig, Split, SplitConfig, StateProvider, StickyCells, StickyCellsConfig, Store, StoreConfig, Stripe, StripeConfig, SubGrid, SubGridConfig, TabConfig, TimeAxis, TimeAxisConfig, TimeAxisHeaderMenu, TimeAxisHeaderMenuConfig, TimeRanges, TimeRangesConfig, TimeSpan, TimeSpanConfig, TimeSpanHighlight, TimeSpanHighlightConfig, TimelineBase, TimelineContext, TimelineHistogram, TimelineStateInfo, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, Tree, TreeConfig, VerticalTimeAxisColumn, ViewPreset, ViewPresetConfig, VisibleDate, Widget, XLSColumn } from '@bryntum/gantt';
6
+ import { AIFilter, AIFilterConfig, AjaxStore, AjaxStoreConfig, AllocationCellEdit, AllocationCellEditConfig, AllocationCopyPaste, AllocationCopyPasteConfig, AssignmentAllocationInterval, Base, CellCopyPaste, CellCopyPasteConfig, CellEditorContext, CellMenu, CellMenuConfig, CellTooltip, CellTooltipConfig, Charts, ChartsConfig, Column, ColumnAutoWidth, ColumnAutoWidthConfig, ColumnDragToolbar, ColumnDragToolbarConfig, ColumnLines, ColumnLinesConfig, ColumnPicker, ColumnPickerConfig, ColumnRename, ColumnRenameConfig, ColumnReorder, ColumnReorderConfig, ColumnResize, ColumnResizeConfig, ColumnStore, ColumnStoreConfig, Container, ContainerItemConfig, CrudManager, DomConfig, DurationUnit, EmptyTextDomConfig, EventColor, ExportConfig, FileDrop, FileDropConfig, FillHandle, FillHandleConfig, Filter, FilterBar, FilterBarConfig, FilterConfig, FormulaProviderConfig, Grid, GridBase, GridColumnConfig, GridExcelExporter, GridExcelExporterConfig, GridLocation, GridLocationConfig, GridLockRows, GridLockRowsConfig, GridPdfExport, GridPdfExportConfig, GridPrint, GridPrintConfig, GridRowResize, GridRowResizeConfig, GridSelectionMode, GridStateInfo, GridTreeGroup, GridTreeGroupConfig, Group, GroupConfig, GroupSummary, GroupSummaryConfig, HeaderMenu, HeaderMenuConfig, HeaderZoom, HeaderZoomConfig, Histogram, HistogramConfig, HistogramSeries, KeyMapConfig, Mask, MaskConfig, Menu, MenuItem, MenuItemEntry, MergeCells, MergeCellsConfig, Model, ModelConfig, NonWorkingTime, NonWorkingTimeConfig, NumberFormatConfig, PagingToolbarConfig, Pan, PanConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, PdfExportConfig, PinColumns, PinColumnsConfig, PreserveScrollOptions, PresetStore, ProjectModel, ProjectModelConfig, QuickFind, QuickFindConfig, RecordPositionContext, RecurrenceConfirmationPopup, RecurrenceConfirmationPopupConfig, RegionResize, RegionResizeConfig, ResourceAllocationInfo, ResourceAllocationInterval, ResourceHistogramRenderData, ResourceMarginConfig, ResourceMenu, ResourceMenuConfig, ResourceNonWorkingTime, ResourceNonWorkingTimeConfig, ResourceTimeRangeModel, ResourceTimeRangeModelConfig, ResourceTimeRangeStore, ResourceTimeRangeStoreConfig, ResourceTimeRanges, ResourceTimeRangesConfig, ResourceUtilization, ResourceUtilizationListeners, ResourceUtilizationModel, ResourceUtilizationRenderData, ResponsiveLevelConfig, Row, RowCopyPaste, RowCopyPasteConfig, RowEdit, RowEditConfig, RowEditorContext, RowExpander, RowExpanderConfig, RowReorder, RowReorderConfig, ScaleColumnConfig, ScalePoint, ScheduleTooltip, ScheduleTooltipConfig, Scheduler, SchedulerAssignmentModel, SchedulerEventModel, SchedulerPro, SchedulerProAssignmentModel, SchedulerProCellEdit, SchedulerProCellEditConfig, SchedulerProProjectModel, SchedulerResourceModel, SchedulerSummary, SchedulerSummaryConfig, SchedulerTimeAxisColumn, ScrollManager, ScrollManagerConfig, Scroller, ScrollerConfig, Search, SearchConfig, Sort, SortConfig, Split, SplitConfig, StateProvider, StickyCells, StickyCellsConfig, Store, StoreConfig, Stripe, StripeConfig, SubGrid, SubGridConfig, TabConfig, TimeAxis, TimeAxisConfig, TimeAxisHeaderMenu, TimeAxisHeaderMenuConfig, TimeRanges, TimeRangesConfig, TimeSpan, TimeSpanConfig, TimeSpanHighlight, TimeSpanHighlightConfig, TimelineBase, TimelineContext, TimelineHistogram, TimelineStateInfo, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, Tree, TreeConfig, VerticalTimeAxisColumn, ViewPreset, ViewPresetConfig, VisibleDate, Widget, XLSColumn } from '@bryntum/gantt';
7
7
 
8
8
  import { createWidget, shouldComponentUpdate, processWidgetContent } from './WrapperHelper.js';
9
9
 
@@ -1368,6 +1368,14 @@ export type BryntumResourceUtilizationProps = {
1368
1368
  * @param {any} event.value The value being set
1369
1369
  */
1370
1370
  onBeforeCellRangeEdit? : ((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string
1371
+ /**
1372
+ * This event is triggered before a parent column is collapsed or expanded.
1373
+ * @param {object} event Event object
1374
+ * @param {Grid.view.GridBase} event.source The grid instance
1375
+ * @param {Grid.column.Column} event.column The column
1376
+ * @param {boolean} event.collapsed `true` if the column is being collapsed, `false` if expanded
1377
+ */
1378
+ onBeforeColumnCollapseToggle? : ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
1371
1379
  /**
1372
1380
  * This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
1373
1381
  * @param {object} event Event object
@@ -1519,9 +1527,9 @@ export type BryntumResourceUtilizationProps = {
1519
1527
  /**
1520
1528
  * Fires on the owning Grid before export started. Return `false` to cancel the export.
1521
1529
  * @param {object} event Event object
1522
- * @param {object} event.config Export config
1530
+ * @param {PdfExportConfig} event.config Export config
1523
1531
  */
1524
- onBeforePdfExport? : ((event: { config: object }) => Promise<boolean>|boolean|void)|string
1532
+ onBeforePdfExport? : ((event: { config: PdfExportConfig }) => Promise<boolean>|boolean|void)|string
1525
1533
  /**
1526
1534
  * Fired before the [viewPreset](https://bryntum.com/products/gantt/docs/api/Scheduler/view/mixin/TimelineViewPresets#config-viewPreset) is changed.
1527
1535
  * @param {object} event Event object
@@ -1555,18 +1563,18 @@ export type BryntumResourceUtilizationProps = {
1555
1563
  /**
1556
1564
  * Fires before a row is rendered.
1557
1565
  * @param {object} event Event object
1558
- * @param {Grid.view.Grid} event.source The firing Grid instance.
1559
- * @param {Grid.row.Row} event.row The row about to be rendered.
1560
- * @param {Core.data.Model} event.record The record for the row.
1561
- * @param {number} event.recordIndex The zero-based index of the record.
1566
+ * @param {Grid.view.GridBase} event.source The firing Grid instance
1567
+ * @param {Grid.row.Row} event.row The row about to be rendered
1568
+ * @param {Core.data.Model} event.record The record for the row
1569
+ * @param {number} event.recordIndex The zero-based index of the record
1562
1570
  */
1563
- onBeforeRenderRow? : ((event: { source: Grid, row: Row, record: Model, recordIndex: number }) => void)|string
1571
+ onBeforeRenderRow? : ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
1564
1572
  /**
1565
1573
  * Grid rows are about to be rendered
1566
1574
  * @param {object} event Event object
1567
- * @param {Grid.view.Grid} event.source This grid.
1575
+ * @param {Grid.view.GridBase} event.source This grid.
1568
1576
  */
1569
- onBeforeRenderRows? : ((event: { source: Grid }) => void)|string
1577
+ onBeforeRenderRows? : ((event: { source: GridBase }) => void)|string
1570
1578
  /**
1571
1579
  * This event fires before row collapse is started.
1572
1580
  * ...
@@ -1797,6 +1805,14 @@ export type BryntumResourceUtilizationProps = {
1797
1805
  * @param {Core.data.Model} event.record The record which has been collapsed.
1798
1806
  */
1799
1807
  onCollapseNode? : ((event: { source: Grid, record: Model }) => void)|string
1808
+ /**
1809
+ * This event is triggered after a parent column has been collapsed or expanded.
1810
+ * @param {object} event Event object
1811
+ * @param {Grid.view.GridBase} event.source The Grid instance
1812
+ * @param {Grid.column.Column} event.column The column being toggled
1813
+ * @param {boolean} event.collapsed `true` if the column is now collapsed, `false` if expanded
1814
+ */
1815
+ onColumnCollapseToggle? : ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
1800
1816
  /**
1801
1817
  * This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
1802
1818
  * to indicate whether the drop position is valid or not.
@@ -1894,14 +1910,14 @@ export type BryntumResourceUtilizationProps = {
1894
1910
  * ...
1895
1911
  * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/view/ResourceUtilization#event-dataChange)
1896
1912
  * @param {object} event Event object
1897
- * @param {Grid.view.Grid} event.source Owning grid
1913
+ * @param {Grid.view.GridBase} event.source Owning grid
1898
1914
  * @param {Core.data.Store} event.store The originating store
1899
1915
  * @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
1900
1916
  * @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
1901
1917
  * @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
1902
1918
  * @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
1903
1919
  */
1904
- onDataChange? : ((event: { source: Grid, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string
1920
+ onDataChange? : ((event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string
1905
1921
  /**
1906
1922
  * Fired when the range of dates encapsulated by the UI changes. This will be when
1907
1923
  * moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/gantt/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
@@ -2264,18 +2280,18 @@ export type BryntumResourceUtilizationProps = {
2264
2280
  /**
2265
2281
  * Fires after a row is rendered.
2266
2282
  * @param {object} event Event object
2267
- * @param {Grid.view.Grid} event.source The firing Grid instance.
2268
- * @param {Grid.row.Row} event.row The row that has been rendered.
2269
- * @param {Core.data.Model} event.record The record for the row.
2270
- * @param {number} event.recordIndex The zero-based index of the record.
2283
+ * @param {Grid.view.GridBase} event.source The firing Grid instance
2284
+ * @param {Grid.row.Row} event.row The row that has been rendered
2285
+ * @param {Core.data.Model} event.record The record for the row
2286
+ * @param {number} event.recordIndex The zero-based index of the record
2271
2287
  */
2272
- onRenderRow? : ((event: { source: Grid, row: Row, record: Model, recordIndex: number }) => void)|string
2288
+ onRenderRow? : ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
2273
2289
  /**
2274
2290
  * Grid rows have been rendered
2275
2291
  * @param {object} event Event object
2276
- * @param {Grid.view.Grid} event.source This grid.
2292
+ * @param {Grid.view.GridBase} event.source This grid.
2277
2293
  */
2278
- onRenderRows? : ((event: { source: Grid }) => void)|string
2294
+ onRenderRows? : ((event: { source: GridBase }) => void)|string
2279
2295
  /**
2280
2296
  * Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
2281
2297
  * @param {object} event Event object
@@ -2530,10 +2546,10 @@ export type BryntumResourceUtilizationProps = {
2530
2546
  /**
2531
2547
  * Grid has scrolled vertically
2532
2548
  * @param {object} event Event object
2533
- * @param {Grid.view.Grid} event.source The firing Grid instance.
2549
+ * @param {Grid.view.GridBase} event.source The firing Grid instance.
2534
2550
  * @param {number} event.scrollTop The vertical scroll position.
2535
2551
  */
2536
- onScroll? : ((event: { source: Grid, scrollTop: number }) => void)|string
2552
+ onScroll? : ((event: { source: GridBase, scrollTop: number }) => void)|string
2537
2553
  /**
2538
2554
  * The selection has been changed.
2539
2555
  * @param {object} event Event object
@@ -2621,17 +2637,17 @@ export type BryntumResourceUtilizationProps = {
2621
2637
  /**
2622
2638
  * Fires after a sub grid is collapsed.
2623
2639
  * @param {object} event Event object
2624
- * @param {Grid.view.Grid} event.source The firing Grid instance
2640
+ * @param {Grid.view.GridBase} event.source The firing Grid instance
2625
2641
  * @param {Grid.view.SubGrid} event.subGrid The sub grid instance
2626
2642
  */
2627
- onSubGridCollapse? : ((event: { source: Grid, subGrid: SubGrid }) => void)|string
2643
+ onSubGridCollapse? : ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
2628
2644
  /**
2629
2645
  * Fires after a sub grid is expanded.
2630
2646
  * @param {object} event Event object
2631
- * @param {Grid.view.Grid} event.source The firing Grid instance
2647
+ * @param {Grid.view.GridBase} event.source The firing Grid instance
2632
2648
  * @param {Grid.view.SubGrid} event.subGrid The sub grid instance
2633
2649
  */
2634
- onSubGridExpand? : ((event: { source: Grid, subGrid: SubGrid }) => void)|string
2650
+ onSubGridExpand? : ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
2635
2651
  /**
2636
2652
  * Fired when the tick size changes.
2637
2653
  * ...
@@ -3334,9 +3350,7 @@ export class BryntumResourceUtilization extends React.Component<BryntumResourceU
3334
3350
  'managedEventSizing',
3335
3351
  'maskDefaults',
3336
3352
  'masked',
3337
- 'maxDate',
3338
3353
  'maxTimeAxisUnit',
3339
- 'minDate',
3340
3354
  'monitorResize',
3341
3355
  'owner',
3342
3356
  'partner',
@@ -3427,9 +3441,11 @@ export class BryntumResourceUtilization extends React.Component<BryntumResourceU
3427
3441
  'labelPosition',
3428
3442
  'longPressTime',
3429
3443
  'margin',
3444
+ 'maxDate',
3430
3445
  'maxHeight',
3431
3446
  'maxWidth',
3432
3447
  'maxZoomLevel',
3448
+ 'minDate',
3433
3449
  'minHeight',
3434
3450
  'minWidth',
3435
3451
  'minZoomLevel',
@@ -3439,6 +3455,7 @@ export class BryntumResourceUtilization extends React.Component<BryntumResourceU
3439
3455
  'onBeforeCellEditStart',
3440
3456
  'onBeforeCellRangeDelete',
3441
3457
  'onBeforeCellRangeEdit',
3458
+ 'onBeforeColumnCollapseToggle',
3442
3459
  'onBeforeColumnDragStart',
3443
3460
  'onBeforeColumnDropFinalize',
3444
3461
  'onBeforeColumnResize',
@@ -3487,6 +3504,7 @@ export class BryntumResourceUtilization extends React.Component<BryntumResourceU
3487
3504
  'onCellMouseOver',
3488
3505
  'onCollapse',
3489
3506
  'onCollapseNode',
3507
+ 'onColumnCollapseToggle',
3490
3508
  'onColumnDrag',
3491
3509
  'onColumnDragStart',
3492
3510
  'onColumnDrop',
@@ -3,7 +3,7 @@
3
3
  */
4
4
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
5
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, DateConstraint, DependencyBaseModel, DependencyMenu, DependencyMenuConfig, DependencyStoreConfig, DomClassList, DomConfig, DropData, DurationConfig, DurationUnit, EmptyTextDomConfig, EventColor, EventCopyPaste, EventCopyPasteConfig, EventDrag, EventDragConfig, EventDragCreate, EventDragCreateConfig, EventDragSelect, EventDragSelectConfig, EventEdit, EventEditConfig, EventFilter, EventFilterConfig, EventMenu, EventMenuConfig, EventNonWorkingTime, EventNonWorkingTimeConfig, EventResizeData, EventTooltip, EventTooltipConfig, ExcelExporter, ExcelExporterConfig, ExportConfig, FileDrop, FileDropConfig, FillHandle, FillHandleConfig, Filter, FilterBar, FilterBarConfig, FilterConfig, FormulaProviderConfig, Grid, GridBase, GridCellEdit, GridCellEditConfig, GridColumnConfig, GridLocation, GridLocationConfig, GridSelectionMode, GridTreeGroup, GridTreeGroupConfig, Group, GroupConfig, GroupSummary, GroupSummaryConfig, HeaderMenu, HeaderMenuConfig, HeaderZoom, HeaderZoomConfig, KeyMapConfig, LockRows, LockRowsConfig, Mask, MaskConfig, Menu, MenuConfig, MenuItem, MenuItemEntry, MergeCells, MergeCellsConfig, Model, ModelConfig, NonWorkingTime, NonWorkingTimeConfig, PagingToolbarConfig, Pan, PanConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, PinColumns, PinColumnsConfig, Popup, PreserveScrollOptions, PresetStore, ProjectModel, ProjectModelConfig, QuickFind, QuickFindConfig, RecordPositionContext, Rectangle, RecurrenceConfirmationPopup, RecurrenceConfirmationPopupConfig, RegionResize, RegionResizeConfig, ResourceHeaderConfig, ResourceMarginConfig, ResourceMenu, ResourceMenuConfig, ResourceTimeRangeModel, ResourceTimeRangeModelConfig, ResourceTimeRangeStore, ResourceTimeRangeStoreConfig, ResourceTimeRanges, ResourceTimeRangesConfig, Row, RowCopyPaste, RowCopyPasteConfig, RowEdit, RowEditConfig, RowEditorContext, RowExpander, RowExpanderConfig, RowReorder, RowReorderConfig, RowResize, RowResizeConfig, ScheduleContext, ScheduleContextConfig, ScheduleMenu, ScheduleMenuConfig, ScheduleTooltip, ScheduleTooltipConfig, Scheduler, SchedulerAssignmentModel, SchedulerAssignmentModelConfig, SchedulerAssignmentStore, SchedulerAssignmentStoreConfig, SchedulerBase, SchedulerDependencies, SchedulerDependenciesConfig, SchedulerDependencyEdit, SchedulerDependencyEditConfig, SchedulerDependencyModel, SchedulerDependencyModelConfig, SchedulerDependencyStore, SchedulerEventModel, SchedulerEventModelConfig, SchedulerEventResize, SchedulerEventResizeConfig, SchedulerEventStore, SchedulerEventStoreConfig, SchedulerLabels, SchedulerLabelsConfig, SchedulerListeners, SchedulerPdfExport, SchedulerPdfExportConfig, SchedulerPrint, SchedulerPrintConfig, SchedulerResourceModel, SchedulerResourceModelConfig, SchedulerResourceStore, SchedulerResourceStoreConfig, SchedulerResponsiveLevelConfig, SchedulerScrollButtons, SchedulerScrollButtonsConfig, SchedulerStateInfo, SchedulerSummary, SchedulerSummaryConfig, SchedulerTimeAxisColumn, ScrollManager, ScrollManagerConfig, Scroller, ScrollerConfig, Search, SearchConfig, SimpleEventEdit, SimpleEventEditConfig, Sort, SortConfig, Split, SplitConfig, StateProvider, StickyCells, StickyCellsConfig, StickyEvents, StickyEventsConfig, Store, StoreConfig, Stripe, StripeConfig, SubGrid, SubGridConfig, TabConfig, TimeAxis, TimeAxisConfig, TimeAxisHeaderMenu, TimeAxisHeaderMenuConfig, TimeRanges, TimeRangesConfig, TimeSelection, TimeSelectionConfig, TimeSpan, TimeSpanConfig, TimelineBase, TimelineContext, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, Tree, TreeConfig, TreeSummary, TreeSummaryConfig, VerticalTimeAxisColumn, VerticalTimeAxisColumnConfig, ViewPreset, ViewPresetConfig, VisibleDate, Widget, XLSColumn } from '@bryntum/gantt';
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, DateConstraint, DependencyBaseModel, DependencyMenu, DependencyMenuConfig, DependencyStoreConfig, DomClassList, DomConfig, DropData, DurationConfig, DurationUnit, EmptyTextDomConfig, EventColor, EventCopyPaste, EventCopyPasteConfig, EventDrag, EventDragConfig, EventDragCreate, EventDragCreateConfig, EventDragSelect, EventDragSelectConfig, EventEdit, EventEditConfig, EventFilter, EventFilterConfig, EventMenu, EventMenuConfig, EventNonWorkingTime, EventNonWorkingTimeConfig, EventResizeData, EventTooltip, EventTooltipConfig, ExcelExporter, ExcelExporterConfig, ExportConfig, FileDrop, FileDropConfig, FillHandle, FillHandleConfig, Filter, FilterBar, FilterBarConfig, FilterConfig, FormulaProviderConfig, Grid, GridBase, GridCellEdit, GridCellEditConfig, GridColumnConfig, GridLocation, GridLocationConfig, GridSelectionMode, GridTreeGroup, GridTreeGroupConfig, Group, GroupConfig, GroupSummary, GroupSummaryConfig, HeaderMenu, HeaderMenuConfig, HeaderZoom, HeaderZoomConfig, KeyMapConfig, LockRows, LockRowsConfig, Mask, MaskConfig, Menu, MenuConfig, MenuItem, MenuItemEntry, MergeCells, MergeCellsConfig, Model, ModelConfig, NonWorkingTime, NonWorkingTimeConfig, PagingToolbarConfig, Pan, PanConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, PdfExportConfig, PinColumns, PinColumnsConfig, Popup, PreserveScrollOptions, PresetStore, ProjectModel, ProjectModelConfig, QuickFind, QuickFindConfig, RecordPositionContext, Rectangle, RecurrenceConfirmationPopup, RecurrenceConfirmationPopupConfig, RegionResize, RegionResizeConfig, ResourceHeaderConfig, ResourceMarginConfig, ResourceMenu, ResourceMenuConfig, ResourceTimeRangeModel, ResourceTimeRangeModelConfig, ResourceTimeRangeStore, ResourceTimeRangeStoreConfig, ResourceTimeRanges, ResourceTimeRangesConfig, Row, RowCopyPaste, RowCopyPasteConfig, RowEdit, RowEditConfig, RowEditorContext, RowExpander, RowExpanderConfig, RowReorder, RowReorderConfig, RowResize, RowResizeConfig, ScheduleContext, ScheduleContextConfig, ScheduleMenu, ScheduleMenuConfig, ScheduleTooltip, ScheduleTooltipConfig, Scheduler, SchedulerAssignmentModel, SchedulerAssignmentModelConfig, SchedulerAssignmentStore, SchedulerAssignmentStoreConfig, SchedulerBase, SchedulerDependencies, SchedulerDependenciesConfig, SchedulerDependencyEdit, SchedulerDependencyEditConfig, SchedulerDependencyModel, SchedulerDependencyModelConfig, SchedulerDependencyStore, SchedulerEventModel, SchedulerEventModelConfig, SchedulerEventResize, SchedulerEventResizeConfig, SchedulerEventStore, SchedulerEventStoreConfig, SchedulerLabels, SchedulerLabelsConfig, SchedulerListeners, SchedulerPdfExport, SchedulerPdfExportConfig, SchedulerPrint, SchedulerPrintConfig, SchedulerResourceModel, SchedulerResourceModelConfig, SchedulerResourceStore, SchedulerResourceStoreConfig, SchedulerResponsiveLevelConfig, SchedulerScrollButtons, SchedulerScrollButtonsConfig, SchedulerStateInfo, SchedulerSummary, SchedulerSummaryConfig, SchedulerTimeAxisColumn, ScrollManager, ScrollManagerConfig, Scroller, ScrollerConfig, Search, SearchConfig, SimpleEventEdit, SimpleEventEditConfig, Sort, SortConfig, Split, SplitConfig, StateProvider, StickyCells, StickyCellsConfig, StickyEvents, StickyEventsConfig, Store, StoreConfig, Stripe, StripeConfig, SubGrid, SubGridConfig, TabConfig, TimeAxis, TimeAxisConfig, TimeAxisHeaderMenu, TimeAxisHeaderMenuConfig, TimeRanges, TimeRangesConfig, TimeSelection, TimeSelectionConfig, TimeSpan, TimeSpanConfig, TimelineBase, TimelineContext, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, Tree, TreeConfig, TreeSummary, TreeSummaryConfig, VerticalTimeAxisColumn, VerticalTimeAxisColumnConfig, ViewPreset, ViewPresetConfig, VisibleDate, Widget, XLSColumn } from '@bryntum/gantt';
7
7
 
8
8
  import { createWidget, shouldComponentUpdate, processWidgetContent } from './WrapperHelper.js';
9
9
 
@@ -1715,6 +1715,14 @@ export type BryntumSchedulerProps = {
1715
1715
  * @param {any} event.value The value being set
1716
1716
  */
1717
1717
  onBeforeCellRangeEdit? : ((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string
1718
+ /**
1719
+ * This event is triggered before a parent column is collapsed or expanded.
1720
+ * @param {object} event Event object
1721
+ * @param {Grid.view.GridBase} event.source The grid instance
1722
+ * @param {Grid.column.Column} event.column The column
1723
+ * @param {boolean} event.collapsed `true` if the column is being collapsed, `false` if expanded
1724
+ */
1725
+ onBeforeColumnCollapseToggle? : ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
1718
1726
  /**
1719
1727
  * This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
1720
1728
  * @param {object} event Event object
@@ -2072,9 +2080,9 @@ export type BryntumSchedulerProps = {
2072
2080
  /**
2073
2081
  * Fires on the owning Grid before export started. Return `false` to cancel the export.
2074
2082
  * @param {object} event Event object
2075
- * @param {object} event.config Export config
2083
+ * @param {PdfExportConfig} event.config Export config
2076
2084
  */
2077
- onBeforePdfExport? : ((event: { config: object }) => Promise<boolean>|boolean|void)|string
2085
+ onBeforePdfExport? : ((event: { config: PdfExportConfig }) => Promise<boolean>|boolean|void)|string
2078
2086
  /**
2079
2087
  * Fired before the [viewPreset](https://bryntum.com/products/gantt/docs/api/Scheduler/view/mixin/TimelineViewPresets#config-viewPreset) is changed.
2080
2088
  * @param {object} event Event object
@@ -2088,18 +2096,18 @@ export type BryntumSchedulerProps = {
2088
2096
  /**
2089
2097
  * Fires before a row is rendered.
2090
2098
  * @param {object} event Event object
2091
- * @param {Grid.view.Grid} event.source The firing Grid instance.
2092
- * @param {Grid.row.Row} event.row The row about to be rendered.
2093
- * @param {Core.data.Model} event.record The record for the row.
2094
- * @param {number} event.recordIndex The zero-based index of the record.
2099
+ * @param {Grid.view.GridBase} event.source The firing Grid instance
2100
+ * @param {Grid.row.Row} event.row The row about to be rendered
2101
+ * @param {Core.data.Model} event.record The record for the row
2102
+ * @param {number} event.recordIndex The zero-based index of the record
2095
2103
  */
2096
- onBeforeRenderRow? : ((event: { source: Grid, row: Row, record: Model, recordIndex: number }) => void)|string
2104
+ onBeforeRenderRow? : ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
2097
2105
  /**
2098
2106
  * Grid rows are about to be rendered
2099
2107
  * @param {object} event Event object
2100
- * @param {Grid.view.Grid} event.source This grid.
2108
+ * @param {Grid.view.GridBase} event.source This grid.
2101
2109
  */
2102
- onBeforeRenderRows? : ((event: { source: Grid }) => void)|string
2110
+ onBeforeRenderRows? : ((event: { source: GridBase }) => void)|string
2103
2111
  /**
2104
2112
  * This event fires before row collapse is started.
2105
2113
  * ...
@@ -2348,6 +2356,14 @@ export type BryntumSchedulerProps = {
2348
2356
  * @param {Core.data.Model} event.record The record which has been collapsed.
2349
2357
  */
2350
2358
  onCollapseNode? : ((event: { source: Grid, record: Model }) => void)|string
2359
+ /**
2360
+ * This event is triggered after a parent column has been collapsed or expanded.
2361
+ * @param {object} event Event object
2362
+ * @param {Grid.view.GridBase} event.source The Grid instance
2363
+ * @param {Grid.column.Column} event.column The column being toggled
2364
+ * @param {boolean} event.collapsed `true` if the column is now collapsed, `false` if expanded
2365
+ */
2366
+ onColumnCollapseToggle? : ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
2351
2367
  /**
2352
2368
  * This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
2353
2369
  * to indicate whether the drop position is valid or not.
@@ -2436,14 +2452,14 @@ export type BryntumSchedulerProps = {
2436
2452
  * ...
2437
2453
  * [View online docs...](https://bryntum.com/products/gantt/docs/api/Scheduler/view/Scheduler#event-dataChange)
2438
2454
  * @param {object} event Event object
2439
- * @param {Grid.view.Grid} event.source Owning grid
2455
+ * @param {Grid.view.GridBase} event.source Owning grid
2440
2456
  * @param {Core.data.Store} event.store The originating store
2441
2457
  * @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'`
2442
2458
  * @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
2443
2459
  * @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
2444
2460
  * @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
2445
2461
  */
2446
- onDataChange? : ((event: { source: Grid, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string
2462
+ onDataChange? : ((event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string
2447
2463
  /**
2448
2464
  * Fired when the range of dates encapsulated by the UI changes. This will be when
2449
2465
  * moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/gantt/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
@@ -2554,16 +2570,20 @@ export type BryntumSchedulerProps = {
2554
2570
  * @param {Scheduler.model.TimeSpan} event.source The source task
2555
2571
  * @param {Scheduler.model.TimeSpan} event.target The target task
2556
2572
  * @param {number} event.dependencyType The dependency type, see [Type](https://bryntum.com/products/gantt/docs/api/Scheduler/model/DependencyBaseModel#property-Type-static)
2573
+ * @param {'start','end','top','bottom'} event.fromSide The side of the source task where the dependency starts
2574
+ * @param {'start','end','top','bottom'} event.toSide The side of the target task where the dependency ends
2557
2575
  */
2558
- onDependencyValidationComplete? : ((event: { source: TimeSpan, target: TimeSpan, dependencyType: number }) => void)|string
2576
+ onDependencyValidationComplete? : ((event: { source: TimeSpan, target: TimeSpan, dependencyType: number, fromSide: 'start'|'end'|'top'|'bottom', toSide: 'start'|'end'|'top'|'bottom' }) => void)|string
2559
2577
  /**
2560
2578
  * Fired on the owning Scheduler/Gantt when asynchronous dependency validation starts
2561
2579
  * @param {object} event Event object
2562
2580
  * @param {Scheduler.model.TimeSpan} event.source The source task
2563
2581
  * @param {Scheduler.model.TimeSpan} event.target The target task
2564
2582
  * @param {number} event.dependencyType The dependency type, see [Type](https://bryntum.com/products/gantt/docs/api/Scheduler/model/DependencyBaseModel#property-Type-static)
2583
+ * @param {'start','end','top','bottom'} event.fromSide The side of the source task where the dependency starts
2584
+ * @param {'start','end','top','bottom'} event.toSide The side of the target task where the dependency ends
2565
2585
  */
2566
- onDependencyValidationStart? : ((event: { source: TimeSpan, target: TimeSpan, dependencyType: number }) => void)|string
2586
+ onDependencyValidationStart? : ((event: { source: TimeSpan, target: TimeSpan, dependencyType: number, fromSide: 'start'|'end'|'top'|'bottom', toSide: 'start'|'end'|'top'|'bottom' }) => void)|string
2567
2587
  /**
2568
2588
  * Fires when an object is destroyed.
2569
2589
  * @param {object} event Event object
@@ -3298,18 +3318,18 @@ export type BryntumSchedulerProps = {
3298
3318
  /**
3299
3319
  * Fires after a row is rendered.
3300
3320
  * @param {object} event Event object
3301
- * @param {Grid.view.Grid} event.source The firing Grid instance.
3302
- * @param {Grid.row.Row} event.row The row that has been rendered.
3303
- * @param {Core.data.Model} event.record The record for the row.
3304
- * @param {number} event.recordIndex The zero-based index of the record.
3321
+ * @param {Grid.view.GridBase} event.source The firing Grid instance
3322
+ * @param {Grid.row.Row} event.row The row that has been rendered
3323
+ * @param {Core.data.Model} event.record The record for the row
3324
+ * @param {number} event.recordIndex The zero-based index of the record
3305
3325
  */
3306
- onRenderRow? : ((event: { source: Grid, row: Row, record: Model, recordIndex: number }) => void)|string
3326
+ onRenderRow? : ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
3307
3327
  /**
3308
3328
  * Grid rows have been rendered
3309
3329
  * @param {object} event Event object
3310
- * @param {Grid.view.Grid} event.source This grid.
3330
+ * @param {Grid.view.GridBase} event.source This grid.
3311
3331
  */
3312
- onRenderRows? : ((event: { source: Grid }) => void)|string
3332
+ onRenderRows? : ((event: { source: GridBase }) => void)|string
3313
3333
  /**
3314
3334
  * 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`*.
3315
3335
  * @param {object} event Event object
@@ -3651,10 +3671,10 @@ export type BryntumSchedulerProps = {
3651
3671
  /**
3652
3672
  * Grid has scrolled vertically
3653
3673
  * @param {object} event Event object
3654
- * @param {Grid.view.Grid} event.source The firing Grid instance.
3674
+ * @param {Grid.view.GridBase} event.source The firing Grid instance.
3655
3675
  * @param {number} event.scrollTop The vertical scroll position.
3656
3676
  */
3657
- onScroll? : ((event: { source: Grid, scrollTop: number }) => void)|string
3677
+ onScroll? : ((event: { source: GridBase, scrollTop: number }) => void)|string
3658
3678
  /**
3659
3679
  * Fires on owner when the scroll button is clicked, return `false` to prevent default scroll behavior
3660
3680
  * @param {object} event Event object
@@ -3758,17 +3778,17 @@ export type BryntumSchedulerProps = {
3758
3778
  /**
3759
3779
  * Fires after a sub grid is collapsed.
3760
3780
  * @param {object} event Event object
3761
- * @param {Grid.view.Grid} event.source The firing Grid instance
3781
+ * @param {Grid.view.GridBase} event.source The firing Grid instance
3762
3782
  * @param {Grid.view.SubGrid} event.subGrid The sub grid instance
3763
3783
  */
3764
- onSubGridCollapse? : ((event: { source: Grid, subGrid: SubGrid }) => void)|string
3784
+ onSubGridCollapse? : ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
3765
3785
  /**
3766
3786
  * Fires after a sub grid is expanded.
3767
3787
  * @param {object} event Event object
3768
- * @param {Grid.view.Grid} event.source The firing Grid instance
3788
+ * @param {Grid.view.GridBase} event.source The firing Grid instance
3769
3789
  * @param {Grid.view.SubGrid} event.subGrid The sub grid instance
3770
3790
  */
3771
- onSubGridExpand? : ((event: { source: Grid, subGrid: SubGrid }) => void)|string
3791
+ onSubGridExpand? : ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
3772
3792
  /**
3773
3793
  * Triggered for click on a tick cell. Only triggered if the TreeSummary feature is configured with
3774
3794
  * `[enableMouseEvents](https://bryntum.com/products/gantt/docs/api/Scheduler/feature/TreeSummary#config-enableMouseEvents): true`.
@@ -4683,9 +4703,7 @@ export class BryntumScheduler extends React.Component<BryntumSchedulerProps> {
4683
4703
  'managedEventSizing',
4684
4704
  'maskDefaults',
4685
4705
  'masked',
4686
- 'maxDate',
4687
4706
  'maxTimeAxisUnit',
4688
- 'minDate',
4689
4707
  'mode',
4690
4708
  'monitorResize',
4691
4709
  'multiEventSelect',
@@ -4806,6 +4824,7 @@ export class BryntumScheduler extends React.Component<BryntumSchedulerProps> {
4806
4824
  'lazyLoadingIndicator',
4807
4825
  'longPressTime',
4808
4826
  'margin',
4827
+ 'maxDate',
4809
4828
  'maxHeight',
4810
4829
  'maxWidth',
4811
4830
  'maxZoomLevel',
@@ -4813,6 +4832,7 @@ export class BryntumScheduler extends React.Component<BryntumSchedulerProps> {
4813
4832
  'milestoneCharWidth',
4814
4833
  'milestoneLayoutMode',
4815
4834
  'milestoneTextPosition',
4835
+ 'minDate',
4816
4836
  'minHeight',
4817
4837
  'minPackSize',
4818
4838
  'minWidth',
@@ -4833,6 +4853,7 @@ export class BryntumScheduler extends React.Component<BryntumSchedulerProps> {
4833
4853
  'onBeforeCellEditStart',
4834
4854
  'onBeforeCellRangeDelete',
4835
4855
  'onBeforeCellRangeEdit',
4856
+ 'onBeforeColumnCollapseToggle',
4836
4857
  'onBeforeColumnDragStart',
4837
4858
  'onBeforeColumnDropFinalize',
4838
4859
  'onBeforeColumnResize',
@@ -4898,6 +4919,7 @@ export class BryntumScheduler extends React.Component<BryntumSchedulerProps> {
4898
4919
  'onCellMouseOver',
4899
4920
  'onCollapse',
4900
4921
  'onCollapseNode',
4922
+ 'onColumnCollapseToggle',
4901
4923
  'onColumnDrag',
4902
4924
  'onColumnDragStart',
4903
4925
  'onColumnDrop',