@bryntum/gantt-react 7.2.1 → 7.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/BryntumAssignmentGrid.d.ts +6 -1
- package/lib/BryntumAssignmentGrid.js +1 -0
- package/lib/BryntumAssignmentGrid.js.map +1 -1
- package/lib/BryntumDemoHeader.d.ts +0 -1
- package/lib/BryntumDemoHeader.js +1 -2
- package/lib/BryntumDemoHeader.js.map +1 -1
- package/lib/BryntumGantt.d.ts +7 -1
- package/lib/BryntumGantt.js +2 -0
- package/lib/BryntumGantt.js.map +1 -1
- package/lib/BryntumGanttBase.d.ts +7 -1
- package/lib/BryntumGanttBase.js +2 -0
- package/lib/BryntumGanttBase.js.map +1 -1
- package/lib/BryntumGanttProjectModel.d.ts +6 -6
- package/lib/BryntumGrid.d.ts +6 -1
- package/lib/BryntumGrid.js +1 -0
- package/lib/BryntumGrid.js.map +1 -1
- package/lib/BryntumGridBase.d.ts +6 -1
- package/lib/BryntumGridBase.js +1 -0
- package/lib/BryntumGridBase.js.map +1 -1
- package/lib/BryntumResourceGrid.d.ts +18 -1
- package/lib/BryntumResourceGrid.js +57 -1
- package/lib/BryntumResourceGrid.js.map +1 -1
- package/lib/BryntumResourceHistogram.d.ts +6 -1
- package/lib/BryntumResourceHistogram.js +1 -0
- package/lib/BryntumResourceHistogram.js.map +1 -1
- package/lib/BryntumResourceUtilization.d.ts +6 -1
- package/lib/BryntumResourceUtilization.js +1 -0
- package/lib/BryntumResourceUtilization.js.map +1 -1
- package/lib/BryntumScheduler.d.ts +7 -1
- package/lib/BryntumScheduler.js +1 -0
- package/lib/BryntumScheduler.js.map +1 -1
- package/lib/BryntumSchedulerBase.d.ts +7 -1
- package/lib/BryntumSchedulerBase.js +1 -0
- package/lib/BryntumSchedulerBase.js.map +1 -1
- package/lib/BryntumSchedulerPro.d.ts +7 -1
- package/lib/BryntumSchedulerPro.js +1 -0
- package/lib/BryntumSchedulerPro.js.map +1 -1
- package/lib/BryntumSchedulerProBase.d.ts +7 -1
- package/lib/BryntumSchedulerProBase.js +1 -0
- package/lib/BryntumSchedulerProBase.js.map +1 -1
- package/lib/BryntumTimeline.d.ts +7 -1
- package/lib/BryntumTimeline.js +1 -0
- package/lib/BryntumTimeline.js.map +1 -1
- package/lib/BryntumTimelineHistogram.d.ts +6 -1
- package/lib/BryntumTimelineHistogram.js +1 -0
- package/lib/BryntumTimelineHistogram.js.map +1 -1
- package/lib/BryntumTreeGrid.d.ts +6 -1
- package/lib/BryntumTreeGrid.js +1 -0
- package/lib/BryntumTreeGrid.js.map +1 -1
- package/lib/BryntumVersionGrid.d.ts +6 -1
- package/lib/BryntumVersionGrid.js +1 -0
- package/lib/BryntumVersionGrid.js.map +1 -1
- package/package.json +1 -1
- package/src/BryntumAIFilterField.tsx +1 -1
- package/src/BryntumAssignmentField.tsx +3 -3
- package/src/BryntumAssignmentGrid.tsx +15 -6
- package/src/BryntumCalendarEditor.tsx +1 -1
- package/src/BryntumCalendarField.tsx +2 -2
- package/src/BryntumCalendarPicker.tsx +2 -2
- package/src/BryntumCheckbox.tsx +1 -1
- package/src/BryntumChecklistFilterCombo.tsx +2 -2
- package/src/BryntumChipView.tsx +1 -1
- package/src/BryntumColorField.tsx +1 -1
- package/src/BryntumCombo.tsx +2 -2
- package/src/BryntumConstraintTypePicker.tsx +2 -2
- package/src/BryntumCostAccrualField.tsx +2 -2
- package/src/BryntumDateField.tsx +1 -1
- package/src/BryntumDateRangeField.tsx +1 -1
- package/src/BryntumDateTimeField.tsx +1 -1
- package/src/BryntumDemoHeader.tsx +1 -4
- package/src/BryntumDependencyField.tsx +2 -2
- package/src/BryntumDependencyTypePicker.tsx +2 -2
- package/src/BryntumDisplayField.tsx +1 -1
- package/src/BryntumDurationField.tsx +1 -1
- package/src/BryntumEditor.tsx +3 -3
- package/src/BryntumEffortField.tsx +1 -1
- package/src/BryntumEndDateField.tsx +1 -1
- package/src/BryntumEventColorField.tsx +1 -1
- package/src/BryntumFileField.tsx +1 -1
- package/src/BryntumFilterField.tsx +1 -1
- package/src/BryntumGantt.tsx +25 -9
- package/src/BryntumGanttBase.tsx +25 -9
- package/src/BryntumGanttProjectModel.tsx +6 -6
- package/src/BryntumGrid.tsx +15 -6
- package/src/BryntumGridBase.tsx +15 -6
- package/src/BryntumGroupBar.tsx +1 -1
- package/src/BryntumHint.tsx +1 -1
- package/src/BryntumList.tsx +1 -1
- package/src/BryntumMenu.tsx +1 -1
- package/src/BryntumModelCombo.tsx +2 -2
- package/src/BryntumNumberField.tsx +1 -1
- package/src/BryntumPasswordField.tsx +1 -1
- package/src/BryntumProjectCombo.tsx +2 -2
- package/src/BryntumRadio.tsx +1 -1
- package/src/BryntumRateTableField.tsx +2 -2
- package/src/BryntumResourceCombo.tsx +2 -2
- package/src/BryntumResourceEditor.tsx +1 -1
- package/src/BryntumResourceFilter.tsx +1 -1
- package/src/BryntumResourceGrid.tsx +88 -7
- package/src/BryntumResourceHistogram.tsx +17 -8
- package/src/BryntumResourceTypeField.tsx +2 -2
- package/src/BryntumResourceUtilization.tsx +18 -9
- package/src/BryntumScheduler.tsx +22 -12
- package/src/BryntumSchedulerBase.tsx +22 -12
- package/src/BryntumSchedulerPro.tsx +22 -12
- package/src/BryntumSchedulerProBase.tsx +22 -12
- package/src/BryntumSchedulingDirectionPicker.tsx +2 -2
- package/src/BryntumSchedulingModePicker.tsx +2 -2
- package/src/BryntumSlideToggle.tsx +1 -1
- package/src/BryntumSlider.tsx +1 -1
- package/src/BryntumStartDateField.tsx +1 -1
- package/src/BryntumTextAreaField.tsx +1 -1
- package/src/BryntumTextAreaPickerField.tsx +1 -1
- package/src/BryntumTextField.tsx +1 -1
- package/src/BryntumTimeField.tsx +1 -1
- package/src/BryntumTimeline.tsx +22 -12
- package/src/BryntumTimelineHistogram.tsx +17 -8
- package/src/BryntumTreeCombo.tsx +2 -2
- package/src/BryntumTreeGrid.tsx +15 -6
- package/src/BryntumVersionGrid.tsx +15 -6
package/src/BryntumGantt.tsx
CHANGED
|
@@ -354,7 +354,7 @@ export type BryntumGanttProps = {
|
|
|
354
354
|
*/
|
|
355
355
|
emptyText? : string|EmptyTextDomConfig
|
|
356
356
|
/**
|
|
357
|
-
* Allow using
|
|
357
|
+
* Allow using <kbd>Delete</kbd> and <kbd>Backspace</kbd> to remove events/assignments
|
|
358
358
|
*/
|
|
359
359
|
enableDeleteKey? : boolean
|
|
360
360
|
/**
|
|
@@ -700,6 +700,12 @@ export type BryntumGanttProps = {
|
|
|
700
700
|
* Grid monitors window resize by default.
|
|
701
701
|
*/
|
|
702
702
|
monitorResize? : boolean
|
|
703
|
+
/**
|
|
704
|
+
* Auto-increment counter used to generate names for new tasks created via the UI (e.g. "New task 1",
|
|
705
|
+
* "New task 2"). Incremented each time a new task is added using the context menu. You can set or reset
|
|
706
|
+
* this value, for example when switching projects.
|
|
707
|
+
*/
|
|
708
|
+
newTaskCounter? : number
|
|
703
709
|
/**
|
|
704
710
|
* A callback function or a set of `name: value` properties to apply on tasks created using the task context menu.
|
|
705
711
|
* Be aware that `name` value will be ignored since it's auto generated and may be configured with localization.
|
|
@@ -838,7 +844,7 @@ export type BryntumGanttProps = {
|
|
|
838
844
|
rootElement? : ShadowRoot|HTMLElement
|
|
839
845
|
/**
|
|
840
846
|
* Row height in pixels. This allows the default height for rows to be controlled. Note that it may be
|
|
841
|
-
*
|
|
847
|
+
* overridden by specifying a [rowHeight](https://bryntum.com/products/gantt/docs/api/Grid/data/GridRowModel#field-rowHeight) on a per record basis, or from
|
|
842
848
|
* a column [renderer](https://bryntum.com/products/gantt/docs/api/Grid/column/Column#config-renderer).
|
|
843
849
|
* ...
|
|
844
850
|
* [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/view/Gantt#config-rowHeight)
|
|
@@ -1371,7 +1377,7 @@ export type BryntumGanttProps = {
|
|
|
1371
1377
|
*/
|
|
1372
1378
|
onAfterTaskSegmentDrop? : ((event: { source: Gantt, taskRecords: TaskModel[], valid: boolean }) => void)|string
|
|
1373
1379
|
/**
|
|
1374
|
-
* Fires before an assignment is removed. Can be triggered by user pressing
|
|
1380
|
+
* Fires before an assignment is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or
|
|
1375
1381
|
* by the event editor. Can for example be used to display a custom dialog to confirm deletion, in which
|
|
1376
1382
|
* case records should be "manually" removed after confirmation:
|
|
1377
1383
|
* ...
|
|
@@ -1408,7 +1414,7 @@ export type BryntumGanttProps = {
|
|
|
1408
1414
|
*/
|
|
1409
1415
|
onBeforeCellEditStart? : ((event: { source: Grid, editorContext: CellEditorContext }) => Promise<boolean>|boolean|void)|string
|
|
1410
1416
|
/**
|
|
1411
|
-
* Fires on the owning Grid before deleting a range of selected cell values by pressing
|
|
1417
|
+
* Fires on the owning Grid before deleting a range of selected cell values by pressing <kbd>Backspace</kbd> or <kbd>Delete</kbd>
|
|
1412
1418
|
* buttons while [autoEdit](https://bryntum.com/products/gantt/docs/api/Grid/feature/CellEdit#config-autoEdit) is set to `true`. Return `false` to prevent editing.
|
|
1413
1419
|
* @param {object} event Event object
|
|
1414
1420
|
* @param {Grid.view.Grid} event.source Owner grid
|
|
@@ -1568,7 +1574,7 @@ export type BryntumGanttProps = {
|
|
|
1568
1574
|
*/
|
|
1569
1575
|
onBeforeDragCreateFinalize? : ((event: { source: Gantt, proxyElement: HTMLElement, context: { async: boolean, finalize: Function } }) => void)|string
|
|
1570
1576
|
/**
|
|
1571
|
-
* Fires before an event is removed. Can be triggered by user pressing
|
|
1577
|
+
* Fires before an event is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or by the
|
|
1572
1578
|
* event editor. Return `false` to immediately veto the removal (or a `Promise` yielding `true` or `false`
|
|
1573
1579
|
* for async vetoing).
|
|
1574
1580
|
* ...
|
|
@@ -2808,7 +2814,7 @@ export type BryntumGanttProps = {
|
|
|
2808
2814
|
* @param {Response} event.response Optional response, if received
|
|
2809
2815
|
* @param {Error} event.error Optional error, if exception occurred
|
|
2810
2816
|
*/
|
|
2811
|
-
onPdfExport? : ((event: { response?:
|
|
2817
|
+
onPdfExport? : ((event: { response?: Response, error?: Error }) => void)|string
|
|
2812
2818
|
/**
|
|
2813
2819
|
* Fired on the owning Scheduler or Gantt widget when dragging the percent bar
|
|
2814
2820
|
* @param {object} event Event object
|
|
@@ -3515,6 +3521,14 @@ export type BryntumGanttProps = {
|
|
|
3515
3521
|
* @param {boolean} event.hasChanges Whether any changes are recorded that are not yet attached to a version.
|
|
3516
3522
|
*/
|
|
3517
3523
|
onTransactionChange? : ((event: { hasChanges: boolean }) => void)|string
|
|
3524
|
+
/**
|
|
3525
|
+
* Fired on the owning Grid/Scheduler/Gantt after tree grouping levels change
|
|
3526
|
+
* @param {object} event Event object
|
|
3527
|
+
* @param {Grid.view.Grid} event.source The grid instance
|
|
3528
|
+
* @param {(string|Function)[]} event.groupers Array of field names or functions representing the current grouping levels
|
|
3529
|
+
* @param {(string|Function)[]} event.oldGroupers Array of field names or functions representing the previous grouping levels
|
|
3530
|
+
*/
|
|
3531
|
+
onTreeGroup? : ((event: { source: Grid, groupers: (string|Function)[], oldGroupers: (string|Function)[] }) => void)|string
|
|
3518
3532
|
/**
|
|
3519
3533
|
* Fires when row locking is disabled.
|
|
3520
3534
|
* @param {object} event Event object
|
|
@@ -3580,7 +3594,7 @@ export type BryntumGanttProps = {
|
|
|
3580
3594
|
cellEditFeature? : object|boolean|string|CellEdit|CellEditConfig
|
|
3581
3595
|
/**
|
|
3582
3596
|
* Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
|
|
3583
|
-
*
|
|
3597
|
+
* <kbd>Space</kbd> key when the cell is focused.
|
|
3584
3598
|
* ...
|
|
3585
3599
|
* [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/CellMenu)
|
|
3586
3600
|
*/
|
|
@@ -3723,8 +3737,8 @@ export type BryntumGanttProps = {
|
|
|
3723
3737
|
filterBarFeature? : object|boolean|string|FilterBar|FilterBarConfig
|
|
3724
3738
|
/**
|
|
3725
3739
|
* Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
|
|
3726
|
-
* <kbd>
|
|
3727
|
-
* one anywhere on grid). Use <kbd>
|
|
3740
|
+
* <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
|
|
3741
|
+
* one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
|
|
3728
3742
|
* grouper.
|
|
3729
3743
|
* ...
|
|
3730
3744
|
* [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/Group)
|
|
@@ -4380,6 +4394,7 @@ export class BryntumGantt extends React.Component<BryntumGanttProps> {
|
|
|
4380
4394
|
'minHeight',
|
|
4381
4395
|
'minWidth',
|
|
4382
4396
|
'minZoomLevel',
|
|
4397
|
+
'newTaskCounter',
|
|
4383
4398
|
'onAfterDependencyCreateDrop',
|
|
4384
4399
|
'onAfterDependencySave',
|
|
4385
4400
|
'onAfterDragCreate',
|
|
@@ -4629,6 +4644,7 @@ export class BryntumGantt extends React.Component<BryntumGanttProps> {
|
|
|
4629
4644
|
'onToggleNode',
|
|
4630
4645
|
'onToolClick',
|
|
4631
4646
|
'onTransactionChange',
|
|
4647
|
+
'onTreeGroup',
|
|
4632
4648
|
'onUnlockRows',
|
|
4633
4649
|
'onUnsplit',
|
|
4634
4650
|
'onVisibleDateRangeChange',
|
package/src/BryntumGanttBase.tsx
CHANGED
|
@@ -354,7 +354,7 @@ export type BryntumGanttBaseProps = {
|
|
|
354
354
|
*/
|
|
355
355
|
emptyText? : string|EmptyTextDomConfig
|
|
356
356
|
/**
|
|
357
|
-
* Allow using
|
|
357
|
+
* Allow using <kbd>Delete</kbd> and <kbd>Backspace</kbd> to remove events/assignments
|
|
358
358
|
*/
|
|
359
359
|
enableDeleteKey? : boolean
|
|
360
360
|
/**
|
|
@@ -700,6 +700,12 @@ export type BryntumGanttBaseProps = {
|
|
|
700
700
|
* Grid monitors window resize by default.
|
|
701
701
|
*/
|
|
702
702
|
monitorResize? : boolean
|
|
703
|
+
/**
|
|
704
|
+
* Auto-increment counter used to generate names for new tasks created via the UI (e.g. "New task 1",
|
|
705
|
+
* "New task 2"). Incremented each time a new task is added using the context menu. You can set or reset
|
|
706
|
+
* this value, for example when switching projects.
|
|
707
|
+
*/
|
|
708
|
+
newTaskCounter? : number
|
|
703
709
|
/**
|
|
704
710
|
* A callback function or a set of `name: value` properties to apply on tasks created using the task context menu.
|
|
705
711
|
* Be aware that `name` value will be ignored since it's auto generated and may be configured with localization.
|
|
@@ -838,7 +844,7 @@ export type BryntumGanttBaseProps = {
|
|
|
838
844
|
rootElement? : ShadowRoot|HTMLElement
|
|
839
845
|
/**
|
|
840
846
|
* Row height in pixels. This allows the default height for rows to be controlled. Note that it may be
|
|
841
|
-
*
|
|
847
|
+
* overridden by specifying a [rowHeight](https://bryntum.com/products/gantt/docs/api/Grid/data/GridRowModel#field-rowHeight) on a per record basis, or from
|
|
842
848
|
* a column [renderer](https://bryntum.com/products/gantt/docs/api/Grid/column/Column#config-renderer).
|
|
843
849
|
* ...
|
|
844
850
|
* [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/view/GanttBase#config-rowHeight)
|
|
@@ -1370,7 +1376,7 @@ export type BryntumGanttBaseProps = {
|
|
|
1370
1376
|
*/
|
|
1371
1377
|
onAfterTaskSegmentDrop? : ((event: { source: Gantt, taskRecords: TaskModel[], valid: boolean }) => void)|string
|
|
1372
1378
|
/**
|
|
1373
|
-
* Fires before an assignment is removed. Can be triggered by user pressing
|
|
1379
|
+
* Fires before an assignment is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or
|
|
1374
1380
|
* by the event editor. Can for example be used to display a custom dialog to confirm deletion, in which
|
|
1375
1381
|
* case records should be "manually" removed after confirmation:
|
|
1376
1382
|
* ...
|
|
@@ -1407,7 +1413,7 @@ export type BryntumGanttBaseProps = {
|
|
|
1407
1413
|
*/
|
|
1408
1414
|
onBeforeCellEditStart? : ((event: { source: Grid, editorContext: CellEditorContext }) => Promise<boolean>|boolean|void)|string
|
|
1409
1415
|
/**
|
|
1410
|
-
* Fires on the owning Grid before deleting a range of selected cell values by pressing
|
|
1416
|
+
* Fires on the owning Grid before deleting a range of selected cell values by pressing <kbd>Backspace</kbd> or <kbd>Delete</kbd>
|
|
1411
1417
|
* buttons while [autoEdit](https://bryntum.com/products/gantt/docs/api/Grid/feature/CellEdit#config-autoEdit) is set to `true`. Return `false` to prevent editing.
|
|
1412
1418
|
* @param {object} event Event object
|
|
1413
1419
|
* @param {Grid.view.Grid} event.source Owner grid
|
|
@@ -1567,7 +1573,7 @@ export type BryntumGanttBaseProps = {
|
|
|
1567
1573
|
*/
|
|
1568
1574
|
onBeforeDragCreateFinalize? : ((event: { source: Gantt, proxyElement: HTMLElement, context: { async: boolean, finalize: Function } }) => void)|string
|
|
1569
1575
|
/**
|
|
1570
|
-
* Fires before an event is removed. Can be triggered by user pressing
|
|
1576
|
+
* Fires before an event is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or by the
|
|
1571
1577
|
* event editor. Return `false` to immediately veto the removal (or a `Promise` yielding `true` or `false`
|
|
1572
1578
|
* for async vetoing).
|
|
1573
1579
|
* ...
|
|
@@ -2807,7 +2813,7 @@ export type BryntumGanttBaseProps = {
|
|
|
2807
2813
|
* @param {Response} event.response Optional response, if received
|
|
2808
2814
|
* @param {Error} event.error Optional error, if exception occurred
|
|
2809
2815
|
*/
|
|
2810
|
-
onPdfExport? : ((event: { response?:
|
|
2816
|
+
onPdfExport? : ((event: { response?: Response, error?: Error }) => void)|string
|
|
2811
2817
|
/**
|
|
2812
2818
|
* Fired on the owning Scheduler or Gantt widget when dragging the percent bar
|
|
2813
2819
|
* @param {object} event Event object
|
|
@@ -3514,6 +3520,14 @@ export type BryntumGanttBaseProps = {
|
|
|
3514
3520
|
* @param {boolean} event.hasChanges Whether any changes are recorded that are not yet attached to a version.
|
|
3515
3521
|
*/
|
|
3516
3522
|
onTransactionChange? : ((event: { hasChanges: boolean }) => void)|string
|
|
3523
|
+
/**
|
|
3524
|
+
* Fired on the owning Grid/Scheduler/Gantt after tree grouping levels change
|
|
3525
|
+
* @param {object} event Event object
|
|
3526
|
+
* @param {Grid.view.Grid} event.source The grid instance
|
|
3527
|
+
* @param {(string|Function)[]} event.groupers Array of field names or functions representing the current grouping levels
|
|
3528
|
+
* @param {(string|Function)[]} event.oldGroupers Array of field names or functions representing the previous grouping levels
|
|
3529
|
+
*/
|
|
3530
|
+
onTreeGroup? : ((event: { source: Grid, groupers: (string|Function)[], oldGroupers: (string|Function)[] }) => void)|string
|
|
3517
3531
|
/**
|
|
3518
3532
|
* Fires when row locking is disabled.
|
|
3519
3533
|
* @param {object} event Event object
|
|
@@ -3579,7 +3593,7 @@ export type BryntumGanttBaseProps = {
|
|
|
3579
3593
|
cellEditFeature? : object|boolean|string|CellEdit|CellEditConfig
|
|
3580
3594
|
/**
|
|
3581
3595
|
* Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
|
|
3582
|
-
*
|
|
3596
|
+
* <kbd>Space</kbd> key when the cell is focused.
|
|
3583
3597
|
* ...
|
|
3584
3598
|
* [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/CellMenu)
|
|
3585
3599
|
*/
|
|
@@ -3722,8 +3736,8 @@ export type BryntumGanttBaseProps = {
|
|
|
3722
3736
|
filterBarFeature? : object|boolean|string|FilterBar|FilterBarConfig
|
|
3723
3737
|
/**
|
|
3724
3738
|
* Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
|
|
3725
|
-
* <kbd>
|
|
3726
|
-
* one anywhere on grid). Use <kbd>
|
|
3739
|
+
* <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
|
|
3740
|
+
* one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
|
|
3727
3741
|
* grouper.
|
|
3728
3742
|
* ...
|
|
3729
3743
|
* [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/Group)
|
|
@@ -4378,6 +4392,7 @@ export class BryntumGanttBase extends React.Component<BryntumGanttBaseProps> {
|
|
|
4378
4392
|
'minHeight',
|
|
4379
4393
|
'minWidth',
|
|
4380
4394
|
'minZoomLevel',
|
|
4395
|
+
'newTaskCounter',
|
|
4381
4396
|
'onAfterDependencyCreateDrop',
|
|
4382
4397
|
'onAfterDependencySave',
|
|
4383
4398
|
'onAfterDragCreate',
|
|
@@ -4627,6 +4642,7 @@ export class BryntumGanttBase extends React.Component<BryntumGanttBaseProps> {
|
|
|
4627
4642
|
'onToggleNode',
|
|
4628
4643
|
'onToolClick',
|
|
4629
4644
|
'onTransactionChange',
|
|
4645
|
+
'onTreeGroup',
|
|
4630
4646
|
'onUnlockRows',
|
|
4631
4647
|
'onUnsplit',
|
|
4632
4648
|
'onVisibleDateRangeChange',
|
|
@@ -823,7 +823,7 @@ export type BryntumGanttProjectModelProps = {
|
|
|
823
823
|
* @param {object} event.requestOptions The request options passed to the request.
|
|
824
824
|
* @param {Response} event.rawResponse The native Response object
|
|
825
825
|
*/
|
|
826
|
-
onLoad? : ((event: { source: AbstractCrudManager, response: object, responseOptions: object, requestOptions: object, rawResponse:
|
|
826
|
+
onLoad? : ((event: { source: AbstractCrudManager, response: object, responseOptions: object, requestOptions: object, rawResponse: Response }) => void)|string
|
|
827
827
|
/**
|
|
828
828
|
* Fired after [load request](https://bryntum.com/products/gantt/docs/api/Scheduler/crud/AbstractCrudManagerMixin#function-load) was canceled by some [beforeLoad](#Scheduler/crud/AbstractCrudManagerMixin#event-beforeLoad)
|
|
829
829
|
* listener or due to incomplete prior load request.
|
|
@@ -842,7 +842,7 @@ export type BryntumGanttProjectModelProps = {
|
|
|
842
842
|
* @param {object} event.requestOptions The request options passed to the request.
|
|
843
843
|
* @param {Response} event.rawResponse The native Response object
|
|
844
844
|
*/
|
|
845
|
-
onLoadFail? : ((event: { source: AbstractCrudManager, response: object, responseText: string, responseOptions: object, requestOptions: object, rawResponse:
|
|
845
|
+
onLoadFail? : ((event: { source: AbstractCrudManager, response: object, responseText: string, responseOptions: object, requestOptions: object, rawResponse: Response }) => void)|string
|
|
846
846
|
/**
|
|
847
847
|
* Fires when registered stores get into state when they don't have any
|
|
848
848
|
* not persisted change. This happens after [load](https://bryntum.com/products/gantt/docs/api/Scheduler/crud/AbstractCrudManagerMixin#function-load) or [sync](#Scheduler/crud/AbstractCrudManagerMixin#function-sync) request
|
|
@@ -872,7 +872,7 @@ export type BryntumGanttProjectModelProps = {
|
|
|
872
872
|
* @param {object} event.requestOptions The request options passed to the request.
|
|
873
873
|
* @param {Response} event.rawResponse The native Response object
|
|
874
874
|
*/
|
|
875
|
-
onRequestDone? : ((event: { source: AbstractCrudManager, requestType: 'sync'|'load', response: object, responseOptions: object, requestOptions: object, rawResponse:
|
|
875
|
+
onRequestDone? : ((event: { source: AbstractCrudManager, requestType: 'sync'|'load', response: object, responseOptions: object, requestOptions: object, rawResponse: Response }) => void)|string
|
|
876
876
|
/**
|
|
877
877
|
* Fires when a request fails.
|
|
878
878
|
* @param {object} event Event object
|
|
@@ -884,7 +884,7 @@ export type BryntumGanttProjectModelProps = {
|
|
|
884
884
|
* @param {object} event.requestOptions The request options passed to the request.
|
|
885
885
|
* @param {Response} event.rawResponse The native Response object
|
|
886
886
|
*/
|
|
887
|
-
onRequestFail? : ((event: { source: AbstractCrudManager, requestType: 'sync'|'load', response: object, responseText: string, responseOptions: object, requestOptions: object, rawResponse:
|
|
887
|
+
onRequestFail? : ((event: { source: AbstractCrudManager, requestType: 'sync'|'load', response: object, responseText: string, responseOptions: object, requestOptions: object, rawResponse: Response }) => void)|string
|
|
888
888
|
/**
|
|
889
889
|
* This event triggers when a new revision is added to the project. It is used to notify the backend about the
|
|
890
890
|
* new revision.
|
|
@@ -914,7 +914,7 @@ export type BryntumGanttProjectModelProps = {
|
|
|
914
914
|
* @param {object} event.requestOptions The request options passed to the request.
|
|
915
915
|
* @param {Response} event.rawResponse The native Response object
|
|
916
916
|
*/
|
|
917
|
-
onSync? : ((event: { source: AbstractCrudManager, response: object, responseOptions: object, requestOptions: object, rawResponse:
|
|
917
|
+
onSync? : ((event: { source: AbstractCrudManager, response: object, responseOptions: object, requestOptions: object, rawResponse: Response }) => void)|string
|
|
918
918
|
/**
|
|
919
919
|
* Fires after [sync request](https://bryntum.com/products/gantt/docs/api/Scheduler/crud/AbstractCrudManagerMixin#function-sync) was canceled by some [beforeSync](#Scheduler/crud/AbstractCrudManagerMixin#event-beforeSync) listener.
|
|
920
920
|
* @param {object} event Event object
|
|
@@ -939,7 +939,7 @@ export type BryntumGanttProjectModelProps = {
|
|
|
939
939
|
* @param {object} event.requestOptions The request options passed to the request.
|
|
940
940
|
* @param {Response} event.rawResponse The native Response object
|
|
941
941
|
*/
|
|
942
|
-
onSyncFail? : ((event: { source: AbstractCrudManager, response: object, responseText: string, responseOptions: object, requestOptions: object, rawResponse:
|
|
942
|
+
onSyncFail? : ((event: { source: AbstractCrudManager, response: object, responseText: string, responseOptions: object, requestOptions: object, rawResponse: Response }) => void)|string
|
|
943
943
|
|
|
944
944
|
}
|
|
945
945
|
|
package/src/BryntumGrid.tsx
CHANGED
|
@@ -559,7 +559,7 @@ export type BryntumGridProps = {
|
|
|
559
559
|
rootElement? : ShadowRoot|HTMLElement
|
|
560
560
|
/**
|
|
561
561
|
* Row height in pixels. This allows the default height for rows to be controlled. Note that it may be
|
|
562
|
-
*
|
|
562
|
+
* overridden by specifying a [rowHeight](https://bryntum.com/products/gantt/docs/api/Grid/data/GridRowModel#field-rowHeight) on a per record basis, or from
|
|
563
563
|
* a column [renderer](https://bryntum.com/products/gantt/docs/api/Grid/column/Column#config-renderer).
|
|
564
564
|
* ...
|
|
565
565
|
* [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/view/Grid#config-rowHeight)
|
|
@@ -779,7 +779,7 @@ export type BryntumGridProps = {
|
|
|
779
779
|
*/
|
|
780
780
|
onBeforeCellEditStart? : ((event: { source: Grid, editorContext: CellEditorContext }) => Promise<boolean>|boolean|void)|string
|
|
781
781
|
/**
|
|
782
|
-
* Fires on the owning Grid before deleting a range of selected cell values by pressing
|
|
782
|
+
* Fires on the owning Grid before deleting a range of selected cell values by pressing <kbd>Backspace</kbd> or <kbd>Delete</kbd>
|
|
783
783
|
* buttons while [autoEdit](https://bryntum.com/products/gantt/docs/api/Grid/feature/CellEdit#config-autoEdit) is set to `true`. Return `false` to prevent editing.
|
|
784
784
|
* @param {object} event Event object
|
|
785
785
|
* @param {Grid.view.Grid} event.source Owner grid
|
|
@@ -1543,7 +1543,7 @@ export type BryntumGridProps = {
|
|
|
1543
1543
|
* @param {Response} event.response Optional response, if received
|
|
1544
1544
|
* @param {Error} event.error Optional error, if exception occurred
|
|
1545
1545
|
*/
|
|
1546
|
-
onPdfExport? : ((event: { response?:
|
|
1546
|
+
onPdfExport? : ((event: { response?: Response, error?: Error }) => void)|string
|
|
1547
1547
|
/**
|
|
1548
1548
|
* Fired when a Widget's read only state is toggled
|
|
1549
1549
|
* @param {object} event Event object
|
|
@@ -1754,6 +1754,14 @@ export type BryntumGridProps = {
|
|
|
1754
1754
|
* @param {Core.widget.Tool} event.tool The tool which is being clicked.
|
|
1755
1755
|
*/
|
|
1756
1756
|
onToolClick? : ((event: { source: Tool, tool: Tool }) => void)|string
|
|
1757
|
+
/**
|
|
1758
|
+
* Fired on the owning Grid/Scheduler/Gantt after tree grouping levels change
|
|
1759
|
+
* @param {object} event Event object
|
|
1760
|
+
* @param {Grid.view.Grid} event.source The grid instance
|
|
1761
|
+
* @param {(string|Function)[]} event.groupers Array of field names or functions representing the current grouping levels
|
|
1762
|
+
* @param {(string|Function)[]} event.oldGroupers Array of field names or functions representing the previous grouping levels
|
|
1763
|
+
*/
|
|
1764
|
+
onTreeGroup? : ((event: { source: Grid, groupers: (string|Function)[], oldGroupers: (string|Function)[] }) => void)|string
|
|
1757
1765
|
/**
|
|
1758
1766
|
* Fires when row locking is disabled.
|
|
1759
1767
|
* @param {object} event Event object
|
|
@@ -1798,7 +1806,7 @@ export type BryntumGridProps = {
|
|
|
1798
1806
|
cellEditFeature? : object|boolean|string|GridCellEdit|GridCellEditConfig
|
|
1799
1807
|
/**
|
|
1800
1808
|
* Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
|
|
1801
|
-
*
|
|
1809
|
+
* <kbd>Space</kbd> key when the cell is focused.
|
|
1802
1810
|
* ...
|
|
1803
1811
|
* [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/CellMenu)
|
|
1804
1812
|
*/
|
|
@@ -1898,8 +1906,8 @@ export type BryntumGridProps = {
|
|
|
1898
1906
|
filterBarFeature? : object|boolean|string|FilterBar|FilterBarConfig
|
|
1899
1907
|
/**
|
|
1900
1908
|
* Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
|
|
1901
|
-
* <kbd>
|
|
1902
|
-
* one anywhere on grid). Use <kbd>
|
|
1909
|
+
* <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
|
|
1910
|
+
* one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
|
|
1903
1911
|
* grouper.
|
|
1904
1912
|
* ...
|
|
1905
1913
|
* [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/Group)
|
|
@@ -2359,6 +2367,7 @@ export class BryntumGrid extends React.Component<BryntumGridProps> {
|
|
|
2359
2367
|
'onToggleGroup',
|
|
2360
2368
|
'onToggleNode',
|
|
2361
2369
|
'onToolClick',
|
|
2370
|
+
'onTreeGroup',
|
|
2362
2371
|
'onUnlockRows',
|
|
2363
2372
|
'onUnsplit',
|
|
2364
2373
|
'preserveScroll',
|
package/src/BryntumGridBase.tsx
CHANGED
|
@@ -559,7 +559,7 @@ export type BryntumGridBaseProps = {
|
|
|
559
559
|
rootElement? : ShadowRoot|HTMLElement
|
|
560
560
|
/**
|
|
561
561
|
* Row height in pixels. This allows the default height for rows to be controlled. Note that it may be
|
|
562
|
-
*
|
|
562
|
+
* overridden by specifying a [rowHeight](https://bryntum.com/products/gantt/docs/api/Grid/data/GridRowModel#field-rowHeight) on a per record basis, or from
|
|
563
563
|
* a column [renderer](https://bryntum.com/products/gantt/docs/api/Grid/column/Column#config-renderer).
|
|
564
564
|
* ...
|
|
565
565
|
* [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/view/GridBase#config-rowHeight)
|
|
@@ -778,7 +778,7 @@ export type BryntumGridBaseProps = {
|
|
|
778
778
|
*/
|
|
779
779
|
onBeforeCellEditStart? : ((event: { source: Grid, editorContext: CellEditorContext }) => Promise<boolean>|boolean|void)|string
|
|
780
780
|
/**
|
|
781
|
-
* Fires on the owning Grid before deleting a range of selected cell values by pressing
|
|
781
|
+
* Fires on the owning Grid before deleting a range of selected cell values by pressing <kbd>Backspace</kbd> or <kbd>Delete</kbd>
|
|
782
782
|
* buttons while [autoEdit](https://bryntum.com/products/gantt/docs/api/Grid/feature/CellEdit#config-autoEdit) is set to `true`. Return `false` to prevent editing.
|
|
783
783
|
* @param {object} event Event object
|
|
784
784
|
* @param {Grid.view.Grid} event.source Owner grid
|
|
@@ -1542,7 +1542,7 @@ export type BryntumGridBaseProps = {
|
|
|
1542
1542
|
* @param {Response} event.response Optional response, if received
|
|
1543
1543
|
* @param {Error} event.error Optional error, if exception occurred
|
|
1544
1544
|
*/
|
|
1545
|
-
onPdfExport? : ((event: { response?:
|
|
1545
|
+
onPdfExport? : ((event: { response?: Response, error?: Error }) => void)|string
|
|
1546
1546
|
/**
|
|
1547
1547
|
* Fired when a Widget's read only state is toggled
|
|
1548
1548
|
* @param {object} event Event object
|
|
@@ -1753,6 +1753,14 @@ export type BryntumGridBaseProps = {
|
|
|
1753
1753
|
* @param {Core.widget.Tool} event.tool The tool which is being clicked.
|
|
1754
1754
|
*/
|
|
1755
1755
|
onToolClick? : ((event: { source: Tool, tool: Tool }) => void)|string
|
|
1756
|
+
/**
|
|
1757
|
+
* Fired on the owning Grid/Scheduler/Gantt after tree grouping levels change
|
|
1758
|
+
* @param {object} event Event object
|
|
1759
|
+
* @param {Grid.view.Grid} event.source The grid instance
|
|
1760
|
+
* @param {(string|Function)[]} event.groupers Array of field names or functions representing the current grouping levels
|
|
1761
|
+
* @param {(string|Function)[]} event.oldGroupers Array of field names or functions representing the previous grouping levels
|
|
1762
|
+
*/
|
|
1763
|
+
onTreeGroup? : ((event: { source: Grid, groupers: (string|Function)[], oldGroupers: (string|Function)[] }) => void)|string
|
|
1756
1764
|
/**
|
|
1757
1765
|
* Fires when row locking is disabled.
|
|
1758
1766
|
* @param {object} event Event object
|
|
@@ -1797,7 +1805,7 @@ export type BryntumGridBaseProps = {
|
|
|
1797
1805
|
cellEditFeature? : object|boolean|string|GridCellEdit|GridCellEditConfig
|
|
1798
1806
|
/**
|
|
1799
1807
|
* Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
|
|
1800
|
-
*
|
|
1808
|
+
* <kbd>Space</kbd> key when the cell is focused.
|
|
1801
1809
|
* ...
|
|
1802
1810
|
* [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/CellMenu)
|
|
1803
1811
|
*/
|
|
@@ -1897,8 +1905,8 @@ export type BryntumGridBaseProps = {
|
|
|
1897
1905
|
filterBarFeature? : object|boolean|string|FilterBar|FilterBarConfig
|
|
1898
1906
|
/**
|
|
1899
1907
|
* Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
|
|
1900
|
-
* <kbd>
|
|
1901
|
-
* one anywhere on grid). Use <kbd>
|
|
1908
|
+
* <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
|
|
1909
|
+
* one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
|
|
1902
1910
|
* grouper.
|
|
1903
1911
|
* ...
|
|
1904
1912
|
* [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/Group)
|
|
@@ -2356,6 +2364,7 @@ export class BryntumGridBase extends React.Component<BryntumGridBaseProps> {
|
|
|
2356
2364
|
'onToggleGroup',
|
|
2357
2365
|
'onToggleNode',
|
|
2358
2366
|
'onToolClick',
|
|
2367
|
+
'onTreeGroup',
|
|
2359
2368
|
'onUnlockRows',
|
|
2360
2369
|
'onUnsplit',
|
|
2361
2370
|
'preserveScroll',
|
package/src/BryntumGroupBar.tsx
CHANGED
|
@@ -530,7 +530,7 @@ export type BryntumGroupBarProps = {
|
|
|
530
530
|
*/
|
|
531
531
|
title? : string
|
|
532
532
|
/**
|
|
533
|
-
* Select/deselect all if
|
|
533
|
+
* Select/deselect all if <kbd>Cmd</kbd>/<kbd>Ctrl</kbd> is pressed when clicking
|
|
534
534
|
*/
|
|
535
535
|
toggleAllIfCtrlPressed? : boolean
|
|
536
536
|
/**
|
package/src/BryntumHint.tsx
CHANGED
package/src/BryntumList.tsx
CHANGED
|
@@ -510,7 +510,7 @@ export type BryntumListProps = {
|
|
|
510
510
|
*/
|
|
511
511
|
title? : string
|
|
512
512
|
/**
|
|
513
|
-
* Select/deselect all if
|
|
513
|
+
* Select/deselect all if <kbd>Cmd</kbd>/<kbd>Ctrl</kbd> is pressed when clicking
|
|
514
514
|
*/
|
|
515
515
|
toggleAllIfCtrlPressed? : boolean
|
|
516
516
|
/**
|
package/src/BryntumMenu.tsx
CHANGED
|
@@ -181,7 +181,7 @@ export type BryntumModelComboProps = {
|
|
|
181
181
|
contentElementCls? : string|object
|
|
182
182
|
/**
|
|
183
183
|
* If configured as `true`, this means that when an unmatched string is typed into the
|
|
184
|
-
* combo's input field, and
|
|
184
|
+
* combo's input field, and <kbd>Enter</kbd>, or the [multiValueSeparator](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-multiValueSeparator) is typed,
|
|
185
185
|
* a new record will be created using the typed string as the [displayField](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-displayField).
|
|
186
186
|
* ...
|
|
187
187
|
* [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/ModelCombo#config-createOnUnmatched)
|
|
@@ -676,7 +676,7 @@ export type BryntumModelComboProps = {
|
|
|
676
676
|
required? : boolean
|
|
677
677
|
/**
|
|
678
678
|
* If this field is not [readOnly](https://bryntum.com/products/gantt/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
679
|
-
* the
|
|
679
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
680
680
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/gantt/docs/api/Core/widget/Field#config-clearable)
|
|
681
681
|
* behaviour will be activated.
|
|
682
682
|
*/
|
|
@@ -522,7 +522,7 @@ export type BryntumNumberFieldProps = {
|
|
|
522
522
|
required? : boolean
|
|
523
523
|
/**
|
|
524
524
|
* If this field is not [readOnly](https://bryntum.com/products/gantt/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
525
|
-
* the
|
|
525
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
526
526
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/gantt/docs/api/Core/widget/Field#config-clearable)
|
|
527
527
|
* behaviour will be activated.
|
|
528
528
|
*/
|
|
@@ -483,7 +483,7 @@ export type BryntumPasswordFieldProps = {
|
|
|
483
483
|
required? : boolean
|
|
484
484
|
/**
|
|
485
485
|
* If this field is not [readOnly](https://bryntum.com/products/gantt/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
486
|
-
* the
|
|
486
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
487
487
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/gantt/docs/api/Core/widget/Field#config-clearable)
|
|
488
488
|
* behaviour will be activated.
|
|
489
489
|
*/
|
|
@@ -181,7 +181,7 @@ export type BryntumProjectComboProps = {
|
|
|
181
181
|
contentElementCls? : string|object
|
|
182
182
|
/**
|
|
183
183
|
* If configured as `true`, this means that when an unmatched string is typed into the
|
|
184
|
-
* combo's input field, and
|
|
184
|
+
* combo's input field, and <kbd>Enter</kbd>, or the [multiValueSeparator](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-multiValueSeparator) is typed,
|
|
185
185
|
* a new record will be created using the typed string as the [displayField](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-displayField).
|
|
186
186
|
* ...
|
|
187
187
|
* [View online docs...](https://bryntum.com/products/gantt/docs/api/Scheduler/widget/ProjectCombo#config-createOnUnmatched)
|
|
@@ -680,7 +680,7 @@ export type BryntumProjectComboProps = {
|
|
|
680
680
|
required? : boolean
|
|
681
681
|
/**
|
|
682
682
|
* If this field is not [readOnly](https://bryntum.com/products/gantt/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
683
|
-
* the
|
|
683
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
684
684
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/gantt/docs/api/Core/widget/Field#config-clearable)
|
|
685
685
|
* behaviour will be activated.
|
|
686
686
|
*/
|
package/src/BryntumRadio.tsx
CHANGED
|
@@ -480,7 +480,7 @@ export type BryntumRadioProps = {
|
|
|
480
480
|
required? : boolean
|
|
481
481
|
/**
|
|
482
482
|
* If this field is not [readOnly](https://bryntum.com/products/gantt/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
483
|
-
* the
|
|
483
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
484
484
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/gantt/docs/api/Core/widget/Field#config-clearable)
|
|
485
485
|
* behaviour will be activated.
|
|
486
486
|
*/
|
|
@@ -181,7 +181,7 @@ export type BryntumRateTableFieldProps = {
|
|
|
181
181
|
contentElementCls? : string|object
|
|
182
182
|
/**
|
|
183
183
|
* If configured as `true`, this means that when an unmatched string is typed into the
|
|
184
|
-
* combo's input field, and
|
|
184
|
+
* combo's input field, and <kbd>Enter</kbd>, or the [multiValueSeparator](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-multiValueSeparator) is typed,
|
|
185
185
|
* a new record will be created using the typed string as the [displayField](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-displayField).
|
|
186
186
|
* ...
|
|
187
187
|
* [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/RateTableField#config-createOnUnmatched)
|
|
@@ -676,7 +676,7 @@ export type BryntumRateTableFieldProps = {
|
|
|
676
676
|
required? : boolean
|
|
677
677
|
/**
|
|
678
678
|
* If this field is not [readOnly](https://bryntum.com/products/gantt/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
679
|
-
* the
|
|
679
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
680
680
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/gantt/docs/api/Core/widget/Field#config-clearable)
|
|
681
681
|
* behaviour will be activated.
|
|
682
682
|
*/
|
|
@@ -181,7 +181,7 @@ export type BryntumResourceComboProps = {
|
|
|
181
181
|
contentElementCls? : string|object
|
|
182
182
|
/**
|
|
183
183
|
* If configured as `true`, this means that when an unmatched string is typed into the
|
|
184
|
-
* combo's input field, and
|
|
184
|
+
* combo's input field, and <kbd>Enter</kbd>, or the [multiValueSeparator](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-multiValueSeparator) is typed,
|
|
185
185
|
* a new record will be created using the typed string as the [displayField](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-displayField).
|
|
186
186
|
* ...
|
|
187
187
|
* [View online docs...](https://bryntum.com/products/gantt/docs/api/Scheduler/widget/ResourceCombo#config-createOnUnmatched)
|
|
@@ -676,7 +676,7 @@ export type BryntumResourceComboProps = {
|
|
|
676
676
|
required? : boolean
|
|
677
677
|
/**
|
|
678
678
|
* If this field is not [readOnly](https://bryntum.com/products/gantt/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
679
|
-
* the
|
|
679
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
680
680
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/gantt/docs/api/Core/widget/Field#config-clearable)
|
|
681
681
|
* behaviour will be activated.
|
|
682
682
|
*/
|
|
@@ -532,7 +532,7 @@ export type BryntumResourceFilterProps = {
|
|
|
532
532
|
*/
|
|
533
533
|
title? : string
|
|
534
534
|
/**
|
|
535
|
-
* Select/deselect all if
|
|
535
|
+
* Select/deselect all if <kbd>Cmd</kbd>/<kbd>Ctrl</kbd> is pressed when clicking
|
|
536
536
|
*/
|
|
537
537
|
toggleAllIfCtrlPressed? : boolean
|
|
538
538
|
/**
|