@bryntum/schedulerpro-vue-3-thin 7.3.0 → 7.3.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.
- package/README.md +9 -9
- package/lib/chunks/{BFFz1c24.js → 7vz3cAx6.js} +6 -4
- package/lib/chunks/7vz3cAx6.js.map +1 -0
- package/lib/chunks/{oM3gO3yH.js → B1SaPsRu.js} +3 -1
- package/lib/chunks/B1SaPsRu.js.map +1 -0
- package/lib/chunks/B4dVznPx.js.map +1 -1
- package/lib/chunks/{Pb5GbfMi.js → B8GKehTJ.js} +6 -4
- package/lib/chunks/B8GKehTJ.js.map +1 -0
- package/lib/chunks/{CvNpXefN.js → BhXv58eE.js} +7 -5
- package/lib/chunks/BhXv58eE.js.map +1 -0
- package/lib/chunks/{DmFXOMJ5.js → BhfdqXGU.js} +6 -4
- package/lib/chunks/BhfdqXGU.js.map +1 -0
- package/lib/chunks/{b8yreHIz.js → Bk2bIVfG.js} +3 -1
- package/lib/chunks/Bk2bIVfG.js.map +1 -0
- package/lib/chunks/{s35t-2ke.js → C1vi1h_N.js} +6 -4
- package/lib/chunks/C1vi1h_N.js.map +1 -0
- package/lib/chunks/{CqtUB81W.js → CEQZr1q6.js} +3 -1
- package/lib/chunks/CEQZr1q6.js.map +1 -0
- package/lib/chunks/CPjow0gO.js.map +1 -1
- package/lib/chunks/{BNBuOpUp.js → Cb_akueu.js} +10 -8
- package/lib/chunks/Cb_akueu.js.map +1 -0
- package/lib/chunks/{BIkGnHve.js → Cc_DPp3S.js} +6 -4
- package/lib/chunks/Cc_DPp3S.js.map +1 -0
- package/lib/chunks/{Bp7aU5Ia.js → Cr5VTUbs.js} +11 -9
- package/lib/chunks/Cr5VTUbs.js.map +1 -0
- package/lib/chunks/{yF4wtntA.js → D-hmgVVF.js} +12 -10
- package/lib/chunks/D-hmgVVF.js.map +1 -0
- package/lib/chunks/{D1a3F6m-.js → D-v-Wqj4.js} +3 -1
- package/lib/chunks/D-v-Wqj4.js.map +1 -0
- package/lib/chunks/D0hJ3P6L.js.map +1 -1
- package/lib/chunks/DPA-xEW5.js.map +1 -1
- package/lib/chunks/{C3Dz-ovY.js → XQWZfDOm.js} +5 -3
- package/lib/chunks/XQWZfDOm.js.map +1 -0
- package/lib/chunks/{DdbMybqv.js → eKXSEOkn.js} +3 -1
- package/lib/chunks/eKXSEOkn.js.map +1 -0
- package/lib/chunks/{DjFBhm9P.js → edcDjaO2.js} +6 -4
- package/lib/chunks/edcDjaO2.js.map +1 -0
- package/lib/chunks/{p1r0F5YC.js → n2IZFQjR.js} +9 -7
- package/lib/chunks/n2IZFQjR.js.map +1 -0
- package/lib/chunks/{W-pa3HyX.js → zY4Qxi9x.js} +5 -3
- package/lib/chunks/zY4Qxi9x.js.map +1 -0
- package/lib/components/BryntumCalendarField.js +1 -1
- package/lib/components/BryntumConstraintTypePicker.js +1 -1
- package/lib/components/BryntumCostAccrualField.js +1 -1
- package/lib/components/BryntumDependencyTypePicker.js +1 -1
- package/lib/components/BryntumEffortField.js +1 -1
- package/lib/components/BryntumEndDateField.js +1 -1
- package/lib/components/BryntumModelCombo.js +1 -1
- package/lib/components/BryntumRateTableField.js +1 -1
- package/lib/components/BryntumResourceGrid.js +1 -1
- package/lib/components/BryntumResourceHistogram.js +1 -1
- package/lib/components/BryntumResourceTypeField.js +1 -1
- package/lib/components/BryntumResourceUtilization.js +1 -1
- package/lib/components/BryntumSchedulerPro.js +1 -1
- package/lib/components/BryntumSchedulerProBase.js +1 -1
- package/lib/components/BryntumSchedulingDirectionPicker.js +1 -1
- package/lib/components/BryntumSchedulingModePicker.js +1 -1
- package/lib/components/BryntumStartDateField.js +1 -1
- package/lib/components/BryntumTimeline.js +1 -1
- package/lib/index.js +18 -18
- package/package.json +1 -1
- package/src/components/BryntumCalendarEditor.vue +64 -106
- package/src/components/BryntumCalendarField.vue +81 -109
- package/src/components/BryntumCalendarFieldProps.ts +9 -0
- package/src/components/BryntumConstraintTypePicker.vue +81 -109
- package/src/components/BryntumConstraintTypePickerProps.ts +9 -0
- package/src/components/BryntumCostAccrualField.vue +81 -109
- package/src/components/BryntumCostAccrualFieldProps.ts +9 -0
- package/src/components/BryntumDependencyTypePicker.vue +81 -109
- package/src/components/BryntumDependencyTypePickerProps.ts +9 -0
- package/src/components/BryntumEffortField.vue +76 -102
- package/src/components/BryntumEffortFieldProps.ts +9 -0
- package/src/components/BryntumEndDateField.vue +80 -106
- package/src/components/BryntumEndDateFieldProps.ts +9 -0
- package/src/components/BryntumModelCombo.vue +81 -109
- package/src/components/BryntumModelComboProps.ts +9 -0
- package/src/components/BryntumRateTableField.vue +81 -109
- package/src/components/BryntumRateTableFieldProps.ts +9 -0
- package/src/components/BryntumResourceEditor.vue +64 -106
- package/src/components/BryntumResourceGrid.vue +529 -755
- package/src/components/BryntumResourceGridProps.ts +5 -0
- package/src/components/BryntumResourceHistogram.vue +773 -1091
- package/src/components/BryntumResourceHistogramProps.ts +5 -0
- package/src/components/BryntumResourceTypeField.vue +81 -109
- package/src/components/BryntumResourceTypeFieldProps.ts +9 -0
- package/src/components/BryntumResourceUtilization.vue +789 -1113
- package/src/components/BryntumResourceUtilizationProps.ts +5 -0
- package/src/components/BryntumSchedulerPro.vue +1613 -2195
- package/src/components/BryntumSchedulerProBase.vue +1613 -2195
- package/src/components/BryntumSchedulerProBaseProps.ts +5 -0
- package/src/components/BryntumSchedulerProProjectModel.vue +134 -187
- package/src/components/BryntumSchedulerProProjectModelProps.ts +8 -7
- package/src/components/BryntumSchedulerProProps.ts +5 -0
- package/src/components/BryntumSchedulingDirectionPicker.vue +81 -109
- package/src/components/BryntumSchedulingDirectionPickerProps.ts +9 -0
- package/src/components/BryntumSchedulingModePicker.vue +81 -109
- package/src/components/BryntumSchedulingModePickerProps.ts +9 -0
- package/src/components/BryntumStartDateField.vue +80 -106
- package/src/components/BryntumStartDateFieldProps.ts +9 -0
- package/src/components/BryntumTimeline.vue +1425 -1927
- package/src/components/BryntumTimelineProps.ts +5 -0
- package/src/components/BryntumVersionGrid.vue +527 -763
- package/lib/chunks/BFFz1c24.js.map +0 -1
- package/lib/chunks/BIkGnHve.js.map +0 -1
- package/lib/chunks/BNBuOpUp.js.map +0 -1
- package/lib/chunks/Bp7aU5Ia.js.map +0 -1
- package/lib/chunks/C3Dz-ovY.js.map +0 -1
- package/lib/chunks/CqtUB81W.js.map +0 -1
- package/lib/chunks/CvNpXefN.js.map +0 -1
- package/lib/chunks/D1a3F6m-.js.map +0 -1
- package/lib/chunks/DdbMybqv.js.map +0 -1
- package/lib/chunks/DjFBhm9P.js.map +0 -1
- package/lib/chunks/DmFXOMJ5.js.map +0 -1
- package/lib/chunks/Pb5GbfMi.js.map +0 -1
- package/lib/chunks/W-pa3HyX.js.map +0 -1
- package/lib/chunks/b8yreHIz.js.map +0 -1
- package/lib/chunks/oM3gO3yH.js.map +0 -1
- package/lib/chunks/p1r0F5YC.js.map +0 -1
- package/lib/chunks/s35t-2ke.js.map +0 -1
- package/lib/chunks/yF4wtntA.js.map +0 -1
|
@@ -817,6 +817,11 @@ defineProps<{
|
|
|
817
817
|
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-project)
|
|
818
818
|
*/
|
|
819
819
|
project ? : ProjectModelConfig|ProjectModel|object
|
|
820
|
+
/**
|
|
821
|
+
* The project model class to use when creating the project instance. Override this to use a custom project
|
|
822
|
+
* model class. In SchedulerPro and Gantt, this is overridden to use their respective project model classes.
|
|
823
|
+
*/
|
|
824
|
+
projectModelClass ? : typeof ProjectModel
|
|
820
825
|
/**
|
|
821
826
|
* Set to `true` to make the grid read-only, by disabling any UIs for modifying data.
|
|
822
827
|
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-readOnly)
|
|
@@ -1617,175 +1622,147 @@ const emit = defineEmits<{
|
|
|
1617
1622
|
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-beforeAssignmentDelete)
|
|
1618
1623
|
* @param {string} e Event name
|
|
1619
1624
|
* @param {object} params Event parameters
|
|
1620
|
-
* @param {
|
|
1621
|
-
* @param {
|
|
1622
|
-
* @param {
|
|
1623
|
-
* @param {
|
|
1624
|
-
* @param {
|
|
1625
|
-
* @param {
|
|
1626
|
-
* @param {Function} params.params.event.context.finalize Function to call to finalize the removal. Used to asynchronously decide to remove the records or not. Provide `false` to the function to prevent the removal.
|
|
1627
|
-
* @param {boolean} [params.params.event.context.finalize.removeRecords] Provide `false` to the function to prevent the removal.
|
|
1625
|
+
* @param {object} params.event Event object
|
|
1626
|
+
* @param {Scheduler.view.Scheduler} params.event.source The Scheduler instance
|
|
1627
|
+
* @param {Scheduler.model.SchedulerAssignmentModel[]} params.event.assignmentRecords The assignment records about to be deleted
|
|
1628
|
+
* @param {object} params.event.context Additional removal context. This allows you to process the deletion by calling `context.finalize()` if you return `false` from the event handler.
|
|
1629
|
+
* @param {Function} params.event.context.finalize Function to call to finalize the removal. Used to asynchronously decide to remove the records or not. Provide `false` to the function to prevent the removal.
|
|
1630
|
+
* @param {boolean} [params.event.context.finalize.removeRecords] Provide `false` to the function to prevent the removal.
|
|
1628
1631
|
*/
|
|
1629
1632
|
(e: 'beforeAssignmentDelete', params: ((event: { source: Scheduler, assignmentRecords: SchedulerAssignmentModel[], context: { finalize: { removeRecords?: boolean } } }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
1630
1633
|
/**
|
|
1631
1634
|
* Fires on the owning Grid before the cell editing is canceled, return `false` to prevent cancellation.
|
|
1632
1635
|
* @param {string} e Event name
|
|
1633
1636
|
* @param {object} params Event parameters
|
|
1634
|
-
* @param {
|
|
1635
|
-
* @param {
|
|
1636
|
-
* @param {
|
|
1637
|
-
* @param {Grid.view.Grid} params.params.event.source Owner grid
|
|
1638
|
-
* @param {Grid.util.GridLocation} params.params.event.editorContext Editing context
|
|
1637
|
+
* @param {object} params.event Event object
|
|
1638
|
+
* @param {Grid.view.Grid} params.event.source Owner grid
|
|
1639
|
+
* @param {Grid.util.GridLocation} params.event.editorContext Editing context
|
|
1639
1640
|
*/
|
|
1640
|
-
(e: 'beforeCancelCellEdit', params: ((event: { source: Grid, editorContext: GridLocation }) =>
|
|
1641
|
+
(e: 'beforeCancelCellEdit', params: ((event: { source: Grid, editorContext: GridLocation }) => boolean|void)|string): boolean|void
|
|
1641
1642
|
/**
|
|
1642
1643
|
* 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.
|
|
1643
1644
|
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-beforeCancelRowEdit)
|
|
1644
1645
|
* @param {string} e Event name
|
|
1645
1646
|
* @param {object} params Event parameters
|
|
1646
|
-
* @param {
|
|
1647
|
-
* @param {
|
|
1648
|
-
* @param {
|
|
1649
|
-
* @param {Grid.view.Grid} params.params.event.grid Target grid
|
|
1650
|
-
* @param {RowEditorContext} params.params.event.editorContext Editing context
|
|
1647
|
+
* @param {object} params.event Event object
|
|
1648
|
+
* @param {Grid.view.Grid} params.event.grid Target grid
|
|
1649
|
+
* @param {RowEditorContext} params.event.editorContext Editing context
|
|
1651
1650
|
*/
|
|
1652
1651
|
(e: 'beforeCancelRowEdit', params: ((event: { grid: Grid, editorContext: RowEditorContext }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
1653
1652
|
/**
|
|
1654
1653
|
* Fires on the owning Grid before editing starts, return `false` to prevent editing
|
|
1655
1654
|
* @param {string} e Event name
|
|
1656
1655
|
* @param {object} params Event parameters
|
|
1657
|
-
* @param {
|
|
1658
|
-
* @param {
|
|
1659
|
-
* @param {
|
|
1660
|
-
* @param {Grid.view.Grid} params.params.event.source Owner grid
|
|
1661
|
-
* @param {CellEditorContext} params.params.event.editorContext Editing context
|
|
1656
|
+
* @param {object} params.event Event object
|
|
1657
|
+
* @param {Grid.view.Grid} params.event.source Owner grid
|
|
1658
|
+
* @param {CellEditorContext} params.event.editorContext Editing context
|
|
1662
1659
|
*/
|
|
1663
|
-
(e: 'beforeCellEditStart', params: ((event: { source: Grid, editorContext: CellEditorContext }) =>
|
|
1660
|
+
(e: 'beforeCellEditStart', params: ((event: { source: Grid, editorContext: CellEditorContext }) => boolean|void)|string): boolean|void
|
|
1664
1661
|
/**
|
|
1665
1662
|
* Fires on the owning Grid before deleting a range of selected cell values by pressing <kbd>Backspace</kbd> or <kbd>Delete</kbd>
|
|
1666
1663
|
* buttons while [autoEdit](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellEdit#config-autoEdit) is set to `true`. Return `false` to prevent editing.
|
|
1667
1664
|
* @param {string} e Event name
|
|
1668
1665
|
* @param {object} params Event parameters
|
|
1669
|
-
* @param {
|
|
1670
|
-
* @param {
|
|
1671
|
-
* @param {
|
|
1672
|
-
* @param {Grid.view.Grid} params.params.event.source Owner grid
|
|
1673
|
-
* @param {(Grid.util.GridLocation|Core.data.Model)[]} params.params.event.gridSelection An array of cell selectors or records that will have their values deleted (the records themselves will not get deleted, only visible column values).
|
|
1666
|
+
* @param {object} params.event Event object
|
|
1667
|
+
* @param {Grid.view.Grid} params.event.source Owner grid
|
|
1668
|
+
* @param {(Grid.util.GridLocation|Core.data.Model)[]} params.event.gridSelection An array of cell selectors or records that will have their values deleted (the records themselves will not get deleted, only visible column values).
|
|
1674
1669
|
*/
|
|
1675
|
-
(e: 'beforeCellRangeDelete', params: ((event: { source: Grid, gridSelection: (GridLocation|Model)[] }) =>
|
|
1670
|
+
(e: 'beforeCellRangeDelete', params: ((event: { source: Grid, gridSelection: (GridLocation|Model)[] }) => boolean|void)|string): boolean|void
|
|
1676
1671
|
/**
|
|
1677
1672
|
* Fires for each selected record on the owning Grid before editing a range of selected cell values
|
|
1678
1673
|
* @param {string} e Event name
|
|
1679
1674
|
* @param {object} params Event parameters
|
|
1680
|
-
* @param {
|
|
1681
|
-
* @param {
|
|
1682
|
-
* @param {
|
|
1683
|
-
* @param {
|
|
1684
|
-
* @param {string} params.params.event.field The field being changed
|
|
1685
|
-
* @param {any} params.params.event.value The value being set
|
|
1675
|
+
* @param {object} params.event Event object
|
|
1676
|
+
* @param {Core.data.Model} params.event.record Current selected record from the range
|
|
1677
|
+
* @param {string} params.event.field The field being changed
|
|
1678
|
+
* @param {any} params.event.value The value being set
|
|
1686
1679
|
*/
|
|
1687
|
-
(e: 'beforeCellRangeEdit', params: ((event: { record: Model, field: string, value: any }) =>
|
|
1680
|
+
(e: 'beforeCellRangeEdit', params: ((event: { record: Model, field: string, value: any }) => boolean|void)|string): boolean|void
|
|
1688
1681
|
/**
|
|
1689
1682
|
* This event is triggered before a parent column is collapsed or expanded.
|
|
1690
1683
|
* @param {string} e Event name
|
|
1691
1684
|
* @param {object} params Event parameters
|
|
1692
|
-
* @param {
|
|
1693
|
-
* @param {
|
|
1694
|
-
* @param {
|
|
1695
|
-
* @param {
|
|
1696
|
-
* @param {Grid.column.Column} params.params.event.column The column
|
|
1697
|
-
* @param {boolean} params.params.event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
1685
|
+
* @param {object} params.event Event object
|
|
1686
|
+
* @param {Grid.view.GridBase} params.event.source The grid instance
|
|
1687
|
+
* @param {Grid.column.Column} params.event.column The column
|
|
1688
|
+
* @param {boolean} params.event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
1698
1689
|
*/
|
|
1699
1690
|
(e: 'beforeColumnCollapseToggle', params: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string): void
|
|
1700
1691
|
/**
|
|
1701
1692
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
1702
1693
|
* @param {string} e Event name
|
|
1703
1694
|
* @param {object} params Event parameters
|
|
1704
|
-
* @param {
|
|
1705
|
-
* @param {
|
|
1706
|
-
* @param {
|
|
1707
|
-
* @param {
|
|
1708
|
-
* @param {Grid.column.Column} params.params.event.column The dragged column.
|
|
1709
|
-
* @param {Event} params.params.event.event The browser event.
|
|
1695
|
+
* @param {object} params.event Event object
|
|
1696
|
+
* @param {Grid.view.Grid} params.event.source The grid instance.
|
|
1697
|
+
* @param {Grid.column.Column} params.event.column The dragged column.
|
|
1698
|
+
* @param {Event} params.event.event The browser event.
|
|
1710
1699
|
*/
|
|
1711
|
-
(e: 'beforeColumnDragStart', params: ((event: { source: Grid, column: Column, event: Event }) =>
|
|
1700
|
+
(e: 'beforeColumnDragStart', params: ((event: { source: Grid, column: Column, event: Event }) => boolean|void)|string): boolean|void
|
|
1712
1701
|
/**
|
|
1713
1702
|
* This event is fired when a column is dropped, and you can return false from a listener to abort the operation.
|
|
1714
1703
|
* @param {string} e Event name
|
|
1715
1704
|
* @param {object} params Event parameters
|
|
1716
|
-
* @param {
|
|
1717
|
-
* @param {
|
|
1718
|
-
* @param {
|
|
1719
|
-
* @param {Grid.
|
|
1720
|
-
* @param {Grid.column.Column} params.
|
|
1721
|
-
* @param {
|
|
1722
|
-
* @param {
|
|
1723
|
-
* @param {Event} params.params.event.event The browser event.
|
|
1724
|
-
* @param {string} params.params.event.region The region where the column was dropped.
|
|
1705
|
+
* @param {object} params.event Event object
|
|
1706
|
+
* @param {Grid.view.Grid} params.event.source The grid instance.
|
|
1707
|
+
* @param {Grid.column.Column} params.event.column The dragged column.
|
|
1708
|
+
* @param {Grid.column.Column} params.event.insertBefore The column before which the dragged column will be inserted.
|
|
1709
|
+
* @param {Grid.column.Column} params.event.newParent The new parent column.
|
|
1710
|
+
* @param {Event} params.event.event The browser event.
|
|
1711
|
+
* @param {string} params.event.region The region where the column was dropped.
|
|
1725
1712
|
*/
|
|
1726
|
-
(e: 'beforeColumnDropFinalize', params: ((event: { source: Grid, column: Column, insertBefore: Column, newParent: Column, event: Event, region: string }) =>
|
|
1713
|
+
(e: 'beforeColumnDropFinalize', params: ((event: { source: Grid, column: Column, insertBefore: Column, newParent: Column, event: Event, region: string }) => boolean|void)|string): boolean|void
|
|
1727
1714
|
/**
|
|
1728
1715
|
* This event is fired prior to starting a column resize gesture. The resize is canceled if a listener returns
|
|
1729
1716
|
* `false`.
|
|
1730
1717
|
* @param {string} e Event name
|
|
1731
1718
|
* @param {object} params Event parameters
|
|
1732
|
-
* @param {
|
|
1733
|
-
* @param {
|
|
1734
|
-
* @param {
|
|
1735
|
-
* @param {
|
|
1736
|
-
* @param {Grid.column.Column} params.params.event.column The column
|
|
1737
|
-
* @param {Event} params.params.event.domEvent The browser event
|
|
1719
|
+
* @param {object} params.event Event object
|
|
1720
|
+
* @param {Grid.view.Grid} params.event.source The grid instance
|
|
1721
|
+
* @param {Grid.column.Column} params.event.column The column
|
|
1722
|
+
* @param {Event} params.event.domEvent The browser event
|
|
1738
1723
|
*/
|
|
1739
|
-
(e: 'beforeColumnResize', params: ((event: { source: Grid, column: Column, domEvent: Event }) =>
|
|
1724
|
+
(e: 'beforeColumnResize', params: ((event: { source: Grid, column: Column, domEvent: Event }) => boolean|void)|string): boolean|void
|
|
1740
1725
|
/**
|
|
1741
1726
|
* Fires on the owning Grid before a copy action is performed, return `false` to prevent the action
|
|
1742
1727
|
* @param {string} e Event name
|
|
1743
1728
|
* @param {object} params Event parameters
|
|
1744
|
-
* @param {
|
|
1745
|
-
* @param {
|
|
1746
|
-
* @param {
|
|
1747
|
-
* @param {
|
|
1748
|
-
* @param {
|
|
1749
|
-
* @param {string} params.
|
|
1750
|
-
* @param {boolean} params.params.event.isCut `true` if this is a cut action
|
|
1751
|
-
* @param {string} params.params.event.entityName 'cell' to distinguish this event from other beforeCopy events
|
|
1729
|
+
* @param {object} params.event Event object
|
|
1730
|
+
* @param {Grid.view.Grid} params.event.source Owner grid
|
|
1731
|
+
* @param {Grid.util.GridLocation[]} params.event.cells The cells about to be copied or cut
|
|
1732
|
+
* @param {string} params.event.data The string data about to be copied or cut
|
|
1733
|
+
* @param {boolean} params.event.isCut `true` if this is a cut action
|
|
1734
|
+
* @param {string} params.event.entityName 'cell' to distinguish this event from other beforeCopy events
|
|
1752
1735
|
*/
|
|
1753
1736
|
(e: 'beforeCopy', params: ((event: { source: Grid, cells: GridLocation[], data: string, isCut: boolean, entityName: string }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
1754
1737
|
/**
|
|
1755
1738
|
* Fires on the owning view before a copy action is performed, return `false` to prevent the action
|
|
1756
1739
|
* @param {string} e Event name
|
|
1757
1740
|
* @param {object} params Event parameters
|
|
1758
|
-
* @param {
|
|
1759
|
-
* @param {
|
|
1760
|
-
* @param {
|
|
1761
|
-
* @param {
|
|
1762
|
-
* @param {
|
|
1763
|
-
* @param {string} params.params.event.data The string data about to be copied or cut
|
|
1764
|
-
* @param {boolean} params.params.event.isCut `true` if this is a cut action
|
|
1741
|
+
* @param {object} params.event Event object
|
|
1742
|
+
* @param {SchedulerPro.view.ResourceUtilization} params.event.source Owner view
|
|
1743
|
+
* @param {Scheduler.util.TimelineContext[]} params.event.cells The cells about to be copied or cut
|
|
1744
|
+
* @param {string} params.event.data The string data about to be copied or cut
|
|
1745
|
+
* @param {boolean} params.event.isCut `true` if this is a cut action
|
|
1765
1746
|
*/
|
|
1766
1747
|
(e: 'beforeCopyTimelineCells', params: ((event: { source: ResourceUtilization, cells: TimelineContext[], data: string, isCut: boolean }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
1767
1748
|
/**
|
|
1768
1749
|
* Fires on the owning Grid before CSV export starts. Return `false` to cancel the export.
|
|
1769
1750
|
* @param {string} e Event name
|
|
1770
1751
|
* @param {object} params Event parameters
|
|
1771
|
-
* @param {
|
|
1772
|
-
* @param {
|
|
1773
|
-
* @param {
|
|
1774
|
-
* @param {
|
|
1775
|
-
* @param {
|
|
1776
|
-
* @param {
|
|
1777
|
-
* @param {string} params.params.event.lineDelimiter The CSV delimiter to separate lines
|
|
1778
|
-
* @param {string} params.params.event.columnDelimiter The CSV delimiter to separate values on one line
|
|
1752
|
+
* @param {object} params.event Event object
|
|
1753
|
+
* @param {ExportConfig} params.event.config Export config
|
|
1754
|
+
* @param {Grid.column.Column[]} params.event.columns An array of columns to export
|
|
1755
|
+
* @param {Core.data.Model[]} params.event.rows An array of records to export
|
|
1756
|
+
* @param {string} params.event.lineDelimiter The CSV delimiter to separate lines
|
|
1757
|
+
* @param {string} params.event.columnDelimiter The CSV delimiter to separate values on one line
|
|
1779
1758
|
*/
|
|
1780
|
-
(e: 'beforeCSVExport', params: ((event: { config: ExportConfig, columns: Column[], rows: Model[], lineDelimiter: string, columnDelimiter: string }) =>
|
|
1759
|
+
(e: 'beforeCSVExport', params: ((event: { config: ExportConfig, columns: Column[], rows: Model[], lineDelimiter: string, columnDelimiter: string }) => boolean|void)|string): boolean|void
|
|
1781
1760
|
/**
|
|
1782
1761
|
* Fires before an object is destroyed.
|
|
1783
1762
|
* @param {string} e Event name
|
|
1784
1763
|
* @param {object} params Event parameters
|
|
1785
|
-
* @param {
|
|
1786
|
-
* @param {
|
|
1787
|
-
* @param {object} params.params.event Event object
|
|
1788
|
-
* @param {Core.Base} params.params.event.source The Object that is being destroyed.
|
|
1764
|
+
* @param {object} params.event Event object
|
|
1765
|
+
* @param {Core.Base} params.event.source The Object that is being destroyed.
|
|
1789
1766
|
*/
|
|
1790
1767
|
(e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void
|
|
1791
1768
|
/**
|
|
@@ -1795,48 +1772,40 @@ const emit = defineEmits<{
|
|
|
1795
1772
|
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-beforeEventDelete)
|
|
1796
1773
|
* @param {string} e Event name
|
|
1797
1774
|
* @param {object} params Event parameters
|
|
1798
|
-
* @param {
|
|
1799
|
-
* @param {
|
|
1800
|
-
* @param {
|
|
1801
|
-
* @param {
|
|
1802
|
-
* @param {
|
|
1803
|
-
* @param {
|
|
1804
|
-
* @param {Function} params.params.event.context.finalize Function to call to finalize the removal. Used to asynchronously decide to remove the records or not. Provide `false` to the function to prevent the removal.
|
|
1805
|
-
* @param {boolean} [params.params.event.context.finalize.removeRecords] Provide `false` to the function to prevent the removal.
|
|
1775
|
+
* @param {object} params.event Event object
|
|
1776
|
+
* @param {Scheduler.view.Scheduler,any} params.event.source The Scheduler instance
|
|
1777
|
+
* @param {Scheduler.model.SchedulerEventModel[]} params.event.eventRecords The records about to be deleted
|
|
1778
|
+
* @param {object} params.event.context Additional removal context. This allows you to process the deletion by calling `context.finalize()` if you return `false` from the event handler.
|
|
1779
|
+
* @param {Function} params.event.context.finalize Function to call to finalize the removal. Used to asynchronously decide to remove the records or not. Provide `false` to the function to prevent the removal.
|
|
1780
|
+
* @param {boolean} [params.event.context.finalize.removeRecords] Provide `false` to the function to prevent the removal.
|
|
1806
1781
|
*/
|
|
1807
1782
|
(e: 'beforeEventDelete', params: ((event: { source: Scheduler|any, eventRecords: SchedulerEventModel[], context: { finalize: { removeRecords?: boolean } } }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
1808
1783
|
/**
|
|
1809
1784
|
* Fires on the owning Grid before Excel export starts. Return `false` to cancel the export.
|
|
1810
1785
|
* @param {string} e Event name
|
|
1811
1786
|
* @param {object} params Event parameters
|
|
1812
|
-
* @param {
|
|
1813
|
-
* @param {
|
|
1814
|
-
* @param {
|
|
1815
|
-
* @param {
|
|
1816
|
-
* @param {XLSColumn[]} params.params.event.columns An array of columns to export
|
|
1817
|
-
* @param {any[][]} params.params.event.rows An array of records to export
|
|
1787
|
+
* @param {object} params.event Event object
|
|
1788
|
+
* @param {ExportConfig} params.event.config Export config
|
|
1789
|
+
* @param {XLSColumn[]} params.event.columns An array of columns to export
|
|
1790
|
+
* @param {any[][]} params.event.rows An array of records to export
|
|
1818
1791
|
*/
|
|
1819
|
-
(e: 'beforeExcelExport', params: ((event: { config: ExportConfig, columns: XLSColumn[], rows: any[] }) =>
|
|
1792
|
+
(e: 'beforeExcelExport', params: ((event: { config: ExportConfig, columns: XLSColumn[], rows: any[] }) => boolean|void)|string): boolean|void
|
|
1820
1793
|
/**
|
|
1821
1794
|
* Fired before dragging of the FillHandle starts, return `false` to prevent the drag operation.
|
|
1822
1795
|
* @param {string} e Event name
|
|
1823
1796
|
* @param {object} params Event parameters
|
|
1824
|
-
* @param {
|
|
1825
|
-
* @param {
|
|
1826
|
-
* @param {
|
|
1827
|
-
* @param {Grid.util.GridLocation} params.params.event.cell Information about the column / record
|
|
1828
|
-
* @param {MouseEvent} params.params.event.domEvent The raw DOM event
|
|
1797
|
+
* @param {object} params.event Event object
|
|
1798
|
+
* @param {Grid.util.GridLocation} params.event.cell Information about the column / record
|
|
1799
|
+
* @param {MouseEvent} params.event.domEvent The raw DOM event
|
|
1829
1800
|
*/
|
|
1830
|
-
(e: 'beforeFillHandleDragStart', params: ((event: { cell: GridLocation, domEvent: MouseEvent }) =>
|
|
1801
|
+
(e: 'beforeFillHandleDragStart', params: ((event: { cell: GridLocation, domEvent: MouseEvent }) => boolean|void)|string): boolean|void
|
|
1831
1802
|
/**
|
|
1832
1803
|
* 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.
|
|
1833
1804
|
* @param {string} e Event name
|
|
1834
1805
|
* @param {object} params Event parameters
|
|
1835
|
-
* @param {
|
|
1836
|
-
* @param {
|
|
1837
|
-
* @param {
|
|
1838
|
-
* @param {Grid.view.Grid} params.params.event.grid Target grid
|
|
1839
|
-
* @param {CellEditorContext} params.params.event.editorContext Editing context
|
|
1806
|
+
* @param {object} params.event Event object
|
|
1807
|
+
* @param {Grid.view.Grid} params.event.grid Target grid
|
|
1808
|
+
* @param {CellEditorContext} params.event.editorContext Editing context
|
|
1840
1809
|
*/
|
|
1841
1810
|
(e: 'beforeFinishCellEdit', params: ((event: { grid: Grid, editorContext: CellEditorContext }) => void)|string): void
|
|
1842
1811
|
/**
|
|
@@ -1844,144 +1813,120 @@ const emit = defineEmits<{
|
|
|
1844
1813
|
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-beforeFinishRowEdit)
|
|
1845
1814
|
* @param {string} e Event name
|
|
1846
1815
|
* @param {object} params Event parameters
|
|
1847
|
-
* @param {
|
|
1848
|
-
* @param {
|
|
1849
|
-
* @param {
|
|
1850
|
-
* @param {Grid.view.Grid} params.params.event.grid Target grid
|
|
1851
|
-
* @param {RowEditorContext} params.params.event.editorContext Editing context
|
|
1816
|
+
* @param {object} params.event Event object
|
|
1817
|
+
* @param {Grid.view.Grid} params.event.grid Target grid
|
|
1818
|
+
* @param {RowEditorContext} params.event.editorContext Editing context
|
|
1852
1819
|
*/
|
|
1853
1820
|
(e: 'beforeFinishRowEdit', params: ((event: { grid: Grid, editorContext: RowEditorContext }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
1854
1821
|
/**
|
|
1855
1822
|
* Triggered before a widget is hidden. Return `false` to prevent the action.
|
|
1856
1823
|
* @param {string} e Event name
|
|
1857
1824
|
* @param {object} params Event parameters
|
|
1858
|
-
* @param {
|
|
1859
|
-
* @param {
|
|
1860
|
-
* @param {object} params.params.event Event object
|
|
1861
|
-
* @param {Core.widget.Widget} params.params.event.source The widget being hidden.
|
|
1825
|
+
* @param {object} params.event Event object
|
|
1826
|
+
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
1862
1827
|
*/
|
|
1863
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
1828
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
1864
1829
|
/**
|
|
1865
1830
|
* Fires before the component stores a record's histogram data into the cache.
|
|
1866
1831
|
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-beforeHistogramDataCacheSet)
|
|
1867
1832
|
* @param {string} e Event name
|
|
1868
1833
|
* @param {object} params Event parameters
|
|
1869
|
-
* @param {
|
|
1870
|
-
* @param {
|
|
1871
|
-
* @param {
|
|
1872
|
-
* @param {
|
|
1873
|
-
* @param {Core.data.Model} params.params.event.record Record the histogram data of which is ready.
|
|
1874
|
-
* @param {object} params.params.event.data The record histogram data.
|
|
1834
|
+
* @param {object} params.event Event object
|
|
1835
|
+
* @param {Scheduler.view.TimelineHistogram} params.event.source The component instance
|
|
1836
|
+
* @param {Core.data.Model} params.event.record Record the histogram data of which is ready.
|
|
1837
|
+
* @param {object} params.event.data The record histogram data.
|
|
1875
1838
|
*/
|
|
1876
1839
|
(e: 'beforeHistogramDataCacheSet', params: ((event: { source: TimelineHistogram, record: Model, data: object }) => void)|string): void
|
|
1877
1840
|
/**
|
|
1878
1841
|
* Fires on the owning Scheduler or Gantt widget before pan starts. Return `false` to prevent the operation.
|
|
1879
1842
|
* @param {string} e Event name
|
|
1880
1843
|
* @param {object} params Event parameters
|
|
1881
|
-
* @param {
|
|
1882
|
-
* @param {
|
|
1883
|
-
* @param {object} params.params.event Event object
|
|
1884
|
-
* @param {Event} params.params.event.event The native browser DOM event
|
|
1844
|
+
* @param {object} params.event Event object
|
|
1845
|
+
* @param {Event} params.event.event The native browser DOM event
|
|
1885
1846
|
*/
|
|
1886
|
-
(e: 'beforePan', params: ((event: { event: Event }) =>
|
|
1847
|
+
(e: 'beforePan', params: ((event: { event: Event }) => boolean|void)|string): boolean|void
|
|
1887
1848
|
/**
|
|
1888
1849
|
* Fires on the owning Grid before a paste action is performed, return `false` to prevent the action
|
|
1889
1850
|
* @param {string} e Event name
|
|
1890
1851
|
* @param {object} params Event parameters
|
|
1891
|
-
* @param {
|
|
1892
|
-
* @param {
|
|
1893
|
-
* @param {
|
|
1894
|
-
* @param {Grid.
|
|
1895
|
-
* @param {string} params.
|
|
1896
|
-
* @param {
|
|
1897
|
-
* @param {string} params.params.event.entityName 'cell' to distinguish this event from other beforePaste events
|
|
1898
|
-
* @param {string} params.params.event.text The raw text from clipboard
|
|
1852
|
+
* @param {object} params.event Event object
|
|
1853
|
+
* @param {Grid.view.Grid} params.event.source Owner grid
|
|
1854
|
+
* @param {string} params.event.clipboardData The clipboardData about to be pasted
|
|
1855
|
+
* @param {Grid.util.GridLocation} params.event.targetCell The cell from which the paste will be started
|
|
1856
|
+
* @param {string} params.event.entityName 'cell' to distinguish this event from other beforePaste events
|
|
1857
|
+
* @param {string} params.event.text The raw text from clipboard
|
|
1899
1858
|
*/
|
|
1900
1859
|
(e: 'beforePaste', params: ((event: { source: Grid, clipboardData: string, targetCell: GridLocation, entityName: string, text: string }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
1901
1860
|
/**
|
|
1902
1861
|
* Fires on the owning Grid before a paste action is performed, return `false` to prevent the action
|
|
1903
1862
|
* @param {string} e Event name
|
|
1904
1863
|
* @param {object} params Event parameters
|
|
1905
|
-
* @param {
|
|
1906
|
-
* @param {
|
|
1907
|
-
* @param {
|
|
1908
|
-
* @param {
|
|
1909
|
-
* @param {string} params.params.event.clipboardData The clipboardData about to be pasted
|
|
1910
|
-
* @param {Scheduler.util.TimelineContext} params.params.event.targetCell The cell from which the paste will be started
|
|
1864
|
+
* @param {object} params.event Event object
|
|
1865
|
+
* @param {SchedulerPro.view.ResourceUtilization} params.event.source Owner view
|
|
1866
|
+
* @param {string} params.event.clipboardData The clipboardData about to be pasted
|
|
1867
|
+
* @param {Scheduler.util.TimelineContext} params.event.targetCell The cell from which the paste will be started
|
|
1911
1868
|
*/
|
|
1912
1869
|
(e: 'beforePasteTimelineCells', params: ((event: { source: ResourceUtilization, clipboardData: string, targetCell: TimelineContext }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
1913
1870
|
/**
|
|
1914
1871
|
* Fires on the owning Grid before export started. Return `false` to cancel the export.
|
|
1915
1872
|
* @param {string} e Event name
|
|
1916
1873
|
* @param {object} params Event parameters
|
|
1917
|
-
* @param {
|
|
1918
|
-
* @param {
|
|
1919
|
-
* @param {object} params.params.event Event object
|
|
1920
|
-
* @param {PdfExportConfig} params.params.event.config Export config
|
|
1874
|
+
* @param {object} params.event Event object
|
|
1875
|
+
* @param {PdfExportConfig} params.event.config Export config
|
|
1921
1876
|
*/
|
|
1922
|
-
(e: 'beforePdfExport', params: ((event: { config: PdfExportConfig }) =>
|
|
1877
|
+
(e: 'beforePdfExport', params: ((event: { config: PdfExportConfig }) => boolean|void)|string): boolean|void
|
|
1923
1878
|
/**
|
|
1924
1879
|
* Fired before the [viewPreset](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/mixin/TimelineViewPresets#config-viewPreset) is changed.
|
|
1925
1880
|
* @param {string} e Event name
|
|
1926
1881
|
* @param {object} params Event parameters
|
|
1927
|
-
* @param {
|
|
1928
|
-
* @param {
|
|
1929
|
-
* @param {
|
|
1930
|
-
* @param {
|
|
1931
|
-
* @param {
|
|
1932
|
-
* @param {
|
|
1933
|
-
* @param {Scheduler.preset.ViewPreset} params.params.event.from The outgoing ViewPreset.
|
|
1934
|
-
* @param {Scheduler.preset.ViewPreset} params.params.event.to The ViewPreset being switched to.
|
|
1882
|
+
* @param {object} params.event Event object
|
|
1883
|
+
* @param {Scheduler.view.Scheduler} params.event.source This Scheduler instance.
|
|
1884
|
+
* @param {Date} params.event.startDate The new start date of the timeline.
|
|
1885
|
+
* @param {Date} params.event.endDate The new end date of the timeline.
|
|
1886
|
+
* @param {Scheduler.preset.ViewPreset} params.event.from The outgoing ViewPreset.
|
|
1887
|
+
* @param {Scheduler.preset.ViewPreset} params.event.to The ViewPreset being switched to.
|
|
1935
1888
|
*/
|
|
1936
|
-
(e: 'beforePresetChange', params: ((event: { source: Scheduler, startDate: Date, endDate: Date, from: ViewPreset, to: ViewPreset }) =>
|
|
1889
|
+
(e: 'beforePresetChange', params: ((event: { source: Scheduler, startDate: Date, endDate: Date, from: ViewPreset, to: ViewPreset }) => boolean|void)|string): boolean|void
|
|
1937
1890
|
/**
|
|
1938
1891
|
* Fires before the component renders a row.
|
|
1939
1892
|
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-beforeRenderHistogramRow)
|
|
1940
1893
|
* @param {string} e Event name
|
|
1941
1894
|
* @param {object} params Event parameters
|
|
1942
|
-
* @param {
|
|
1943
|
-
* @param {
|
|
1944
|
-
* @param {
|
|
1945
|
-
* @param {
|
|
1946
|
-
* @param {Core.
|
|
1947
|
-
* @param {HistogramConfig} params.params.event.histogramConfig Configuration object that will be applied to `histogramWidget`.
|
|
1948
|
-
* @param {Core.widget.graph.Histogram} params.params.event.histogramWidget The underlying widget that is used to render a chart.
|
|
1895
|
+
* @param {object} params.event Event object
|
|
1896
|
+
* @param {Scheduler.view.TimelineHistogram} params.event.source The component instance
|
|
1897
|
+
* @param {Core.data.Model} params.event.record Record the histogram data of which is ready.
|
|
1898
|
+
* @param {HistogramConfig} params.event.histogramConfig Configuration object that will be applied to `histogramWidget`.
|
|
1899
|
+
* @param {Core.widget.graph.Histogram} params.event.histogramWidget The underlying widget that is used to render a chart.
|
|
1949
1900
|
*/
|
|
1950
1901
|
(e: 'beforeRenderHistogramRow', params: ((event: { source: TimelineHistogram, record: Model, histogramConfig: HistogramConfig, histogramWidget: Histogram }) => void)|string): void
|
|
1951
1902
|
/**
|
|
1952
1903
|
* Fires before the component renders a histogram in a cell.
|
|
1953
1904
|
* @param {string} e Event name
|
|
1954
1905
|
* @param {object} params Event parameters
|
|
1955
|
-
* @param {
|
|
1956
|
-
* @param {
|
|
1957
|
-
* @param {
|
|
1958
|
-
* @param {
|
|
1959
|
-
* @param {Core.
|
|
1960
|
-
* @param {HistogramConfig} params.params.event.histogramConfig Configuration object that will be applied to `histogramWidget`.
|
|
1961
|
-
* @param {Core.widget.graph.Histogram} params.params.event.histogramWidget The underlying widget that is used to render a chart.
|
|
1906
|
+
* @param {object} params.event Event object
|
|
1907
|
+
* @param {Scheduler.view.TimelineHistogram} params.event.source The component instance
|
|
1908
|
+
* @param {Core.data.Model} params.event.record Record the histogram data of which is ready.
|
|
1909
|
+
* @param {HistogramConfig} params.event.histogramConfig Configuration object that will be applied to `histogramWidget`.
|
|
1910
|
+
* @param {Core.widget.graph.Histogram} params.event.histogramWidget The underlying widget that is used to render a chart.
|
|
1962
1911
|
*/
|
|
1963
1912
|
(e: 'beforeRenderRecordHistogram', params: ((event: { source: TimelineHistogram, record: Model, histogramConfig: HistogramConfig, histogramWidget: Histogram }) => void)|string): void
|
|
1964
1913
|
/**
|
|
1965
1914
|
* Fires before a row is rendered.
|
|
1966
1915
|
* @param {string} e Event name
|
|
1967
1916
|
* @param {object} params Event parameters
|
|
1968
|
-
* @param {
|
|
1969
|
-
* @param {
|
|
1970
|
-
* @param {
|
|
1971
|
-
* @param {
|
|
1972
|
-
* @param {
|
|
1973
|
-
* @param {Core.data.Model} params.params.event.record The record for the row
|
|
1974
|
-
* @param {number} params.params.event.recordIndex The zero-based index of the record
|
|
1917
|
+
* @param {object} params.event Event object
|
|
1918
|
+
* @param {Grid.view.GridBase} params.event.source The firing Grid instance
|
|
1919
|
+
* @param {Grid.row.Row} params.event.row The row about to be rendered
|
|
1920
|
+
* @param {Core.data.Model} params.event.record The record for the row
|
|
1921
|
+
* @param {number} params.event.recordIndex The zero-based index of the record
|
|
1975
1922
|
*/
|
|
1976
1923
|
(e: 'beforeRenderRow', params: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string): void
|
|
1977
1924
|
/**
|
|
1978
1925
|
* Grid rows are about to be rendered
|
|
1979
1926
|
* @param {string} e Event name
|
|
1980
1927
|
* @param {object} params Event parameters
|
|
1981
|
-
* @param {
|
|
1982
|
-
* @param {
|
|
1983
|
-
* @param {object} params.params.event Event object
|
|
1984
|
-
* @param {Grid.view.GridBase} params.params.event.source This grid.
|
|
1928
|
+
* @param {object} params.event Event object
|
|
1929
|
+
* @param {Grid.view.GridBase} params.event.source This grid.
|
|
1985
1930
|
*/
|
|
1986
1931
|
(e: 'beforeRenderRows', params: ((event: { source: GridBase }) => void)|string): void
|
|
1987
1932
|
/**
|
|
@@ -1989,10 +1934,8 @@ const emit = defineEmits<{
|
|
|
1989
1934
|
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-beforeRowCollapse)
|
|
1990
1935
|
* @param {string} e Event name
|
|
1991
1936
|
* @param {object} params Event parameters
|
|
1992
|
-
* @param {
|
|
1993
|
-
* @param {
|
|
1994
|
-
* @param {object} params.params.event Event object
|
|
1995
|
-
* @param {Core.data.Model} params.params.event.record Record
|
|
1937
|
+
* @param {object} params.event Event object
|
|
1938
|
+
* @param {Core.data.Model} params.event.record Record
|
|
1996
1939
|
*/
|
|
1997
1940
|
(e: 'beforeRowCollapse', params: ((event: { record: Model }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
1998
1941
|
/**
|
|
@@ -2000,119 +1943,99 @@ const emit = defineEmits<{
|
|
|
2000
1943
|
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-beforeRowExpand)
|
|
2001
1944
|
* @param {string} e Event name
|
|
2002
1945
|
* @param {object} params Event parameters
|
|
2003
|
-
* @param {
|
|
2004
|
-
* @param {
|
|
2005
|
-
* @param {object} params.params.event Event object
|
|
2006
|
-
* @param {Core.data.Model} params.params.event.record Record
|
|
1946
|
+
* @param {object} params.event Event object
|
|
1947
|
+
* @param {Core.data.Model} params.event.record Record
|
|
2007
1948
|
*/
|
|
2008
1949
|
(e: 'beforeRowExpand', params: ((event: { record: Model }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
2009
1950
|
/**
|
|
2010
1951
|
* Fires before the selection changes. Returning `false` from a listener prevents the change
|
|
2011
1952
|
* @param {string} e Event name
|
|
2012
1953
|
* @param {object} params Event parameters
|
|
2013
|
-
* @param {
|
|
2014
|
-
* @param {
|
|
2015
|
-
* @param {
|
|
2016
|
-
* @param {
|
|
2017
|
-
* @param {
|
|
2018
|
-
* @param {
|
|
2019
|
-
* @param {Core.data.Model[]} params.
|
|
2020
|
-
* @param {
|
|
2021
|
-
* @param {
|
|
2022
|
-
* @param {Grid.util.GridLocation[]} params.
|
|
2023
|
-
* @param {Grid.util.GridLocation[]} params.params.event.selectedCells The cells to be selected in this operation.
|
|
2024
|
-
* @param {Grid.util.GridLocation[]} params.params.event.cellSelection The cells in the current selection, before applying `selectedCells` and `deselectedCells`
|
|
1954
|
+
* @param {object} params.event Event object
|
|
1955
|
+
* @param {string} params.event.action `'select'`/`'deselect'`
|
|
1956
|
+
* @param {'row','cell'} params.event.mode `'row'`/`'cell'`
|
|
1957
|
+
* @param {Grid.view.Grid} params.event.source
|
|
1958
|
+
* @param {Core.data.Model[]} params.event.deselected The records to be deselected in this operation.
|
|
1959
|
+
* @param {Core.data.Model[]} params.event.selected The records to be selected in this operation.
|
|
1960
|
+
* @param {Core.data.Model[]} params.event.selection The records in the current selection, before applying `selected` and `deselected`
|
|
1961
|
+
* @param {Grid.util.GridLocation[]} params.event.deselectedCells The cells to be deselected in this operation.
|
|
1962
|
+
* @param {Grid.util.GridLocation[]} params.event.selectedCells The cells to be selected in this operation.
|
|
1963
|
+
* @param {Grid.util.GridLocation[]} params.event.cellSelection The cells in the current selection, before applying `selectedCells` and `deselectedCells`
|
|
2025
1964
|
*/
|
|
2026
|
-
(e: 'beforeSelectionChange', params: ((event: { action: string, mode: 'row'|'cell', source: Grid, deselected: Model[], selected: Model[], selection: Model[], deselectedCells: GridLocation[], selectedCells: GridLocation[], cellSelection: GridLocation[] }) =>
|
|
1965
|
+
(e: 'beforeSelectionChange', params: ((event: { action: string, mode: 'row'|'cell', source: Grid, deselected: Model[], selected: Model[], selection: Model[], deselectedCells: GridLocation[], selectedCells: GridLocation[], cellSelection: GridLocation[] }) => boolean|void)|string): boolean|void
|
|
2027
1966
|
/**
|
|
2028
1967
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
2029
1968
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
|
2030
1969
|
* @param {string} e Event name
|
|
2031
1970
|
* @param {object} params Event parameters
|
|
2032
|
-
* @param {
|
|
2033
|
-
* @param {
|
|
2034
|
-
* @param {
|
|
2035
|
-
* @param {Core.widget.Container} params.params.event.source The container
|
|
2036
|
-
* @param {Core.data.Model} params.params.event.record The record
|
|
1971
|
+
* @param {object} params.event Event object
|
|
1972
|
+
* @param {Core.widget.Container} params.event.source The container
|
|
1973
|
+
* @param {Core.data.Model} params.event.record The record
|
|
2037
1974
|
*/
|
|
2038
1975
|
(e: 'beforeSetRecord', params: ((event: { source: Container, record: Model }) => void)|string): void
|
|
2039
1976
|
/**
|
|
2040
1977
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
2041
1978
|
* @param {string} e Event name
|
|
2042
1979
|
* @param {object} params Event parameters
|
|
2043
|
-
* @param {
|
|
2044
|
-
* @param {
|
|
2045
|
-
* @param {object} params.params.event Event object
|
|
2046
|
-
* @param {Core.widget.Widget,any} params.params.event.source The widget being shown
|
|
1980
|
+
* @param {object} params.event Event object
|
|
1981
|
+
* @param {Core.widget.Widget,any} params.event.source The widget being shown
|
|
2047
1982
|
*/
|
|
2048
1983
|
(e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
2049
1984
|
/**
|
|
2050
1985
|
* Fires on the owning Grid before editing starts, return `false` to prevent editing
|
|
2051
1986
|
* @param {string} e Event name
|
|
2052
1987
|
* @param {object} params Event parameters
|
|
2053
|
-
* @param {
|
|
2054
|
-
* @param {
|
|
2055
|
-
* @param {
|
|
2056
|
-
* @param {Grid.view.Grid} params.params.event.source Owner grid
|
|
2057
|
-
* @param {RowEditorContext} params.params.event.editorContext Editing context
|
|
1988
|
+
* @param {object} params.event Event object
|
|
1989
|
+
* @param {Grid.view.Grid} params.event.source Owner grid
|
|
1990
|
+
* @param {RowEditorContext} params.event.editorContext Editing context
|
|
2058
1991
|
*/
|
|
2059
|
-
(e: 'beforeStartRowEdit', params: ((event: { source: Grid, editorContext: RowEditorContext }) =>
|
|
1992
|
+
(e: 'beforeStartRowEdit', params: ((event: { source: Grid, editorContext: RowEditorContext }) => boolean|void)|string): boolean|void
|
|
2060
1993
|
/**
|
|
2061
1994
|
* Fired before state is applied to the source. Allows editing the state object or preventing the operation.
|
|
2062
1995
|
* @param {string} e Event name
|
|
2063
1996
|
* @param {object} params Event parameters
|
|
2064
|
-
* @param {
|
|
2065
|
-
* @param {
|
|
2066
|
-
* @param {object} params.params.event Event object
|
|
2067
|
-
* @param {GridStateInfo} params.params.event.state State object config
|
|
1997
|
+
* @param {object} params.event Event object
|
|
1998
|
+
* @param {GridStateInfo} params.event.state State object config
|
|
2068
1999
|
*/
|
|
2069
|
-
(e: 'beforeStateApply', params: ((event: { state: GridStateInfo }) =>
|
|
2000
|
+
(e: 'beforeStateApply', params: ((event: { state: GridStateInfo }) => boolean|void)|string): boolean|void
|
|
2070
2001
|
/**
|
|
2071
2002
|
* Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
|
|
2072
2003
|
* @param {string} e Event name
|
|
2073
2004
|
* @param {object} params Event parameters
|
|
2074
|
-
* @param {
|
|
2075
|
-
* @param {
|
|
2076
|
-
* @param {object} params.params.event Event object
|
|
2077
|
-
* @param {GridStateInfo} params.params.event.state State object config
|
|
2005
|
+
* @param {object} params.event Event object
|
|
2006
|
+
* @param {GridStateInfo} params.event.state State object config
|
|
2078
2007
|
*/
|
|
2079
|
-
(e: 'beforeStateSave', params: ((event: { state: GridStateInfo }) =>
|
|
2008
|
+
(e: 'beforeStateSave', params: ((event: { state: GridStateInfo }) => boolean|void)|string): boolean|void
|
|
2080
2009
|
/**
|
|
2081
2010
|
* Fired when a group is going to be expanded or collapsed using the UI.
|
|
2082
2011
|
* Returning `false` from a listener prevents the operation
|
|
2083
2012
|
* @param {string} e Event name
|
|
2084
2013
|
* @param {object} params Event parameters
|
|
2085
|
-
* @param {
|
|
2086
|
-
* @param {
|
|
2087
|
-
* @param {
|
|
2088
|
-
* @param {
|
|
2089
|
-
* @param {
|
|
2090
|
-
* @param {boolean} params.params.event.collapse Collapsed (true) or expanded (false)
|
|
2091
|
-
* @param {Event} params.params.event.domEvent The user interaction event (eg a `click` event) if the toggle request was instigated by user interaction.
|
|
2014
|
+
* @param {object} params.event Event object
|
|
2015
|
+
* @param {Core.data.Model} params.event.groupRecord [DEPRECATED] Use `groupRecords` param instead
|
|
2016
|
+
* @param {Core.data.Model[]} params.event.groupRecords The group records being toggled
|
|
2017
|
+
* @param {boolean} params.event.collapse Collapsed (true) or expanded (false)
|
|
2018
|
+
* @param {Event} params.event.domEvent The user interaction event (eg a `click` event) if the toggle request was instigated by user interaction.
|
|
2092
2019
|
*/
|
|
2093
|
-
(e: 'beforeToggleGroup', params: ((event: { groupRecord: Model, groupRecords: Model[], collapse: boolean, domEvent: Event }) =>
|
|
2020
|
+
(e: 'beforeToggleGroup', params: ((event: { groupRecord: Model, groupRecords: Model[], collapse: boolean, domEvent: Event }) => boolean|void)|string): boolean|void
|
|
2094
2021
|
/**
|
|
2095
2022
|
* Fired before a parent node record toggles its collapsed state.
|
|
2096
2023
|
* @param {string} e Event name
|
|
2097
2024
|
* @param {object} params Event parameters
|
|
2098
|
-
* @param {
|
|
2099
|
-
* @param {
|
|
2100
|
-
* @param {
|
|
2101
|
-
* @param {
|
|
2102
|
-
* @param {Core.data.Model} params.params.event.record The record being toggled.
|
|
2103
|
-
* @param {boolean} params.params.event.collapse `true` if the node is being collapsed.
|
|
2025
|
+
* @param {object} params.event Event object
|
|
2026
|
+
* @param {Grid.view.Grid} params.event.source The firing Grid instance.
|
|
2027
|
+
* @param {Core.data.Model} params.event.record The record being toggled.
|
|
2028
|
+
* @param {boolean} params.event.collapse `true` if the node is being collapsed.
|
|
2104
2029
|
*/
|
|
2105
2030
|
(e: 'beforeToggleNode', params: ((event: { source: Grid, record: Model, collapse: boolean }) => void)|string): void
|
|
2106
2031
|
/**
|
|
2107
2032
|
* Fires on the owning Grid when editing is cancelled
|
|
2108
2033
|
* @param {string} e Event name
|
|
2109
2034
|
* @param {object} params Event parameters
|
|
2110
|
-
* @param {
|
|
2111
|
-
* @param {
|
|
2112
|
-
* @param {
|
|
2113
|
-
* @param {
|
|
2114
|
-
* @param {Grid.util.GridLocation} params.params.event.editorContext Editing context
|
|
2115
|
-
* @param {Event} params.params.event.event Included if the cancellation was triggered by a DOM event
|
|
2035
|
+
* @param {object} params.event Event object
|
|
2036
|
+
* @param {Grid.view.Grid} params.event.source Owner grid
|
|
2037
|
+
* @param {Grid.util.GridLocation} params.event.editorContext Editing context
|
|
2038
|
+
* @param {Event} params.event.event Included if the cancellation was triggered by a DOM event
|
|
2116
2039
|
*/
|
|
2117
2040
|
(e: 'cancelCellEdit', params: ((event: { source: Grid, editorContext: GridLocation, event: Event }) => void)|string): void
|
|
2118
2041
|
/**
|
|
@@ -2120,56 +2043,48 @@ const emit = defineEmits<{
|
|
|
2120
2043
|
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-catchAll)
|
|
2121
2044
|
* @param {string} e Event name
|
|
2122
2045
|
* @param {object} params Event parameters
|
|
2123
|
-
* @param {
|
|
2124
|
-
* @param {
|
|
2125
|
-
* @param {
|
|
2126
|
-
* @param {{[key: string]: any, type: string}} params.params.event.event The Object that contains event details
|
|
2127
|
-
* @param {string} params.params.event.event.type The type of the event which is caught by the listener
|
|
2046
|
+
* @param {object} params.event Event object
|
|
2047
|
+
* @param {{[key: string]: any, type: string}} params.event.event The Object that contains event details
|
|
2048
|
+
* @param {string} params.event.event.type The type of the event which is caught by the listener
|
|
2128
2049
|
*/
|
|
2129
2050
|
(e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void
|
|
2130
2051
|
/**
|
|
2131
2052
|
* Fired when user clicks in a grid cell
|
|
2132
2053
|
* @param {string} e Event name
|
|
2133
2054
|
* @param {object} params Event parameters
|
|
2134
|
-
* @param {
|
|
2135
|
-
* @param {
|
|
2136
|
-
* @param {
|
|
2137
|
-
* @param {Grid.
|
|
2138
|
-
* @param {
|
|
2139
|
-
* @param {
|
|
2140
|
-
* @param {
|
|
2141
|
-
* @param {HTMLElement} params.params.event.target The target element
|
|
2142
|
-
* @param {MouseEvent} params.params.event.event The native DOM event
|
|
2055
|
+
* @param {object} params.event Event object
|
|
2056
|
+
* @param {Grid.view.Grid} params.event.grid The grid instance
|
|
2057
|
+
* @param {Core.data.Model} params.event.record The record representing the row
|
|
2058
|
+
* @param {Grid.column.Column} params.event.column The column to which the cell belongs
|
|
2059
|
+
* @param {HTMLElement} params.event.cellElement The cell HTML element
|
|
2060
|
+
* @param {HTMLElement} params.event.target The target element
|
|
2061
|
+
* @param {MouseEvent} params.event.event The native DOM event
|
|
2143
2062
|
*/
|
|
2144
2063
|
(e: 'cellClick', params: ((event: { grid: Grid, record: Model, column: Column, cellElement: HTMLElement, target: HTMLElement, event: MouseEvent }) => void)|string): void
|
|
2145
2064
|
/**
|
|
2146
2065
|
* Fired when user activates contextmenu in a grid cell
|
|
2147
2066
|
* @param {string} e Event name
|
|
2148
2067
|
* @param {object} params Event parameters
|
|
2149
|
-
* @param {
|
|
2150
|
-
* @param {
|
|
2151
|
-
* @param {
|
|
2152
|
-
* @param {Grid.
|
|
2153
|
-
* @param {
|
|
2154
|
-
* @param {
|
|
2155
|
-
* @param {
|
|
2156
|
-
* @param {HTMLElement} params.params.event.target The target element
|
|
2157
|
-
* @param {MouseEvent} params.params.event.event The native DOM event
|
|
2068
|
+
* @param {object} params.event Event object
|
|
2069
|
+
* @param {Grid.view.Grid} params.event.grid The grid instance
|
|
2070
|
+
* @param {Core.data.Model} params.event.record The record representing the row
|
|
2071
|
+
* @param {Grid.column.Column} params.event.column The column to which the cell belongs
|
|
2072
|
+
* @param {HTMLElement} params.event.cellElement The cell HTML element
|
|
2073
|
+
* @param {HTMLElement} params.event.target The target element
|
|
2074
|
+
* @param {MouseEvent} params.event.event The native DOM event
|
|
2158
2075
|
*/
|
|
2159
2076
|
(e: 'cellContextMenu', params: ((event: { grid: Grid, record: Model, column: Column, cellElement: HTMLElement, target: HTMLElement, event: MouseEvent }) => void)|string): void
|
|
2160
2077
|
/**
|
|
2161
2078
|
* Fired when user double clicks a grid cell
|
|
2162
2079
|
* @param {string} e Event name
|
|
2163
2080
|
* @param {object} params Event parameters
|
|
2164
|
-
* @param {
|
|
2165
|
-
* @param {
|
|
2166
|
-
* @param {
|
|
2167
|
-
* @param {Grid.
|
|
2168
|
-
* @param {
|
|
2169
|
-
* @param {
|
|
2170
|
-
* @param {
|
|
2171
|
-
* @param {HTMLElement} params.params.event.target The target element
|
|
2172
|
-
* @param {MouseEvent} params.params.event.event The native DOM event
|
|
2081
|
+
* @param {object} params.event Event object
|
|
2082
|
+
* @param {Grid.view.Grid} params.event.grid The grid instance
|
|
2083
|
+
* @param {Core.data.Model} params.event.record The record representing the row
|
|
2084
|
+
* @param {Grid.column.Column} params.event.column The column to which the cell belongs
|
|
2085
|
+
* @param {HTMLElement} params.event.cellElement The cell HTML element
|
|
2086
|
+
* @param {HTMLElement} params.event.target The target element
|
|
2087
|
+
* @param {MouseEvent} params.event.event The native DOM event
|
|
2173
2088
|
*/
|
|
2174
2089
|
(e: 'cellDblClick', params: ((event: { grid: Grid, record: Model, column: Column, cellElement: HTMLElement, target: HTMLElement, event: MouseEvent }) => void)|string): void
|
|
2175
2090
|
/**
|
|
@@ -2178,148 +2093,126 @@ const emit = defineEmits<{
|
|
|
2178
2093
|
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-cellMenuBeforeShow)
|
|
2179
2094
|
* @param {string} e Event name
|
|
2180
2095
|
* @param {object} params Event parameters
|
|
2181
|
-
* @param {
|
|
2182
|
-
* @param {
|
|
2183
|
-
* @param {
|
|
2184
|
-
* @param {
|
|
2185
|
-
* @param {
|
|
2186
|
-
* @param {
|
|
2187
|
-
* @param {Grid.column.Column} params.params.event.column Column
|
|
2188
|
-
* @param {Core.data.Model} params.params.event.record Record
|
|
2096
|
+
* @param {object} params.event Event object
|
|
2097
|
+
* @param {Grid.view.Grid} params.event.source The grid
|
|
2098
|
+
* @param {Core.widget.Menu} params.event.menu The menu
|
|
2099
|
+
* @param {Record<string, MenuItemEntry>} params.event.items Menu item configs
|
|
2100
|
+
* @param {Grid.column.Column} params.event.column Column
|
|
2101
|
+
* @param {Core.data.Model} params.event.record Record
|
|
2189
2102
|
*/
|
|
2190
|
-
(e: 'cellMenuBeforeShow', params: ((event: { source: Grid, menu: Menu, items: Record<string, MenuItemEntry>, column: Column, record: Model }) =>
|
|
2103
|
+
(e: 'cellMenuBeforeShow', params: ((event: { source: Grid, menu: Menu, items: Record<string, MenuItemEntry>, column: Column, record: Model }) => boolean|void)|string): boolean|void
|
|
2191
2104
|
/**
|
|
2192
2105
|
* This event fires on the owning grid when an item is selected in the cell context menu.
|
|
2193
2106
|
* @param {string} e Event name
|
|
2194
2107
|
* @param {object} params Event parameters
|
|
2195
|
-
* @param {
|
|
2196
|
-
* @param {
|
|
2197
|
-
* @param {
|
|
2198
|
-
* @param {
|
|
2199
|
-
* @param {
|
|
2200
|
-
* @param {Core.
|
|
2201
|
-
* @param {Grid.column.Column} params.params.event.column Column
|
|
2202
|
-
* @param {Core.data.Model} params.params.event.record Record
|
|
2108
|
+
* @param {object} params.event Event object
|
|
2109
|
+
* @param {Grid.view.Grid} params.event.source The grid
|
|
2110
|
+
* @param {Core.widget.Menu} params.event.menu The menu
|
|
2111
|
+
* @param {Core.widget.MenuItem} params.event.item Selected menu item
|
|
2112
|
+
* @param {Grid.column.Column} params.event.column Column
|
|
2113
|
+
* @param {Core.data.Model} params.event.record Record
|
|
2203
2114
|
*/
|
|
2204
2115
|
(e: 'cellMenuItem', params: ((event: { source: Grid, menu: Menu, item: MenuItem, column: Column, record: Model }) => void)|string): void
|
|
2205
2116
|
/**
|
|
2206
2117
|
* This event fires on the owning grid after the context menu is shown for a cell.
|
|
2207
2118
|
* @param {string} e Event name
|
|
2208
2119
|
* @param {object} params Event parameters
|
|
2209
|
-
* @param {
|
|
2210
|
-
* @param {
|
|
2211
|
-
* @param {
|
|
2212
|
-
* @param {
|
|
2213
|
-
* @param {
|
|
2214
|
-
* @param {
|
|
2215
|
-
* @param {Grid.column.Column} params.params.event.column Column
|
|
2216
|
-
* @param {Core.data.Model} params.params.event.record Record
|
|
2120
|
+
* @param {object} params.event Event object
|
|
2121
|
+
* @param {Grid.view.Grid} params.event.source The grid
|
|
2122
|
+
* @param {Core.widget.Menu} params.event.menu The menu
|
|
2123
|
+
* @param {Record<string, MenuItemEntry>} params.event.items Menu item configs
|
|
2124
|
+
* @param {Grid.column.Column} params.event.column Column
|
|
2125
|
+
* @param {Core.data.Model} params.event.record Record
|
|
2217
2126
|
*/
|
|
2218
2127
|
(e: 'cellMenuShow', params: ((event: { source: Grid, menu: Menu, items: Record<string, MenuItemEntry>, column: Column, record: Model }) => void)|string): void
|
|
2219
2128
|
/**
|
|
2220
2129
|
* This event fires on the owning grid when a check item is toggled in the cell context menu.
|
|
2221
2130
|
* @param {string} e Event name
|
|
2222
2131
|
* @param {object} params Event parameters
|
|
2223
|
-
* @param {
|
|
2224
|
-
* @param {
|
|
2225
|
-
* @param {
|
|
2226
|
-
* @param {
|
|
2227
|
-
* @param {
|
|
2228
|
-
* @param {Core.
|
|
2229
|
-
* @param {
|
|
2230
|
-
* @param {Core.data.Model} params.params.event.record Record
|
|
2231
|
-
* @param {boolean} params.params.event.checked Checked or not
|
|
2132
|
+
* @param {object} params.event Event object
|
|
2133
|
+
* @param {Grid.view.Grid} params.event.source The grid
|
|
2134
|
+
* @param {Core.widget.Menu} params.event.menu The menu
|
|
2135
|
+
* @param {Core.widget.MenuItem} params.event.item Selected menu item
|
|
2136
|
+
* @param {Grid.column.Column} params.event.column Column
|
|
2137
|
+
* @param {Core.data.Model} params.event.record Record
|
|
2138
|
+
* @param {boolean} params.event.checked Checked or not
|
|
2232
2139
|
*/
|
|
2233
2140
|
(e: 'cellMenuToggleItem', params: ((event: { source: Grid, menu: Menu, item: MenuItem, column: Column, record: Model, checked: boolean }) => void)|string): void
|
|
2234
2141
|
/**
|
|
2235
2142
|
* Fired when the mouse enters a cell
|
|
2236
2143
|
* @param {string} e Event name
|
|
2237
2144
|
* @param {object} params Event parameters
|
|
2238
|
-
* @param {
|
|
2239
|
-
* @param {
|
|
2240
|
-
* @param {
|
|
2241
|
-
* @param {Grid.
|
|
2242
|
-
* @param {
|
|
2243
|
-
* @param {
|
|
2244
|
-
* @param {HTMLElement} params.params.event.cellElement The cell HTML element
|
|
2245
|
-
* @param {MouseEvent} params.params.event.event The native DOM event
|
|
2145
|
+
* @param {object} params.event Event object
|
|
2146
|
+
* @param {Grid.view.Grid} params.event.source The grid instance
|
|
2147
|
+
* @param {Core.data.Model} params.event.record The record representing the hovered cell
|
|
2148
|
+
* @param {Grid.column.Column} params.event.column The column currently hovered
|
|
2149
|
+
* @param {HTMLElement} params.event.cellElement The cell HTML element
|
|
2150
|
+
* @param {MouseEvent} params.event.event The native DOM event
|
|
2246
2151
|
*/
|
|
2247
2152
|
(e: 'cellMouseEnter', params: ((event: { source: Grid, record: Model, column: Column, cellElement: HTMLElement, event: MouseEvent }) => void)|string): void
|
|
2248
2153
|
/**
|
|
2249
2154
|
* Fired when the mouse leaves a cell
|
|
2250
2155
|
* @param {string} e Event name
|
|
2251
2156
|
* @param {object} params Event parameters
|
|
2252
|
-
* @param {
|
|
2253
|
-
* @param {
|
|
2254
|
-
* @param {
|
|
2255
|
-
* @param {Grid.
|
|
2256
|
-
* @param {
|
|
2257
|
-
* @param {
|
|
2258
|
-
* @param {HTMLElement} params.params.event.cellElement The cell HTML element that the mouse left
|
|
2259
|
-
* @param {MouseEvent} params.params.event.event The native DOM event
|
|
2157
|
+
* @param {object} params.event Event object
|
|
2158
|
+
* @param {Grid.view.Grid} params.event.source The grid instance
|
|
2159
|
+
* @param {Core.data.Model} params.event.record The record representing the cell that the mouse left
|
|
2160
|
+
* @param {Grid.column.Column} params.event.column The column representing the cell that the mouse left
|
|
2161
|
+
* @param {HTMLElement} params.event.cellElement The cell HTML element that the mouse left
|
|
2162
|
+
* @param {MouseEvent} params.event.event The native DOM event
|
|
2260
2163
|
*/
|
|
2261
2164
|
(e: 'cellMouseLeave', params: ((event: { source: Grid, record: Model, column: Column, cellElement: HTMLElement, event: MouseEvent }) => void)|string): void
|
|
2262
2165
|
/**
|
|
2263
2166
|
* Fired when a user moves the mouse out of a grid cell
|
|
2264
2167
|
* @param {string} e Event name
|
|
2265
2168
|
* @param {object} params Event parameters
|
|
2266
|
-
* @param {
|
|
2267
|
-
* @param {
|
|
2268
|
-
* @param {
|
|
2269
|
-
* @param {Grid.
|
|
2270
|
-
* @param {
|
|
2271
|
-
* @param {
|
|
2272
|
-
* @param {
|
|
2273
|
-
* @param {HTMLElement} params.params.event.target The target element
|
|
2274
|
-
* @param {MouseEvent} params.params.event.event The native DOM event
|
|
2169
|
+
* @param {object} params.event Event object
|
|
2170
|
+
* @param {Grid.view.Grid} params.event.grid The grid instance
|
|
2171
|
+
* @param {Core.data.Model} params.event.record The record representing the row
|
|
2172
|
+
* @param {Grid.column.Column} params.event.column The column to which the cell belongs
|
|
2173
|
+
* @param {HTMLElement} params.event.cellElement The cell HTML element
|
|
2174
|
+
* @param {HTMLElement} params.event.target The target element
|
|
2175
|
+
* @param {MouseEvent} params.event.event The native DOM event
|
|
2275
2176
|
*/
|
|
2276
2177
|
(e: 'cellMouseOut', params: ((event: { grid: Grid, record: Model, column: Column, cellElement: HTMLElement, target: HTMLElement, event: MouseEvent }) => void)|string): void
|
|
2277
2178
|
/**
|
|
2278
2179
|
* Fired when user moves the mouse over a grid cell
|
|
2279
2180
|
* @param {string} e Event name
|
|
2280
2181
|
* @param {object} params Event parameters
|
|
2281
|
-
* @param {
|
|
2282
|
-
* @param {
|
|
2283
|
-
* @param {
|
|
2284
|
-
* @param {Grid.
|
|
2285
|
-
* @param {
|
|
2286
|
-
* @param {
|
|
2287
|
-
* @param {
|
|
2288
|
-
* @param {HTMLElement} params.params.event.target The target element
|
|
2289
|
-
* @param {MouseEvent} params.params.event.event The native DOM event
|
|
2182
|
+
* @param {object} params.event Event object
|
|
2183
|
+
* @param {Grid.view.Grid} params.event.grid The grid instance
|
|
2184
|
+
* @param {Core.data.Model} params.event.record The record representing the row
|
|
2185
|
+
* @param {Grid.column.Column} params.event.column The column to which the cell belongs
|
|
2186
|
+
* @param {HTMLElement} params.event.cellElement The cell HTML element
|
|
2187
|
+
* @param {HTMLElement} params.event.target The target element
|
|
2188
|
+
* @param {MouseEvent} params.event.event The native DOM event
|
|
2290
2189
|
*/
|
|
2291
2190
|
(e: 'cellMouseOver', params: ((event: { grid: Grid, record: Model, column: Column, cellElement: HTMLElement, target: HTMLElement, event: MouseEvent }) => void)|string): void
|
|
2292
2191
|
/**
|
|
2293
2192
|
* Fires when a Panel is collapsed using the [collapsible](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-collapsible) setting.
|
|
2294
2193
|
* @param {string} e Event name
|
|
2295
2194
|
* @param {object} params Event parameters
|
|
2296
|
-
* @param {
|
|
2297
|
-
* @param {
|
|
2298
|
-
* @param {object} params.params.event Event object
|
|
2299
|
-
* @param {Core.widget.Panel} params.params.event.source This Panel.
|
|
2195
|
+
* @param {object} params.event Event object
|
|
2196
|
+
* @param {Core.widget.Panel} params.event.source This Panel.
|
|
2300
2197
|
*/
|
|
2301
2198
|
(e: 'collapse', params: ((event: { source: Panel }) => void)|string): void
|
|
2302
2199
|
/**
|
|
2303
2200
|
* Fired before a parent node record is collapsed.
|
|
2304
2201
|
* @param {string} e Event name
|
|
2305
2202
|
* @param {object} params Event parameters
|
|
2306
|
-
* @param {
|
|
2307
|
-
* @param {
|
|
2308
|
-
* @param {
|
|
2309
|
-
* @param {Grid.view.Grid} params.params.event.source The firing Grid instance.
|
|
2310
|
-
* @param {Core.data.Model} params.params.event.record The record which has been collapsed.
|
|
2203
|
+
* @param {object} params.event Event object
|
|
2204
|
+
* @param {Grid.view.Grid} params.event.source The firing Grid instance.
|
|
2205
|
+
* @param {Core.data.Model} params.event.record The record which has been collapsed.
|
|
2311
2206
|
*/
|
|
2312
2207
|
(e: 'collapseNode', params: ((event: { source: Grid, record: Model }) => void)|string): void
|
|
2313
2208
|
/**
|
|
2314
2209
|
* This event is triggered after a parent column has been collapsed or expanded.
|
|
2315
2210
|
* @param {string} e Event name
|
|
2316
2211
|
* @param {object} params Event parameters
|
|
2317
|
-
* @param {
|
|
2318
|
-
* @param {
|
|
2319
|
-
* @param {
|
|
2320
|
-
* @param {
|
|
2321
|
-
* @param {Grid.column.Column} params.params.event.column The column being toggled
|
|
2322
|
-
* @param {boolean} params.params.event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
2212
|
+
* @param {object} params.event Event object
|
|
2213
|
+
* @param {Grid.view.GridBase} params.event.source The Grid instance
|
|
2214
|
+
* @param {Grid.column.Column} params.event.column The column being toggled
|
|
2215
|
+
* @param {boolean} params.event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
2323
2216
|
*/
|
|
2324
2217
|
(e: 'columnCollapseToggle', params: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string): void
|
|
2325
2218
|
/**
|
|
@@ -2327,27 +2220,23 @@ const emit = defineEmits<{
|
|
|
2327
2220
|
* to indicate whether the drop position is valid or not.
|
|
2328
2221
|
* @param {string} e Event name
|
|
2329
2222
|
* @param {object} params Event parameters
|
|
2330
|
-
* @param {
|
|
2331
|
-
* @param {
|
|
2332
|
-
* @param {
|
|
2333
|
-
* @param {Grid.
|
|
2334
|
-
* @param {
|
|
2335
|
-
* @param {
|
|
2336
|
-
* @param {
|
|
2337
|
-
* @param {object} params.params.event.context
|
|
2338
|
-
* @param {boolean} params.params.event.context.valid Set this to `true` or `false` to indicate whether the drop position is valid.
|
|
2223
|
+
* @param {object} params.event Event object
|
|
2224
|
+
* @param {Grid.view.Grid} params.event.source The grid instance.
|
|
2225
|
+
* @param {Grid.column.Column} params.event.column The dragged column.
|
|
2226
|
+
* @param {Grid.column.Column} params.event.insertBefore The column before which the dragged column will be inserted (if not last).
|
|
2227
|
+
* @param {Event} params.event.event The browser event.
|
|
2228
|
+
* @param {object} params.event.context
|
|
2229
|
+
* @param {boolean} params.event.context.valid Set this to `true` or `false` to indicate whether the drop position is valid.
|
|
2339
2230
|
*/
|
|
2340
2231
|
(e: 'columnDrag', params: ((event: { source: Grid, column: Column, insertBefore: Column, event: Event, context: { valid: boolean } }) => void)|string): void
|
|
2341
2232
|
/**
|
|
2342
2233
|
* This event is fired when a column drag gesture has started.
|
|
2343
2234
|
* @param {string} e Event name
|
|
2344
2235
|
* @param {object} params Event parameters
|
|
2345
|
-
* @param {
|
|
2346
|
-
* @param {
|
|
2347
|
-
* @param {
|
|
2348
|
-
* @param {
|
|
2349
|
-
* @param {Grid.column.Column} params.params.event.column The dragged column.
|
|
2350
|
-
* @param {Event} params.params.event.event The browser event.
|
|
2236
|
+
* @param {object} params.event Event object
|
|
2237
|
+
* @param {Grid.view.Grid} params.event.source The grid instance.
|
|
2238
|
+
* @param {Grid.column.Column} params.event.column The dragged column.
|
|
2239
|
+
* @param {Event} params.event.event The browser event.
|
|
2351
2240
|
*/
|
|
2352
2241
|
(e: 'columnDragStart', params: ((event: { source: Grid, column: Column, event: Event }) => void)|string): void
|
|
2353
2242
|
/**
|
|
@@ -2355,103 +2244,87 @@ const emit = defineEmits<{
|
|
|
2355
2244
|
* vetoed and the column was moved in the column store.
|
|
2356
2245
|
* @param {string} e Event name
|
|
2357
2246
|
* @param {object} params Event parameters
|
|
2358
|
-
* @param {
|
|
2359
|
-
* @param {
|
|
2360
|
-
* @param {
|
|
2361
|
-
* @param {Grid.
|
|
2362
|
-
* @param {Grid.column.Column} params.
|
|
2363
|
-
* @param {
|
|
2364
|
-
* @param {
|
|
2365
|
-
* @param {
|
|
2366
|
-
* @param {Event} params.params.event.event The browser event.
|
|
2367
|
-
* @param {string} params.params.event.region The region where the column was dropped.
|
|
2247
|
+
* @param {object} params.event Event object
|
|
2248
|
+
* @param {Grid.view.Grid} params.event.source The grid instance.
|
|
2249
|
+
* @param {Grid.column.Column} params.event.column The dragged column.
|
|
2250
|
+
* @param {Grid.column.Column} params.event.insertBefore The column before which the dragged column will be inserted.
|
|
2251
|
+
* @param {Grid.column.Column} params.event.newParent The new parent column.
|
|
2252
|
+
* @param {boolean} params.event.valid `true` if the operation was not vetoed.
|
|
2253
|
+
* @param {Event} params.event.event The browser event.
|
|
2254
|
+
* @param {string} params.event.region The region where the column was dropped.
|
|
2368
2255
|
*/
|
|
2369
|
-
(e: 'columnDrop', params: ((event: { source: Grid, column: Column, insertBefore: Column, newParent: Column, valid: boolean, event: Event, region: string }) =>
|
|
2256
|
+
(e: 'columnDrop', params: ((event: { source: Grid, column: Column, insertBefore: Column, newParent: Column, valid: boolean, event: Event, region: string }) => boolean|void)|string): boolean|void
|
|
2370
2257
|
/**
|
|
2371
2258
|
* This event is fired after a resize gesture is completed.
|
|
2372
2259
|
* @param {string} e Event name
|
|
2373
2260
|
* @param {object} params Event parameters
|
|
2374
|
-
* @param {
|
|
2375
|
-
* @param {
|
|
2376
|
-
* @param {
|
|
2377
|
-
* @param {
|
|
2378
|
-
* @param {Grid.column.Column} params.params.event.column The resized column
|
|
2379
|
-
* @param {Event} params.params.event.domEvent The browser event
|
|
2261
|
+
* @param {object} params.event Event object
|
|
2262
|
+
* @param {Grid.view.Grid} params.event.source The grid instance
|
|
2263
|
+
* @param {Grid.column.Column} params.event.column The resized column
|
|
2264
|
+
* @param {Event} params.event.domEvent The browser event
|
|
2380
2265
|
*/
|
|
2381
2266
|
(e: 'columnResize', params: ((event: { source: Grid, column: Column, domEvent: Event }) => void)|string): void
|
|
2382
2267
|
/**
|
|
2383
2268
|
* This event is fired when a column resize gesture starts.
|
|
2384
2269
|
* @param {string} e Event name
|
|
2385
2270
|
* @param {object} params Event parameters
|
|
2386
|
-
* @param {
|
|
2387
|
-
* @param {
|
|
2388
|
-
* @param {
|
|
2389
|
-
* @param {
|
|
2390
|
-
* @param {Grid.column.Column} params.params.event.column The column
|
|
2391
|
-
* @param {Event} params.params.event.domEvent The browser event
|
|
2271
|
+
* @param {object} params.event Event object
|
|
2272
|
+
* @param {Grid.view.Grid} params.event.source The grid instance
|
|
2273
|
+
* @param {Grid.column.Column} params.event.column The column
|
|
2274
|
+
* @param {Event} params.event.domEvent The browser event
|
|
2392
2275
|
*/
|
|
2393
2276
|
(e: 'columnResizeStart', params: ((event: { source: Grid, column: Column, domEvent: Event }) => void)|string): void
|
|
2394
2277
|
/**
|
|
2395
2278
|
* This event fires on the owning widget when an item is selected in the context menu.
|
|
2396
2279
|
* @param {string} e Event name
|
|
2397
2280
|
* @param {object} params Event parameters
|
|
2398
|
-
* @param {
|
|
2399
|
-
* @param {
|
|
2400
|
-
* @param {
|
|
2401
|
-
* @param {Core.widget.
|
|
2402
|
-
* @param {Core.widget.Menu} params.params.event.menu The menu
|
|
2403
|
-
* @param {Core.widget.MenuItem} params.params.event.item Selected menu item
|
|
2281
|
+
* @param {object} params.event Event object
|
|
2282
|
+
* @param {Core.widget.Widget} params.event.source The owning widget
|
|
2283
|
+
* @param {Core.widget.Menu} params.event.menu The menu
|
|
2284
|
+
* @param {Core.widget.MenuItem} params.event.item Selected menu item
|
|
2404
2285
|
*/
|
|
2405
2286
|
(e: 'contextMenuItem', params: ((event: { source: Widget, menu: Menu, item: MenuItem }) => void)|string): void
|
|
2406
2287
|
/**
|
|
2407
2288
|
* This event fires on the owning widget when a check item is toggled in the context menu.
|
|
2408
2289
|
* @param {string} e Event name
|
|
2409
2290
|
* @param {object} params Event parameters
|
|
2410
|
-
* @param {
|
|
2411
|
-
* @param {
|
|
2412
|
-
* @param {
|
|
2413
|
-
* @param {Core.widget.
|
|
2414
|
-
* @param {
|
|
2415
|
-
* @param {Core.widget.MenuItem} params.params.event.item Selected menu item
|
|
2416
|
-
* @param {boolean} params.params.event.checked Checked or not
|
|
2291
|
+
* @param {object} params.event Event object
|
|
2292
|
+
* @param {Core.widget.Widget} params.event.source The owning widget
|
|
2293
|
+
* @param {Core.widget.Menu} params.event.menu The menu
|
|
2294
|
+
* @param {Core.widget.MenuItem} params.event.item Selected menu item
|
|
2295
|
+
* @param {boolean} params.event.checked Checked or not
|
|
2417
2296
|
*/
|
|
2418
2297
|
(e: 'contextMenuToggleItem', params: ((event: { source: Widget, menu: Menu, item: MenuItem, checked: boolean }) => void)|string): void
|
|
2419
2298
|
/**
|
|
2420
2299
|
* Fires on the owning Grid after a copy action is performed.
|
|
2421
2300
|
* @param {string} e Event name
|
|
2422
2301
|
* @param {object} params Event parameters
|
|
2423
|
-
* @param {
|
|
2424
|
-
* @param {
|
|
2425
|
-
* @param {
|
|
2426
|
-
* @param {
|
|
2427
|
-
* @param {
|
|
2428
|
-
* @param {string} params.
|
|
2429
|
-
* @param {boolean} params.params.event.isCut `true` if this was a cut action
|
|
2430
|
-
* @param {string} params.params.event.entityName 'cell' to distinguish this event from other copy events
|
|
2302
|
+
* @param {object} params.event Event object
|
|
2303
|
+
* @param {Grid.view.Grid} params.event.source Owner grid
|
|
2304
|
+
* @param {Grid.util.GridLocation[]} params.event.cells The cells about to be copied or cut
|
|
2305
|
+
* @param {string} params.event.copiedDataString The concatenated data string that was copied or cut
|
|
2306
|
+
* @param {boolean} params.event.isCut `true` if this was a cut action
|
|
2307
|
+
* @param {string} params.event.entityName 'cell' to distinguish this event from other copy events
|
|
2431
2308
|
*/
|
|
2432
2309
|
(e: 'copy', params: ((event: { source: Grid, cells: GridLocation[], copiedDataString: string, isCut: boolean, entityName: string }) => void)|string): void
|
|
2433
2310
|
/**
|
|
2434
2311
|
* Fires on the owning view after a copy action is performed.
|
|
2435
2312
|
* @param {string} e Event name
|
|
2436
2313
|
* @param {object} params Event parameters
|
|
2437
|
-
* @param {
|
|
2438
|
-
* @param {
|
|
2439
|
-
* @param {
|
|
2440
|
-
* @param {
|
|
2441
|
-
* @param {
|
|
2442
|
-
* @param {string} params.params.event.copiedDataString The concatenated data string that was copied or cut
|
|
2443
|
-
* @param {boolean} params.params.event.isCut `true` if this was a cut action
|
|
2314
|
+
* @param {object} params.event Event object
|
|
2315
|
+
* @param {SchedulerPro.view.ResourceUtilization} params.event.source Owner view
|
|
2316
|
+
* @param {Scheduler.util.TimelineContext[]} params.event.cells The cells about to be copied or cut
|
|
2317
|
+
* @param {string} params.event.copiedDataString The concatenated data string that was copied or cut
|
|
2318
|
+
* @param {boolean} params.event.isCut `true` if this was a cut action
|
|
2444
2319
|
*/
|
|
2445
2320
|
(e: 'copyTimelineCells', params: ((event: { source: ResourceUtilization, cells: TimelineContext[], copiedDataString: string, isCut: boolean }) => void)|string): void
|
|
2446
2321
|
/**
|
|
2447
2322
|
* Fires on the owning Scheduler/Gantt when the line indicating the current time is updated (see [currentTimeLineUpdateInterval](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/TimeRanges#config-currentTimeLineUpdateInterval)).
|
|
2448
2323
|
* @param {string} e Event name
|
|
2449
2324
|
* @param {object} params Event parameters
|
|
2450
|
-
* @param {
|
|
2451
|
-
* @param {
|
|
2452
|
-
* @param {
|
|
2453
|
-
* @param {Scheduler.view.Scheduler} params.params.event.source The scheduler
|
|
2454
|
-
* @param {Date} params.params.event.date The current date
|
|
2325
|
+
* @param {object} params.event Event object
|
|
2326
|
+
* @param {Scheduler.view.Scheduler} params.event.source The scheduler
|
|
2327
|
+
* @param {Date} params.event.date The current date
|
|
2455
2328
|
*/
|
|
2456
2329
|
(e: 'currentTimelineUpdate', params: ((event: { source: Scheduler, date: Date }) => void)|string): void
|
|
2457
2330
|
/**
|
|
@@ -2459,15 +2332,13 @@ const emit = defineEmits<{
|
|
|
2459
2332
|
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-dataChange)
|
|
2460
2333
|
* @param {string} e Event name
|
|
2461
2334
|
* @param {object} params Event parameters
|
|
2462
|
-
* @param {
|
|
2463
|
-
* @param {
|
|
2464
|
-
* @param {
|
|
2465
|
-
* @param {
|
|
2466
|
-
* @param {Core.data.
|
|
2467
|
-
* @param {
|
|
2468
|
-
* @param {
|
|
2469
|
-
* @param {Core.data.Model[]} params.params.event.records Changed records, passed for all actions except `'removeAll'`
|
|
2470
|
-
* @param {object} params.params.event.changes Passed for the `'update'` action, info on which record fields changed
|
|
2335
|
+
* @param {object} params.event Event object
|
|
2336
|
+
* @param {Grid.view.GridBase} params.event.source Owning grid
|
|
2337
|
+
* @param {Core.data.Store} params.event.store The originating store
|
|
2338
|
+
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} params.event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
2339
|
+
* @param {Core.data.Model} params.event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
2340
|
+
* @param {Core.data.Model[]} params.event.records Changed records, passed for all actions except `'removeAll'`
|
|
2341
|
+
* @param {object} params.event.changes Passed for the `'update'` action, info on which record fields changed
|
|
2471
2342
|
*/
|
|
2472
2343
|
(e: 'dataChange', params: ((event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string): void
|
|
2473
2344
|
/**
|
|
@@ -2477,37 +2348,31 @@ const emit = defineEmits<{
|
|
|
2477
2348
|
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-dateRangeChange)
|
|
2478
2349
|
* @param {string} e Event name
|
|
2479
2350
|
* @param {object} params Event parameters
|
|
2480
|
-
* @param {
|
|
2481
|
-
* @param {
|
|
2482
|
-
* @param {object} params.
|
|
2483
|
-
* @param {
|
|
2484
|
-
* @param {
|
|
2485
|
-
* @param {
|
|
2486
|
-
* @param {Date} params.
|
|
2487
|
-
* @param {
|
|
2488
|
-
* @param {Date} params.params.event.new.startDate the new start date.
|
|
2489
|
-
* @param {Date} params.params.event.new.endDate the new end date.
|
|
2351
|
+
* @param {object} params.event Event object
|
|
2352
|
+
* @param {Scheduler.view.TimelineBase} params.event.source This Scheduler/Gantt instance.
|
|
2353
|
+
* @param {object} params.event.old The old date range
|
|
2354
|
+
* @param {Date} params.event.old.startDate the old start date.
|
|
2355
|
+
* @param {Date} params.event.old.endDate the old end date.
|
|
2356
|
+
* @param {object} params.event.new The new date range
|
|
2357
|
+
* @param {Date} params.event.new.startDate the new start date.
|
|
2358
|
+
* @param {Date} params.event.new.endDate the new end date.
|
|
2490
2359
|
*/
|
|
2491
2360
|
(e: 'dateRangeChange', params: ((event: { source: TimelineBase, old: { startDate: Date, endDate: Date }, new: { startDate: Date, endDate: Date } }) => void)|string): void
|
|
2492
2361
|
/**
|
|
2493
2362
|
* Fires when an object is destroyed.
|
|
2494
2363
|
* @param {string} e Event name
|
|
2495
2364
|
* @param {object} params Event parameters
|
|
2496
|
-
* @param {
|
|
2497
|
-
* @param {
|
|
2498
|
-
* @param {object} params.params.event Event object
|
|
2499
|
-
* @param {Core.Base} params.params.event.source The Object that is being destroyed.
|
|
2365
|
+
* @param {object} params.event Event object
|
|
2366
|
+
* @param {Core.Base} params.event.source The Object that is being destroyed.
|
|
2500
2367
|
*/
|
|
2501
2368
|
(e: 'destroy', params: ((event: { source: Base }) => void)|string): void
|
|
2502
2369
|
/**
|
|
2503
2370
|
* Fires when a field is mutated and the state of the [hasChanges](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#property-hasChanges) property changes
|
|
2504
2371
|
* @param {string} e Event name
|
|
2505
2372
|
* @param {object} params Event parameters
|
|
2506
|
-
* @param {
|
|
2507
|
-
* @param {
|
|
2508
|
-
* @param {
|
|
2509
|
-
* @param {Core.widget.Container} params.params.event.source The container.
|
|
2510
|
-
* @param {boolean} params.params.event.dirty The dirty state of the Container - `true` if there are any fields which have been changed since initial load.
|
|
2373
|
+
* @param {object} params.event Event object
|
|
2374
|
+
* @param {Core.widget.Container} params.event.source The container.
|
|
2375
|
+
* @param {boolean} params.event.dirty The dirty state of the Container - `true` if there are any fields which have been changed since initial load.
|
|
2511
2376
|
*/
|
|
2512
2377
|
(e: 'dirtyStateChange', params: ((event: { source: Container, dirty: boolean }) => void)|string): void
|
|
2513
2378
|
/**
|
|
@@ -2515,55 +2380,45 @@ const emit = defineEmits<{
|
|
|
2515
2380
|
* mouse up. This event can be listened for to perform actions while drag selecting.
|
|
2516
2381
|
* @param {string} e Event name
|
|
2517
2382
|
* @param {object} params Event parameters
|
|
2518
|
-
* @param {
|
|
2519
|
-
* @param {
|
|
2520
|
-
* @param {
|
|
2521
|
-
* @param {
|
|
2522
|
-
* @param {GridLocationConfig[],Grid.util.GridLocation[]} params.params.event.selectedCells The cells that is currently being dragged over
|
|
2523
|
-
* @param {Core.data.Model[]} params.params.event.selectedRecords The records that is currently being dragged over
|
|
2383
|
+
* @param {object} params.event Event object
|
|
2384
|
+
* @param {Grid.view.Grid} params.event.source
|
|
2385
|
+
* @param {GridLocationConfig[],Grid.util.GridLocation[]} params.event.selectedCells The cells that is currently being dragged over
|
|
2386
|
+
* @param {Core.data.Model[]} params.event.selectedRecords The records that is currently being dragged over
|
|
2524
2387
|
*/
|
|
2525
2388
|
(e: 'dragSelecting', params: ((event: { source: Grid, selectedCells: GridLocationConfig[]|GridLocation[], selectedRecords: Model[] }) => void)|string): void
|
|
2526
2389
|
/**
|
|
2527
2390
|
* Triggered when a widget's [element](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-element) is available.
|
|
2528
2391
|
* @param {string} e Event name
|
|
2529
2392
|
* @param {object} params Event parameters
|
|
2530
|
-
* @param {
|
|
2531
|
-
* @param {
|
|
2532
|
-
* @param {object} params.params.event Event object
|
|
2533
|
-
* @param {HTMLElement} params.params.event.element The Widget's element.
|
|
2393
|
+
* @param {object} params.event Event object
|
|
2394
|
+
* @param {HTMLElement} params.event.element The Widget's element.
|
|
2534
2395
|
*/
|
|
2535
2396
|
(e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void
|
|
2536
2397
|
/**
|
|
2537
2398
|
* Fires when a Panel is expanded using the [collapsible](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-collapsible) setting.
|
|
2538
2399
|
* @param {string} e Event name
|
|
2539
2400
|
* @param {object} params Event parameters
|
|
2540
|
-
* @param {
|
|
2541
|
-
* @param {
|
|
2542
|
-
* @param {object} params.params.event Event object
|
|
2543
|
-
* @param {Core.widget.Panel} params.params.event.source This Panel.
|
|
2401
|
+
* @param {object} params.event Event object
|
|
2402
|
+
* @param {Core.widget.Panel} params.event.source This Panel.
|
|
2544
2403
|
*/
|
|
2545
2404
|
(e: 'expand', params: ((event: { source: Panel }) => void)|string): void
|
|
2546
2405
|
/**
|
|
2547
2406
|
* Fired after a parent node record is expanded.
|
|
2548
2407
|
* @param {string} e Event name
|
|
2549
2408
|
* @param {object} params Event parameters
|
|
2550
|
-
* @param {
|
|
2551
|
-
* @param {
|
|
2552
|
-
* @param {
|
|
2553
|
-
* @param {Grid.view.Grid} params.params.event.source The firing Grid instance.
|
|
2554
|
-
* @param {Core.data.Model} params.params.event.record The record which has been expanded.
|
|
2409
|
+
* @param {object} params.event Event object
|
|
2410
|
+
* @param {Grid.view.Grid} params.event.source The firing Grid instance.
|
|
2411
|
+
* @param {Core.data.Model} params.event.record The record which has been expanded.
|
|
2555
2412
|
*/
|
|
2556
2413
|
(e: 'expandNode', params: ((event: { source: Grid, record: Model }) => void)|string): void
|
|
2557
2414
|
/**
|
|
2558
2415
|
* Fired when a file is dropped on the widget element
|
|
2559
2416
|
* @param {string} e Event name
|
|
2560
2417
|
* @param {object} params Event parameters
|
|
2561
|
-
* @param {
|
|
2562
|
-
* @param {
|
|
2563
|
-
* @param {
|
|
2564
|
-
* @param {
|
|
2565
|
-
* @param {DataTransferItem} params.params.event.file The dropped file descriptor
|
|
2566
|
-
* @param {DragEvent} params.params.event.domEvent The native DragEvent
|
|
2418
|
+
* @param {object} params.event Event object
|
|
2419
|
+
* @param {Grid.view.Grid} params.event.source The owning Grid instance
|
|
2420
|
+
* @param {DataTransferItem} params.event.file The dropped file descriptor
|
|
2421
|
+
* @param {DragEvent} params.event.domEvent The native DragEvent
|
|
2567
2422
|
*/
|
|
2568
2423
|
(e: 'fileDrop', params: ((event: { source: Grid, file: DataTransferItem, domEvent: DragEvent }) => void)|string): void
|
|
2569
2424
|
/**
|
|
@@ -2571,24 +2426,20 @@ const emit = defineEmits<{
|
|
|
2571
2426
|
* drag operation from applying data changes.
|
|
2572
2427
|
* @param {string} e Event name
|
|
2573
2428
|
* @param {object} params Event parameters
|
|
2574
|
-
* @param {
|
|
2575
|
-
* @param {
|
|
2576
|
-
* @param {
|
|
2577
|
-
* @param {
|
|
2578
|
-
* @param {Grid.util.GridLocation} params.params.event.to The to cell
|
|
2579
|
-
* @param {MouseEvent} params.params.event.domEvent The raw DOM event
|
|
2429
|
+
* @param {object} params.event Event object
|
|
2430
|
+
* @param {Grid.util.GridLocation} params.event.from The from cell
|
|
2431
|
+
* @param {Grid.util.GridLocation} params.event.to The to cell
|
|
2432
|
+
* @param {MouseEvent} params.event.domEvent The raw DOM event
|
|
2580
2433
|
*/
|
|
2581
2434
|
(e: 'fillHandleBeforeDragFinalize', params: ((event: { from: GridLocation, to: GridLocation, domEvent: MouseEvent }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
2582
2435
|
/**
|
|
2583
2436
|
* Fired while dragging the FillHandle.
|
|
2584
2437
|
* @param {string} e Event name
|
|
2585
2438
|
* @param {object} params Event parameters
|
|
2586
|
-
* @param {
|
|
2587
|
-
* @param {
|
|
2588
|
-
* @param {
|
|
2589
|
-
* @param {
|
|
2590
|
-
* @param {Grid.util.GridLocation} params.params.event.to The to cell
|
|
2591
|
-
* @param {MouseEvent} params.params.event.domEvent The raw DOM event
|
|
2439
|
+
* @param {object} params.event Event object
|
|
2440
|
+
* @param {Grid.util.GridLocation} params.event.from The from cell
|
|
2441
|
+
* @param {Grid.util.GridLocation} params.event.to The to cell
|
|
2442
|
+
* @param {MouseEvent} params.event.domEvent The raw DOM event
|
|
2592
2443
|
*/
|
|
2593
2444
|
(e: 'fillHandleDrag', params: ((event: { from: GridLocation, to: GridLocation, domEvent: MouseEvent }) => void)|string): void
|
|
2594
2445
|
/**
|
|
@@ -2599,34 +2450,28 @@ const emit = defineEmits<{
|
|
|
2599
2450
|
* Fired after a FillHandle drag operation.
|
|
2600
2451
|
* @param {string} e Event name
|
|
2601
2452
|
* @param {object} params Event parameters
|
|
2602
|
-
* @param {
|
|
2603
|
-
* @param {
|
|
2604
|
-
* @param {
|
|
2605
|
-
* @param {
|
|
2606
|
-
* @param {Grid.util.GridLocation} params.params.event.to The to cell
|
|
2607
|
-
* @param {MouseEvent} params.params.event.domEvent The raw DOM event
|
|
2453
|
+
* @param {object} params.event Event object
|
|
2454
|
+
* @param {Grid.util.GridLocation} params.event.from The from cell
|
|
2455
|
+
* @param {Grid.util.GridLocation} params.event.to The to cell
|
|
2456
|
+
* @param {MouseEvent} params.event.domEvent The raw DOM event
|
|
2608
2457
|
*/
|
|
2609
2458
|
(e: 'fillHandleDragEnd', params: ((event: { from: GridLocation, to: GridLocation, domEvent: MouseEvent }) => void)|string): void
|
|
2610
2459
|
/**
|
|
2611
2460
|
* Fired when dragging of the FillHandle starts.
|
|
2612
2461
|
* @param {string} e Event name
|
|
2613
2462
|
* @param {object} params Event parameters
|
|
2614
|
-
* @param {
|
|
2615
|
-
* @param {
|
|
2616
|
-
* @param {
|
|
2617
|
-
* @param {Grid.util.GridLocation} params.params.event.cell Information about the column / record
|
|
2618
|
-
* @param {MouseEvent} params.params.event.domEvent The raw DOM event
|
|
2463
|
+
* @param {object} params.event Event object
|
|
2464
|
+
* @param {Grid.util.GridLocation} params.event.cell Information about the column / record
|
|
2465
|
+
* @param {MouseEvent} params.event.domEvent The raw DOM event
|
|
2619
2466
|
*/
|
|
2620
|
-
(e: 'fillHandleDragStart', params: ((event: { cell: GridLocation, domEvent: MouseEvent }) =>
|
|
2467
|
+
(e: 'fillHandleDragStart', params: ((event: { cell: GridLocation, domEvent: MouseEvent }) => boolean|void)|string): boolean|void
|
|
2621
2468
|
/**
|
|
2622
2469
|
* Fires on the owning Grid when cell editing is finished
|
|
2623
2470
|
* @param {string} e Event name
|
|
2624
2471
|
* @param {object} params Event parameters
|
|
2625
|
-
* @param {
|
|
2626
|
-
* @param {
|
|
2627
|
-
* @param {
|
|
2628
|
-
* @param {Grid.view.Grid} params.params.event.grid Target grid
|
|
2629
|
-
* @param {CellEditorContext} params.params.event.editorContext Editing context
|
|
2472
|
+
* @param {object} params.event Event object
|
|
2473
|
+
* @param {Grid.view.Grid} params.event.grid Target grid
|
|
2474
|
+
* @param {CellEditorContext} params.event.editorContext Editing context
|
|
2630
2475
|
*/
|
|
2631
2476
|
(e: 'finishCellEdit', params: ((event: { grid: Grid, editorContext: CellEditorContext }) => void)|string): void
|
|
2632
2477
|
/**
|
|
@@ -2634,26 +2479,22 @@ const emit = defineEmits<{
|
|
|
2634
2479
|
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-finishRowEdit)
|
|
2635
2480
|
* @param {string} e Event name
|
|
2636
2481
|
* @param {object} params Event parameters
|
|
2637
|
-
* @param {
|
|
2638
|
-
* @param {
|
|
2639
|
-
* @param {
|
|
2640
|
-
* @param {Grid.view.Grid} params.params.event.grid Target grid
|
|
2641
|
-
* @param {RowEditorContext} params.params.event.editorContext Editing context
|
|
2482
|
+
* @param {object} params.event Event object
|
|
2483
|
+
* @param {Grid.view.Grid} params.event.grid Target grid
|
|
2484
|
+
* @param {RowEditorContext} params.event.editorContext Editing context
|
|
2642
2485
|
*/
|
|
2643
2486
|
(e: 'finishRowEdit', params: ((event: { grid: Grid, editorContext: RowEditorContext }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
2644
2487
|
/**
|
|
2645
2488
|
* Fired when focus enters this Widget.
|
|
2646
2489
|
* @param {string} e Event name
|
|
2647
2490
|
* @param {object} params Event parameters
|
|
2648
|
-
* @param {
|
|
2649
|
-
* @param {
|
|
2650
|
-
* @param {
|
|
2651
|
-
* @param {
|
|
2652
|
-
* @param {
|
|
2653
|
-
* @param {
|
|
2654
|
-
* @param {
|
|
2655
|
-
* @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
|
|
2656
|
-
* @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
2491
|
+
* @param {object} params.event Event object
|
|
2492
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
2493
|
+
* @param {HTMLElement} params.event.fromElement The element which lost focus.
|
|
2494
|
+
* @param {HTMLElement} params.event.toElement The element which gained focus.
|
|
2495
|
+
* @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
|
|
2496
|
+
* @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
|
|
2497
|
+
* @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
2657
2498
|
*/
|
|
2658
2499
|
(e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
|
|
2659
2500
|
/**
|
|
@@ -2662,46 +2503,40 @@ const emit = defineEmits<{
|
|
|
2662
2503
|
* will not trigger this event. This is when focus exits this widget completely.
|
|
2663
2504
|
* @param {string} e Event name
|
|
2664
2505
|
* @param {object} params Event parameters
|
|
2665
|
-
* @param {
|
|
2666
|
-
* @param {
|
|
2667
|
-
* @param {
|
|
2668
|
-
* @param {
|
|
2669
|
-
* @param {
|
|
2670
|
-
* @param {
|
|
2671
|
-
* @param {
|
|
2672
|
-
* @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
|
|
2673
|
-
* @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
2506
|
+
* @param {object} params.event Event object
|
|
2507
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
2508
|
+
* @param {HTMLElement} params.event.fromElement The element which lost focus.
|
|
2509
|
+
* @param {HTMLElement} params.event.toElement The element which gained focus.
|
|
2510
|
+
* @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
|
|
2511
|
+
* @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
|
|
2512
|
+
* @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
2674
2513
|
*/
|
|
2675
2514
|
(e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
|
|
2676
2515
|
/**
|
|
2677
2516
|
* Fired before dragging starts, return false to prevent the drag operation.
|
|
2678
2517
|
* @param {string} e Event name
|
|
2679
2518
|
* @param {object} params Event parameters
|
|
2680
|
-
* @param {
|
|
2681
|
-
* @param {
|
|
2682
|
-
* @param {object} params.
|
|
2683
|
-
* @param {
|
|
2684
|
-
* @param {
|
|
2685
|
-
* @param {Core.data.Model[]} params.params.event.context.records The dragged row records
|
|
2686
|
-
* @param {MouseEvent,TouchEvent} params.params.event.event
|
|
2519
|
+
* @param {object} params.event Event object
|
|
2520
|
+
* @param {Grid.view.GridBase} params.event.source
|
|
2521
|
+
* @param {object} params.event.context
|
|
2522
|
+
* @param {Core.data.Model[]} params.event.context.records The dragged row records
|
|
2523
|
+
* @param {MouseEvent,TouchEvent} params.event.event
|
|
2687
2524
|
*/
|
|
2688
|
-
(e: 'gridRowBeforeDragStart', params: ((event: { source: GridBase, context: { records: Model[] }, event: MouseEvent|TouchEvent }) =>
|
|
2525
|
+
(e: 'gridRowBeforeDragStart', params: ((event: { source: GridBase, context: { records: Model[] }, event: MouseEvent|TouchEvent }) => boolean|void)|string): boolean|void
|
|
2689
2526
|
/**
|
|
2690
2527
|
* Fired before the row drop operation is finalized. You can return false to abort the drop operation, or a
|
|
2691
2528
|
* Promise yielding `true` / `false` which allows for asynchronous abort (e.g. first show user a confirmation dialog).
|
|
2692
2529
|
* @param {string} e Event name
|
|
2693
2530
|
* @param {object} params Event parameters
|
|
2694
|
-
* @param {
|
|
2695
|
-
* @param {
|
|
2696
|
-
* @param {object} params.
|
|
2697
|
-
* @param {
|
|
2698
|
-
* @param {
|
|
2699
|
-
* @param {
|
|
2700
|
-
* @param {Core.data.Model} params.
|
|
2701
|
-
* @param {
|
|
2702
|
-
* @param {
|
|
2703
|
-
* @param {RecordPositionContext[]} params.params.event.context.oldPositionContext An array of objects with information about the previous tree position. Objects contain the `record`, and its original `parentIndex` and `parentId` values
|
|
2704
|
-
* @param {MouseEvent} params.params.event.event
|
|
2531
|
+
* @param {object} params.event Event object
|
|
2532
|
+
* @param {Grid.view.GridBase} params.event.source
|
|
2533
|
+
* @param {object} params.event.context
|
|
2534
|
+
* @param {boolean} params.event.context.valid Set this to true or false to indicate whether the drop position is valid
|
|
2535
|
+
* @param {Core.data.Model} params.event.context.insertBefore The record to insert before (`null` if inserting at last position of a parent node)
|
|
2536
|
+
* @param {Core.data.Model} params.event.context.parent The parent record of the current drop position (only applicable for trees)
|
|
2537
|
+
* @param {Core.data.Model[]} params.event.context.records The dragged row records
|
|
2538
|
+
* @param {RecordPositionContext[]} params.event.context.oldPositionContext An array of objects with information about the previous tree position. Objects contain the `record`, and its original `parentIndex` and `parentId` values
|
|
2539
|
+
* @param {MouseEvent} params.event.event
|
|
2705
2540
|
*/
|
|
2706
2541
|
(e: 'gridRowBeforeDropFinalize', params: ((event: { source: GridBase, context: { valid: boolean, insertBefore: Model, parent: Model, records: Model[], oldPositionContext: RecordPositionContext[] }, event: MouseEvent }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
2707
2542
|
/**
|
|
@@ -2710,59 +2545,51 @@ const emit = defineEmits<{
|
|
|
2710
2545
|
* valid or invalid by setting `context.valid = false;`
|
|
2711
2546
|
* @param {string} e Event name
|
|
2712
2547
|
* @param {object} params Event parameters
|
|
2713
|
-
* @param {
|
|
2714
|
-
* @param {
|
|
2715
|
-
* @param {object} params.
|
|
2716
|
-
* @param {
|
|
2717
|
-
* @param {
|
|
2718
|
-
* @param {
|
|
2719
|
-
* @param {Core.data.Model} params.
|
|
2720
|
-
* @param {
|
|
2721
|
-
* @param {Core.data.Model[]} params.params.event.context.records The dragged row records
|
|
2722
|
-
* @param {MouseEvent} params.params.event.event
|
|
2548
|
+
* @param {object} params.event Event object
|
|
2549
|
+
* @param {Grid.view.GridBase} params.event.source
|
|
2550
|
+
* @param {object} params.event.context
|
|
2551
|
+
* @param {boolean} params.event.context.valid Set this to true or false to indicate whether the drop position is valid.
|
|
2552
|
+
* @param {Core.data.Model} params.event.context.insertBefore The record to insert before (`null` if inserting at last position of a parent node)
|
|
2553
|
+
* @param {Core.data.Model} params.event.context.parent The parent record of the current drop position (only applicable for trees)
|
|
2554
|
+
* @param {Core.data.Model[]} params.event.context.records The dragged row records
|
|
2555
|
+
* @param {MouseEvent} params.event.event
|
|
2723
2556
|
*/
|
|
2724
2557
|
(e: 'gridRowDrag', params: ((event: { source: GridBase, context: { valid: boolean, insertBefore: Model, parent: Model, records: Model[] }, event: MouseEvent }) => void)|string): void
|
|
2725
2558
|
/**
|
|
2726
2559
|
* Fired when a row drag operation is aborted
|
|
2727
2560
|
* @param {string} e Event name
|
|
2728
2561
|
* @param {object} params Event parameters
|
|
2729
|
-
* @param {
|
|
2730
|
-
* @param {
|
|
2731
|
-
* @param {object} params.
|
|
2732
|
-
* @param {
|
|
2733
|
-
* @param {
|
|
2734
|
-
* @param {Core.data.Model[]} params.params.event.context.records The dragged row records
|
|
2735
|
-
* @param {MouseEvent} params.params.event.event
|
|
2562
|
+
* @param {object} params.event Event object
|
|
2563
|
+
* @param {Grid.view.GridBase} params.event.source
|
|
2564
|
+
* @param {object} params.event.context
|
|
2565
|
+
* @param {Core.data.Model[]} params.event.context.records The dragged row records
|
|
2566
|
+
* @param {MouseEvent} params.event.event
|
|
2736
2567
|
*/
|
|
2737
2568
|
(e: 'gridRowDragAbort', params: ((event: { source: GridBase, context: { records: Model[] }, event: MouseEvent }) => void)|string): void
|
|
2738
2569
|
/**
|
|
2739
2570
|
* Fired when dragging starts.
|
|
2740
2571
|
* @param {string} e Event name
|
|
2741
2572
|
* @param {object} params Event parameters
|
|
2742
|
-
* @param {
|
|
2743
|
-
* @param {
|
|
2744
|
-
* @param {object} params.
|
|
2745
|
-
* @param {
|
|
2746
|
-
* @param {
|
|
2747
|
-
* @param {Core.data.Model[]} params.params.event.context.records The dragged row records
|
|
2748
|
-
* @param {MouseEvent,TouchEvent} params.params.event.event
|
|
2573
|
+
* @param {object} params.event Event object
|
|
2574
|
+
* @param {Grid.view.GridBase} params.event.source
|
|
2575
|
+
* @param {object} params.event.context
|
|
2576
|
+
* @param {Core.data.Model[]} params.event.context.records The dragged row records
|
|
2577
|
+
* @param {MouseEvent,TouchEvent} params.event.event
|
|
2749
2578
|
*/
|
|
2750
2579
|
(e: 'gridRowDragStart', params: ((event: { source: GridBase, context: { records: Model[] }, event: MouseEvent|TouchEvent }) => void)|string): void
|
|
2751
2580
|
/**
|
|
2752
2581
|
* Fired after the row drop operation has completed, regardless of validity
|
|
2753
2582
|
* @param {string} e Event name
|
|
2754
2583
|
* @param {object} params Event parameters
|
|
2755
|
-
* @param {
|
|
2756
|
-
* @param {
|
|
2757
|
-
* @param {object} params.
|
|
2758
|
-
* @param {
|
|
2759
|
-
* @param {
|
|
2760
|
-
* @param {
|
|
2761
|
-
* @param {Core.data.Model} params.
|
|
2762
|
-
* @param {
|
|
2763
|
-
* @param {
|
|
2764
|
-
* @param {RecordPositionContext[]} params.params.event.context.oldPositionContext An array of objects with information about the previous tree position. Objects contain the record, and its original `parentIndex` and `parentId` values
|
|
2765
|
-
* @param {MouseEvent} params.params.event.event
|
|
2584
|
+
* @param {object} params.event Event object
|
|
2585
|
+
* @param {Grid.view.GridBase} params.event.source
|
|
2586
|
+
* @param {object} params.event.context
|
|
2587
|
+
* @param {boolean} params.event.context.valid true or false depending on whether the drop position was valid
|
|
2588
|
+
* @param {Core.data.Model} params.event.context.insertBefore The record to insert before (`null` if inserting at last position of a parent node)
|
|
2589
|
+
* @param {Core.data.Model} params.event.context.parent The parent record of the current drop position (only applicable for trees)
|
|
2590
|
+
* @param {Core.data.Model[]} params.event.context.records The dragged row records
|
|
2591
|
+
* @param {RecordPositionContext[]} params.event.context.oldPositionContext An array of objects with information about the previous tree position. Objects contain the record, and its original `parentIndex` and `parentId` values
|
|
2592
|
+
* @param {MouseEvent} params.event.event
|
|
2766
2593
|
*/
|
|
2767
2594
|
(e: 'gridRowDrop', params: ((event: { source: GridBase, context: { valid: boolean, insertBefore: Model, parent: Model, records: Model[], oldPositionContext: RecordPositionContext[] }, event: MouseEvent }) => void)|string): void
|
|
2768
2595
|
/**
|
|
@@ -2770,76 +2597,64 @@ const emit = defineEmits<{
|
|
|
2770
2597
|
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-headerClick)
|
|
2771
2598
|
* @param {string} e Event name
|
|
2772
2599
|
* @param {object} params Event parameters
|
|
2773
|
-
* @param {
|
|
2774
|
-
* @param {
|
|
2775
|
-
* @param {
|
|
2776
|
-
* @param {Event} params.params.event.domEvent The triggering DOM event.
|
|
2777
|
-
* @param {Grid.column.Column} params.params.event.column The column clicked on.
|
|
2600
|
+
* @param {object} params.event Event object
|
|
2601
|
+
* @param {Event} params.event.domEvent The triggering DOM event.
|
|
2602
|
+
* @param {Grid.column.Column} params.event.column The column clicked on.
|
|
2778
2603
|
*/
|
|
2779
|
-
(e: 'headerClick', params: ((event: { domEvent: Event, column: Column }) =>
|
|
2604
|
+
(e: 'headerClick', params: ((event: { domEvent: Event, column: Column }) => boolean|void)|string): boolean|void
|
|
2780
2605
|
/**
|
|
2781
2606
|
* This event fires on the owning Grid before the context menu is shown for a header.
|
|
2782
2607
|
* Allows manipulation of the items to show in the same way as in the [processItems](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/HeaderMenu#config-processItems).
|
|
2783
2608
|
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-headerMenuBeforeShow)
|
|
2784
2609
|
* @param {string} e Event name
|
|
2785
2610
|
* @param {object} params Event parameters
|
|
2786
|
-
* @param {
|
|
2787
|
-
* @param {
|
|
2788
|
-
* @param {
|
|
2789
|
-
* @param {
|
|
2790
|
-
* @param {
|
|
2791
|
-
* @param {Record<string, MenuItemEntry>} params.params.event.items Menu item configs
|
|
2792
|
-
* @param {Grid.column.Column} params.params.event.column Column
|
|
2611
|
+
* @param {object} params.event Event object
|
|
2612
|
+
* @param {Grid.view.Grid} params.event.source The grid
|
|
2613
|
+
* @param {Core.widget.Menu} params.event.menu The menu
|
|
2614
|
+
* @param {Record<string, MenuItemEntry>} params.event.items Menu item configs
|
|
2615
|
+
* @param {Grid.column.Column} params.event.column Column
|
|
2793
2616
|
*/
|
|
2794
|
-
(e: 'headerMenuBeforeShow', params: ((event: { source: Grid, menu: Menu, items: Record<string, MenuItemEntry>, column: Column }) =>
|
|
2617
|
+
(e: 'headerMenuBeforeShow', params: ((event: { source: Grid, menu: Menu, items: Record<string, MenuItemEntry>, column: Column }) => boolean|void)|string): boolean|void
|
|
2795
2618
|
/**
|
|
2796
2619
|
* This event fires on the owning Grid when an item is selected in the header context menu.
|
|
2797
2620
|
* @param {string} e Event name
|
|
2798
2621
|
* @param {object} params Event parameters
|
|
2799
|
-
* @param {
|
|
2800
|
-
* @param {
|
|
2801
|
-
* @param {
|
|
2802
|
-
* @param {
|
|
2803
|
-
* @param {
|
|
2804
|
-
* @param {Core.widget.MenuItem} params.params.event.item Selected menu item
|
|
2805
|
-
* @param {Grid.column.Column} params.params.event.column Column
|
|
2622
|
+
* @param {object} params.event Event object
|
|
2623
|
+
* @param {Grid.view.Grid} params.event.source The grid
|
|
2624
|
+
* @param {Core.widget.Menu} params.event.menu The menu
|
|
2625
|
+
* @param {Core.widget.MenuItem} params.event.item Selected menu item
|
|
2626
|
+
* @param {Grid.column.Column} params.event.column Column
|
|
2806
2627
|
*/
|
|
2807
2628
|
(e: 'headerMenuItem', params: ((event: { source: Grid, menu: Menu, item: MenuItem, column: Column }) => void)|string): void
|
|
2808
2629
|
/**
|
|
2809
2630
|
* This event fires on the owning Grid after the context menu is shown for a header
|
|
2810
2631
|
* @param {string} e Event name
|
|
2811
2632
|
* @param {object} params Event parameters
|
|
2812
|
-
* @param {
|
|
2813
|
-
* @param {
|
|
2814
|
-
* @param {
|
|
2815
|
-
* @param {
|
|
2816
|
-
* @param {
|
|
2817
|
-
* @param {Record<string, MenuItemEntry>} params.params.event.items Menu item configs
|
|
2818
|
-
* @param {Grid.column.Column} params.params.event.column Column
|
|
2633
|
+
* @param {object} params.event Event object
|
|
2634
|
+
* @param {Grid.view.Grid} params.event.source The grid
|
|
2635
|
+
* @param {Core.widget.Menu} params.event.menu The menu
|
|
2636
|
+
* @param {Record<string, MenuItemEntry>} params.event.items Menu item configs
|
|
2637
|
+
* @param {Grid.column.Column} params.event.column Column
|
|
2819
2638
|
*/
|
|
2820
2639
|
(e: 'headerMenuShow', params: ((event: { source: Grid, menu: Menu, items: Record<string, MenuItemEntry>, column: Column }) => void)|string): void
|
|
2821
2640
|
/**
|
|
2822
2641
|
* This event fires on the owning Grid when a check item is toggled in the header context menu.
|
|
2823
2642
|
* @param {string} e Event name
|
|
2824
2643
|
* @param {object} params Event parameters
|
|
2825
|
-
* @param {
|
|
2826
|
-
* @param {
|
|
2827
|
-
* @param {
|
|
2828
|
-
* @param {
|
|
2829
|
-
* @param {
|
|
2830
|
-
* @param {
|
|
2831
|
-
* @param {Grid.column.Column} params.params.event.column Column
|
|
2832
|
-
* @param {boolean} params.params.event.checked Checked or not
|
|
2644
|
+
* @param {object} params.event Event object
|
|
2645
|
+
* @param {Grid.view.Grid} params.event.source The grid
|
|
2646
|
+
* @param {Core.widget.Menu} params.event.menu The menu
|
|
2647
|
+
* @param {Core.widget.MenuItem} params.event.item Selected menu item
|
|
2648
|
+
* @param {Grid.column.Column} params.event.column Column
|
|
2649
|
+
* @param {boolean} params.event.checked Checked or not
|
|
2833
2650
|
*/
|
|
2834
2651
|
(e: 'headerMenuToggleItem', params: ((event: { source: Grid, menu: Menu, item: MenuItem, column: Column, checked: boolean }) => void)|string): void
|
|
2835
2652
|
/**
|
|
2836
2653
|
* Triggered after a widget was hidden
|
|
2837
2654
|
* @param {string} e Event name
|
|
2838
2655
|
* @param {object} params Event parameters
|
|
2839
|
-
* @param {
|
|
2840
|
-
* @param {
|
|
2841
|
-
* @param {object} params.params.event Event object
|
|
2842
|
-
* @param {Core.widget.Widget} params.params.event.source The widget
|
|
2656
|
+
* @param {object} params.event Event object
|
|
2657
|
+
* @param {Core.widget.Widget} params.event.source The widget
|
|
2843
2658
|
*/
|
|
2844
2659
|
(e: 'hide', params: ((event: { source: Widget }) => void)|string): void
|
|
2845
2660
|
/**
|
|
@@ -2848,54 +2663,44 @@ const emit = defineEmits<{
|
|
|
2848
2663
|
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-histogramDataCacheSet)
|
|
2849
2664
|
* @param {string} e Event name
|
|
2850
2665
|
* @param {object} params Event parameters
|
|
2851
|
-
* @param {
|
|
2852
|
-
* @param {
|
|
2853
|
-
* @param {
|
|
2854
|
-
* @param {
|
|
2855
|
-
* @param {Core.data.Model} params.params.event.record Record the histogram data of which is ready.
|
|
2856
|
-
* @param {object} params.params.event.data The record histogram data.
|
|
2666
|
+
* @param {object} params.event Event object
|
|
2667
|
+
* @param {Scheduler.view.TimelineHistogram} params.event.source The component instance
|
|
2668
|
+
* @param {Core.data.Model} params.event.record Record the histogram data of which is ready.
|
|
2669
|
+
* @param {object} params.event.data The record histogram data.
|
|
2857
2670
|
*/
|
|
2858
2671
|
(e: 'histogramDataCacheSet', params: ((event: { source: TimelineHistogram, record: Model, data: object }) => void)|string): void
|
|
2859
2672
|
/**
|
|
2860
2673
|
* Fires when row locking is enabled.
|
|
2861
2674
|
* @param {string} e Event name
|
|
2862
2675
|
* @param {object} params Event parameters
|
|
2863
|
-
* @param {
|
|
2864
|
-
* @param {
|
|
2865
|
-
* @param {object} params.params.event Event object
|
|
2866
|
-
* @param {Grid.view.GridBase} params.params.event.clone The created clone
|
|
2676
|
+
* @param {object} params.event Event object
|
|
2677
|
+
* @param {Grid.view.GridBase} params.event.clone The created clone
|
|
2867
2678
|
*/
|
|
2868
2679
|
(e: 'lockRows', params: ((event: { clone: GridBase }) => void)|string): void
|
|
2869
2680
|
/**
|
|
2870
2681
|
* Mouse moved out from element in grid
|
|
2871
2682
|
* @param {string} e Event name
|
|
2872
2683
|
* @param {object} params Event parameters
|
|
2873
|
-
* @param {
|
|
2874
|
-
* @param {
|
|
2875
|
-
* @param {object} params.params.event Event object
|
|
2876
|
-
* @param {MouseEvent} params.params.event.event The native browser event
|
|
2684
|
+
* @param {object} params.event Event object
|
|
2685
|
+
* @param {MouseEvent} params.event.event The native browser event
|
|
2877
2686
|
*/
|
|
2878
2687
|
(e: 'mouseOut', params: ((event: { event: MouseEvent }) => void)|string): void
|
|
2879
2688
|
/**
|
|
2880
2689
|
* Mouse moved in over element in grid
|
|
2881
2690
|
* @param {string} e Event name
|
|
2882
2691
|
* @param {object} params Event parameters
|
|
2883
|
-
* @param {
|
|
2884
|
-
* @param {
|
|
2885
|
-
* @param {object} params.params.event Event object
|
|
2886
|
-
* @param {MouseEvent} params.params.event.event The native browser event
|
|
2692
|
+
* @param {object} params.event Event object
|
|
2693
|
+
* @param {MouseEvent} params.event.event The native browser event
|
|
2887
2694
|
*/
|
|
2888
2695
|
(e: 'mouseOver', params: ((event: { event: MouseEvent }) => void)|string): void
|
|
2889
2696
|
/**
|
|
2890
2697
|
* Fires when the requested date range cannot fit into any zoom level higher than the current level.
|
|
2891
2698
|
* @param {string} e Event name
|
|
2892
2699
|
* @param {object} params Event parameters
|
|
2893
|
-
* @param {
|
|
2894
|
-
* @param {
|
|
2895
|
-
* @param {
|
|
2896
|
-
* @param {
|
|
2897
|
-
* @param {Date} params.params.event.startDate The requested start date
|
|
2898
|
-
* @param {Date} params.params.event.endDate The requested end date
|
|
2700
|
+
* @param {object} params.event Event object
|
|
2701
|
+
* @param {number} params.event.currentZoomLevel The current zoom level
|
|
2702
|
+
* @param {Date} params.event.startDate The requested start date
|
|
2703
|
+
* @param {Date} params.event.endDate The requested end date
|
|
2899
2704
|
*/
|
|
2900
2705
|
(e: 'noZoomChange', params: ((event: { currentZoomLevel: number, startDate: Date, endDate: Date }) => void)|string): void
|
|
2901
2706
|
/**
|
|
@@ -2904,74 +2709,62 @@ const emit = defineEmits<{
|
|
|
2904
2709
|
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-paint)
|
|
2905
2710
|
* @param {string} e Event name
|
|
2906
2711
|
* @param {object} params Event parameters
|
|
2907
|
-
* @param {
|
|
2908
|
-
* @param {
|
|
2909
|
-
* @param {
|
|
2910
|
-
* @param {Core.widget.Widget} params.params.event.source The widget being painted.
|
|
2911
|
-
* @param {boolean} params.params.event.firstPaint `true` if this is the first paint.
|
|
2712
|
+
* @param {object} params.event Event object
|
|
2713
|
+
* @param {Core.widget.Widget} params.event.source The widget being painted.
|
|
2714
|
+
* @param {boolean} params.event.firstPaint `true` if this is the first paint.
|
|
2912
2715
|
*/
|
|
2913
2716
|
(e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void
|
|
2914
2717
|
/**
|
|
2915
2718
|
* Fires on the owning Grid after a paste action is performed.
|
|
2916
2719
|
* @param {string} e Event name
|
|
2917
2720
|
* @param {object} params Event parameters
|
|
2918
|
-
* @param {
|
|
2919
|
-
* @param {
|
|
2920
|
-
* @param {
|
|
2921
|
-
* @param {
|
|
2922
|
-
* @param {
|
|
2923
|
-
* @param {
|
|
2924
|
-
* @param {Grid.util.GridLocation} params.params.event.targetCell The cell from which the paste will be started
|
|
2925
|
-
* @param {string} params.params.event.entityName 'cell' to distinguish this event from other paste events
|
|
2721
|
+
* @param {object} params.event Event object
|
|
2722
|
+
* @param {Grid.view.Grid} params.event.source Owner grid
|
|
2723
|
+
* @param {string} params.event.clipboardData The clipboardData that was pasted
|
|
2724
|
+
* @param {Core.data.Model[]} params.event.modifiedRecords The records which have been modified due to the paste action
|
|
2725
|
+
* @param {Grid.util.GridLocation} params.event.targetCell The cell from which the paste will be started
|
|
2726
|
+
* @param {string} params.event.entityName 'cell' to distinguish this event from other paste events
|
|
2926
2727
|
*/
|
|
2927
2728
|
(e: 'paste', params: ((event: { source: Grid, clipboardData: string, modifiedRecords: Model[], targetCell: GridLocation, entityName: string }) => void)|string): void
|
|
2928
2729
|
/**
|
|
2929
2730
|
* Fires on the owning view after a paste action is performed.
|
|
2930
2731
|
* @param {string} e Event name
|
|
2931
2732
|
* @param {object} params Event parameters
|
|
2932
|
-
* @param {
|
|
2933
|
-
* @param {
|
|
2934
|
-
* @param {
|
|
2935
|
-
* @param {
|
|
2936
|
-
* @param {
|
|
2937
|
-
* @param {Core.data.Model[]} params.params.event.modifiedRecords The records which have been modified due to the paste action
|
|
2938
|
-
* @param {Scheduler.util.TimelineContext} params.params.event.targetCell The cell from which the paste will be started
|
|
2733
|
+
* @param {object} params.event Event object
|
|
2734
|
+
* @param {SchedulerPro.view.ResourceUtilization} params.event.source Owner view
|
|
2735
|
+
* @param {string} params.event.clipboardData The clipboardData that was pasted
|
|
2736
|
+
* @param {Core.data.Model[]} params.event.modifiedRecords The records which have been modified due to the paste action
|
|
2737
|
+
* @param {Scheduler.util.TimelineContext} params.event.targetCell The cell from which the paste will be started
|
|
2939
2738
|
*/
|
|
2940
2739
|
(e: 'pasteTimelineCells', params: ((event: { source: ResourceUtilization, clipboardData: string, modifiedRecords: Model[], targetCell: TimelineContext }) => void)|string): void
|
|
2941
2740
|
/**
|
|
2942
2741
|
* Fires on the owning Grid when export has finished
|
|
2943
2742
|
* @param {string} e Event name
|
|
2944
2743
|
* @param {object} params Event parameters
|
|
2945
|
-
* @param {
|
|
2946
|
-
* @param {
|
|
2947
|
-
* @param {
|
|
2948
|
-
* @param {Response} [params.params.event.response] Optional response, if received
|
|
2949
|
-
* @param {Error} [params.params.event.error] Optional error, if exception occurred
|
|
2744
|
+
* @param {object} params.event Event object
|
|
2745
|
+
* @param {Response} [params.event.response] Optional response, if received
|
|
2746
|
+
* @param {Error} [params.event.error] Optional error, if exception occurred
|
|
2950
2747
|
*/
|
|
2951
2748
|
(e: 'pdfExport', params: ((event: { response?: Response, error?: Error }) => void)|string): void
|
|
2952
2749
|
/**
|
|
2953
2750
|
* Fired after the [viewPreset](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/mixin/TimelineViewPresets#config-viewPreset) has changed.
|
|
2954
2751
|
* @param {string} e Event name
|
|
2955
2752
|
* @param {object} params Event parameters
|
|
2956
|
-
* @param {
|
|
2957
|
-
* @param {
|
|
2958
|
-
* @param {
|
|
2959
|
-
* @param {
|
|
2960
|
-
* @param {Date} params.
|
|
2961
|
-
* @param {
|
|
2962
|
-
* @param {
|
|
2963
|
-
* @param {Scheduler.preset.ViewPreset} params.params.event.from The outgoing ViewPreset.
|
|
2964
|
-
* @param {Scheduler.preset.ViewPreset} params.params.event.to The ViewPreset being switched to.
|
|
2753
|
+
* @param {object} params.event Event object
|
|
2754
|
+
* @param {Scheduler.view.Scheduler} params.event.source This Scheduler instance.
|
|
2755
|
+
* @param {Date} params.event.startDate The new start date of the timeline.
|
|
2756
|
+
* @param {Date} params.event.centerDate The new center date of the timeline.
|
|
2757
|
+
* @param {Date} params.event.endDate The new end date of the timeline.
|
|
2758
|
+
* @param {Scheduler.preset.ViewPreset} params.event.from The outgoing ViewPreset.
|
|
2759
|
+
* @param {Scheduler.preset.ViewPreset} params.event.to The ViewPreset being switched to.
|
|
2965
2760
|
*/
|
|
2966
|
-
(e: 'presetChange', params: ((event: { source: Scheduler, startDate: Date, centerDate: Date, endDate: Date, from: ViewPreset, to: ViewPreset }) =>
|
|
2761
|
+
(e: 'presetChange', params: ((event: { source: Scheduler, startDate: Date, centerDate: Date, endDate: Date, from: ViewPreset, to: ViewPreset }) => boolean|void)|string): boolean|void
|
|
2967
2762
|
/**
|
|
2968
2763
|
* Fired when a Widget's read only state is toggled
|
|
2969
2764
|
* @param {string} e Event name
|
|
2970
2765
|
* @param {object} params Event parameters
|
|
2971
|
-
* @param {
|
|
2972
|
-
* @param {
|
|
2973
|
-
* @param {object} params.params.event Event object
|
|
2974
|
-
* @param {boolean} params.params.event.readOnly Read only or not
|
|
2766
|
+
* @param {object} params.event Event object
|
|
2767
|
+
* @param {boolean} params.event.readOnly Read only or not
|
|
2975
2768
|
*/
|
|
2976
2769
|
(e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void
|
|
2977
2770
|
/**
|
|
@@ -2983,37 +2776,31 @@ const emit = defineEmits<{
|
|
|
2983
2776
|
* Fires after a row is rendered.
|
|
2984
2777
|
* @param {string} e Event name
|
|
2985
2778
|
* @param {object} params Event parameters
|
|
2986
|
-
* @param {
|
|
2987
|
-
* @param {
|
|
2988
|
-
* @param {
|
|
2989
|
-
* @param {
|
|
2990
|
-
* @param {
|
|
2991
|
-
* @param {Core.data.Model} params.params.event.record The record for the row
|
|
2992
|
-
* @param {number} params.params.event.recordIndex The zero-based index of the record
|
|
2779
|
+
* @param {object} params.event Event object
|
|
2780
|
+
* @param {Grid.view.GridBase} params.event.source The firing Grid instance
|
|
2781
|
+
* @param {Grid.row.Row} params.event.row The row that has been rendered
|
|
2782
|
+
* @param {Core.data.Model} params.event.record The record for the row
|
|
2783
|
+
* @param {number} params.event.recordIndex The zero-based index of the record
|
|
2993
2784
|
*/
|
|
2994
2785
|
(e: 'renderRow', params: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string): void
|
|
2995
2786
|
/**
|
|
2996
2787
|
* Grid rows have been rendered
|
|
2997
2788
|
* @param {string} e Event name
|
|
2998
2789
|
* @param {object} params Event parameters
|
|
2999
|
-
* @param {
|
|
3000
|
-
* @param {
|
|
3001
|
-
* @param {object} params.params.event Event object
|
|
3002
|
-
* @param {Grid.view.GridBase} params.params.event.source This grid.
|
|
2790
|
+
* @param {object} params.event Event object
|
|
2791
|
+
* @param {Grid.view.GridBase} params.event.source This grid.
|
|
3003
2792
|
*/
|
|
3004
2793
|
(e: 'renderRows', params: ((event: { source: GridBase }) => void)|string): void
|
|
3005
2794
|
/**
|
|
3006
2795
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
3007
2796
|
* @param {string} e Event name
|
|
3008
2797
|
* @param {object} params Event parameters
|
|
3009
|
-
* @param {
|
|
3010
|
-
* @param {
|
|
3011
|
-
* @param {
|
|
3012
|
-
* @param {
|
|
3013
|
-
* @param {number} params.
|
|
3014
|
-
* @param {number} params.
|
|
3015
|
-
* @param {number} params.params.event.oldWidth The old width
|
|
3016
|
-
* @param {number} params.params.event.oldHeight The old height
|
|
2798
|
+
* @param {object} params.event Event object
|
|
2799
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
2800
|
+
* @param {number} params.event.width The new width
|
|
2801
|
+
* @param {number} params.event.height The new height
|
|
2802
|
+
* @param {number} params.event.oldWidth The old width
|
|
2803
|
+
* @param {number} params.event.oldHeight The old height
|
|
3017
2804
|
*/
|
|
3018
2805
|
(e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void
|
|
3019
2806
|
/**
|
|
@@ -3022,54 +2809,46 @@ const emit = defineEmits<{
|
|
|
3022
2809
|
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-resourceMenuBeforeShow)
|
|
3023
2810
|
* @param {string} e Event name
|
|
3024
2811
|
* @param {object} params Event parameters
|
|
3025
|
-
* @param {
|
|
3026
|
-
* @param {
|
|
3027
|
-
* @param {
|
|
3028
|
-
* @param {
|
|
3029
|
-
* @param {
|
|
3030
|
-
* @param {
|
|
3031
|
-
* @param {Grid.column.Column} params.params.event.column Column
|
|
3032
|
-
* @param {Scheduler.model.SchedulerResourceModel} params.params.event.resourceRecord Record
|
|
2812
|
+
* @param {object} params.event Event object
|
|
2813
|
+
* @param {Scheduler.view.Scheduler} params.event.source The grid
|
|
2814
|
+
* @param {Core.widget.Menu} params.event.menu The menu
|
|
2815
|
+
* @param {Record<string, MenuItemEntry>} params.event.items Menu item configs
|
|
2816
|
+
* @param {Grid.column.Column} params.event.column Column
|
|
2817
|
+
* @param {Scheduler.model.SchedulerResourceModel} params.event.resourceRecord Record
|
|
3033
2818
|
*/
|
|
3034
|
-
(e: 'resourceMenuBeforeShow', params: ((event: { source: Scheduler, menu: Menu, items: Record<string, MenuItemEntry>, column: Column, resourceRecord: SchedulerResourceModel }) =>
|
|
2819
|
+
(e: 'resourceMenuBeforeShow', params: ((event: { source: Scheduler, menu: Menu, items: Record<string, MenuItemEntry>, column: Column, resourceRecord: SchedulerResourceModel }) => boolean|void)|string): boolean|void
|
|
3035
2820
|
/**
|
|
3036
2821
|
* This event fires on the owning scheduler when an item is selected in the context menu.
|
|
3037
2822
|
* @param {string} e Event name
|
|
3038
2823
|
* @param {object} params Event parameters
|
|
3039
|
-
* @param {
|
|
3040
|
-
* @param {
|
|
3041
|
-
* @param {
|
|
3042
|
-
* @param {
|
|
3043
|
-
* @param {
|
|
3044
|
-
* @param {Core.widget.MenuItem} params.params.event.item Selected menu item
|
|
3045
|
-
* @param {Scheduler.model.SchedulerResourceModel} params.params.event.record Record
|
|
2824
|
+
* @param {object} params.event Event object
|
|
2825
|
+
* @param {Scheduler.view.Scheduler} params.event.source The grid
|
|
2826
|
+
* @param {Core.widget.Menu} params.event.menu The menu
|
|
2827
|
+
* @param {Core.widget.MenuItem} params.event.item Selected menu item
|
|
2828
|
+
* @param {Scheduler.model.SchedulerResourceModel} params.event.record Record
|
|
3046
2829
|
*/
|
|
3047
2830
|
(e: 'resourceMenuItem', params: ((event: { source: Scheduler, menu: Menu, item: MenuItem, record: SchedulerResourceModel }) => void)|string): void
|
|
3048
2831
|
/**
|
|
3049
2832
|
* This event fires on the owning scheduler after the context menu is shown for a resource.
|
|
3050
2833
|
* @param {string} e Event name
|
|
3051
2834
|
* @param {object} params Event parameters
|
|
3052
|
-
* @param {
|
|
3053
|
-
* @param {
|
|
3054
|
-
* @param {
|
|
3055
|
-
* @param {
|
|
3056
|
-
* @param {
|
|
3057
|
-
* @param {Record<string, MenuItemEntry>} params.params.event.items Menu item configs
|
|
3058
|
-
* @param {Scheduler.model.SchedulerResourceModel} params.params.event.record Record
|
|
2835
|
+
* @param {object} params.event Event object
|
|
2836
|
+
* @param {Scheduler.view.Scheduler} params.event.source The grid
|
|
2837
|
+
* @param {Core.widget.Menu} params.event.menu The menu
|
|
2838
|
+
* @param {Record<string, MenuItemEntry>} params.event.items Menu item configs
|
|
2839
|
+
* @param {Scheduler.model.SchedulerResourceModel} params.event.record Record
|
|
3059
2840
|
*/
|
|
3060
2841
|
(e: 'resourceMenuShow', params: ((event: { source: Scheduler, menu: Menu, items: Record<string, MenuItemEntry>, record: SchedulerResourceModel }) => void)|string): void
|
|
3061
2842
|
/**
|
|
3062
2843
|
* This event fires on the owning grid when a check item is toggled in the context menu.
|
|
3063
2844
|
* @param {string} e Event name
|
|
3064
2845
|
* @param {object} params Event parameters
|
|
3065
|
-
* @param {
|
|
3066
|
-
* @param {
|
|
3067
|
-
* @param {
|
|
3068
|
-
* @param {
|
|
3069
|
-
* @param {
|
|
3070
|
-
* @param {
|
|
3071
|
-
* @param {Scheduler.model.SchedulerResourceModel} params.params.event.resourceRecord Record
|
|
3072
|
-
* @param {boolean} params.params.event.checked Checked or not
|
|
2846
|
+
* @param {object} params.event Event object
|
|
2847
|
+
* @param {Scheduler.view.Scheduler} params.event.source The grid
|
|
2848
|
+
* @param {Core.widget.Menu} params.event.menu The menu
|
|
2849
|
+
* @param {Core.widget.MenuItem} params.event.item Selected menu item
|
|
2850
|
+
* @param {Scheduler.model.SchedulerResourceModel} params.event.resourceRecord Record
|
|
2851
|
+
* @param {boolean} params.event.checked Checked or not
|
|
3073
2852
|
*/
|
|
3074
2853
|
(e: 'resourceMenuToggleItem', params: ((event: { source: Scheduler, menu: Menu, item: MenuItem, resourceRecord: SchedulerResourceModel, checked: boolean }) => void)|string): void
|
|
3075
2854
|
/**
|
|
@@ -3077,14 +2856,12 @@ const emit = defineEmits<{
|
|
|
3077
2856
|
* `enableMouseEvents: true`.
|
|
3078
2857
|
* @param {string} e Event name
|
|
3079
2858
|
* @param {object} params Event parameters
|
|
3080
|
-
* @param {
|
|
3081
|
-
* @param {
|
|
3082
|
-
* @param {
|
|
3083
|
-
* @param {
|
|
3084
|
-
* @param {
|
|
3085
|
-
* @param {
|
|
3086
|
-
* @param {Scheduler.model.SchedulerResourceModel} params.params.event.resourceRecord Resource record
|
|
3087
|
-
* @param {MouseEvent} params.params.event.domEvent Browser event
|
|
2859
|
+
* @param {object} params.event Event object
|
|
2860
|
+
* @param {SchedulerPro.view.SchedulerPro} params.event.source This Scheduler
|
|
2861
|
+
* @param {SchedulerPro.feature.ResourceNonWorkingTime} params.event.feature The ResourceNonWorkingTime feature
|
|
2862
|
+
* @param {Scheduler.model.ResourceTimeRangeModel} params.event.resourceTimeRangeRecord Resource time range record
|
|
2863
|
+
* @param {Scheduler.model.SchedulerResourceModel} params.event.resourceRecord Resource record
|
|
2864
|
+
* @param {MouseEvent} params.event.domEvent Browser event
|
|
3088
2865
|
*/
|
|
3089
2866
|
(e: 'resourceNonWorkingTimeClick', params: ((event: { source: SchedulerPro, feature: ResourceNonWorkingTime, resourceTimeRangeRecord: ResourceTimeRangeModel, resourceRecord: SchedulerResourceModel, domEvent: MouseEvent }) => void)|string): void
|
|
3090
2867
|
/**
|
|
@@ -3092,14 +2869,12 @@ const emit = defineEmits<{
|
|
|
3092
2869
|
* with `enableMouseEvents: true`.
|
|
3093
2870
|
* @param {string} e Event name
|
|
3094
2871
|
* @param {object} params Event parameters
|
|
3095
|
-
* @param {
|
|
3096
|
-
* @param {
|
|
3097
|
-
* @param {
|
|
3098
|
-
* @param {
|
|
3099
|
-
* @param {
|
|
3100
|
-
* @param {
|
|
3101
|
-
* @param {Scheduler.model.SchedulerResourceModel} params.params.event.resourceRecord Resource record
|
|
3102
|
-
* @param {MouseEvent} params.params.event.domEvent Browser event
|
|
2872
|
+
* @param {object} params.event Event object
|
|
2873
|
+
* @param {SchedulerPro.view.SchedulerPro} params.event.source This Scheduler
|
|
2874
|
+
* @param {SchedulerPro.feature.ResourceNonWorkingTime} params.event.feature The ResourceNonWorkingTime feature
|
|
2875
|
+
* @param {Scheduler.model.ResourceTimeRangeModel} params.event.resourceTimeRangeRecord Resource time range record
|
|
2876
|
+
* @param {Scheduler.model.SchedulerResourceModel} params.event.resourceRecord Resource record
|
|
2877
|
+
* @param {MouseEvent} params.event.domEvent Browser event
|
|
3103
2878
|
*/
|
|
3104
2879
|
(e: 'resourceNonWorkingTimeContextMenu', params: ((event: { source: SchedulerPro, feature: ResourceNonWorkingTime, resourceTimeRangeRecord: ResourceTimeRangeModel, resourceRecord: SchedulerResourceModel, domEvent: MouseEvent }) => void)|string): void
|
|
3105
2880
|
/**
|
|
@@ -3107,14 +2882,12 @@ const emit = defineEmits<{
|
|
|
3107
2882
|
* with `enableMouseEvents: true`.
|
|
3108
2883
|
* @param {string} e Event name
|
|
3109
2884
|
* @param {object} params Event parameters
|
|
3110
|
-
* @param {
|
|
3111
|
-
* @param {
|
|
3112
|
-
* @param {
|
|
3113
|
-
* @param {
|
|
3114
|
-
* @param {
|
|
3115
|
-
* @param {
|
|
3116
|
-
* @param {Scheduler.model.SchedulerResourceModel} params.params.event.resourceRecord Resource record
|
|
3117
|
-
* @param {MouseEvent} params.params.event.domEvent Browser event
|
|
2885
|
+
* @param {object} params.event Event object
|
|
2886
|
+
* @param {SchedulerPro.view.SchedulerPro} params.event.source This Scheduler
|
|
2887
|
+
* @param {SchedulerPro.feature.ResourceNonWorkingTime} params.event.feature The ResourceNonWorkingTime feature
|
|
2888
|
+
* @param {Scheduler.model.ResourceTimeRangeModel} params.event.resourceTimeRangeRecord Resource time range record
|
|
2889
|
+
* @param {Scheduler.model.SchedulerResourceModel} params.event.resourceRecord Resource record
|
|
2890
|
+
* @param {MouseEvent} params.event.domEvent Browser event
|
|
3118
2891
|
*/
|
|
3119
2892
|
(e: 'resourceNonWorkingTimeDblClick', params: ((event: { source: SchedulerPro, feature: ResourceNonWorkingTime, resourceTimeRangeRecord: ResourceTimeRangeModel, resourceRecord: SchedulerResourceModel, domEvent: MouseEvent }) => void)|string): void
|
|
3120
2893
|
/**
|
|
@@ -3122,14 +2895,12 @@ const emit = defineEmits<{
|
|
|
3122
2895
|
* with `enableMouseEvents: true`.
|
|
3123
2896
|
* @param {string} e Event name
|
|
3124
2897
|
* @param {object} params Event parameters
|
|
3125
|
-
* @param {
|
|
3126
|
-
* @param {
|
|
3127
|
-
* @param {
|
|
3128
|
-
* @param {
|
|
3129
|
-
* @param {
|
|
3130
|
-
* @param {
|
|
3131
|
-
* @param {Scheduler.model.SchedulerResourceModel} params.params.event.resourceRecord Resource record
|
|
3132
|
-
* @param {MouseEvent} params.params.event.domEvent Browser event
|
|
2898
|
+
* @param {object} params.event Event object
|
|
2899
|
+
* @param {SchedulerPro.view.SchedulerPro} params.event.source This Scheduler
|
|
2900
|
+
* @param {SchedulerPro.feature.ResourceNonWorkingTime} params.event.feature The ResourceNonWorkingTime feature
|
|
2901
|
+
* @param {Scheduler.model.ResourceTimeRangeModel} params.event.resourceTimeRangeRecord Resource time range record
|
|
2902
|
+
* @param {Scheduler.model.SchedulerResourceModel} params.event.resourceRecord Resource record
|
|
2903
|
+
* @param {MouseEvent} params.event.domEvent Browser event
|
|
3133
2904
|
*/
|
|
3134
2905
|
(e: 'resourceNonWorkingTimeMouseDown', params: ((event: { source: SchedulerPro, feature: ResourceNonWorkingTime, resourceTimeRangeRecord: ResourceTimeRangeModel, resourceRecord: SchedulerResourceModel, domEvent: MouseEvent }) => void)|string): void
|
|
3135
2906
|
/**
|
|
@@ -3137,14 +2908,12 @@ const emit = defineEmits<{
|
|
|
3137
2908
|
* with `enableMouseEvents: true`.
|
|
3138
2909
|
* @param {string} e Event name
|
|
3139
2910
|
* @param {object} params Event parameters
|
|
3140
|
-
* @param {
|
|
3141
|
-
* @param {
|
|
3142
|
-
* @param {
|
|
3143
|
-
* @param {
|
|
3144
|
-
* @param {
|
|
3145
|
-
* @param {
|
|
3146
|
-
* @param {Scheduler.model.SchedulerResourceModel} params.params.event.resourceRecord Resource record
|
|
3147
|
-
* @param {MouseEvent} params.params.event.domEvent Browser event
|
|
2911
|
+
* @param {object} params.event Event object
|
|
2912
|
+
* @param {SchedulerPro.view.SchedulerPro} params.event.source This Scheduler
|
|
2913
|
+
* @param {SchedulerPro.feature.ResourceNonWorkingTime} params.event.feature The ResourceNonWorkingTime feature
|
|
2914
|
+
* @param {Scheduler.model.ResourceTimeRangeModel} params.event.resourceTimeRangeRecord Resource time range record
|
|
2915
|
+
* @param {Scheduler.model.SchedulerResourceModel} params.event.resourceRecord Resource record
|
|
2916
|
+
* @param {MouseEvent} params.event.domEvent Browser event
|
|
3148
2917
|
*/
|
|
3149
2918
|
(e: 'resourceNonWorkingTimeMouseOut', params: ((event: { source: SchedulerPro, feature: ResourceNonWorkingTime, resourceTimeRangeRecord: ResourceTimeRangeModel, resourceRecord: SchedulerResourceModel, domEvent: MouseEvent }) => void)|string): void
|
|
3150
2919
|
/**
|
|
@@ -3152,14 +2921,12 @@ const emit = defineEmits<{
|
|
|
3152
2921
|
* with `enableMouseEvents: true`.
|
|
3153
2922
|
* @param {string} e Event name
|
|
3154
2923
|
* @param {object} params Event parameters
|
|
3155
|
-
* @param {
|
|
3156
|
-
* @param {
|
|
3157
|
-
* @param {
|
|
3158
|
-
* @param {
|
|
3159
|
-
* @param {
|
|
3160
|
-
* @param {
|
|
3161
|
-
* @param {Scheduler.model.SchedulerResourceModel} params.params.event.resourceRecord Resource record
|
|
3162
|
-
* @param {MouseEvent} params.params.event.domEvent Browser event
|
|
2924
|
+
* @param {object} params.event Event object
|
|
2925
|
+
* @param {SchedulerPro.view.SchedulerPro} params.event.source This Scheduler
|
|
2926
|
+
* @param {SchedulerPro.feature.ResourceNonWorkingTime} params.event.feature The ResourceNonWorkingTime feature
|
|
2927
|
+
* @param {Scheduler.model.ResourceTimeRangeModel} params.event.resourceTimeRangeRecord Resource time range record
|
|
2928
|
+
* @param {Scheduler.model.SchedulerResourceModel} params.event.resourceRecord Resource record
|
|
2929
|
+
* @param {MouseEvent} params.event.domEvent Browser event
|
|
3163
2930
|
*/
|
|
3164
2931
|
(e: 'resourceNonWorkingTimeMouseOver', params: ((event: { source: SchedulerPro, feature: ResourceNonWorkingTime, resourceTimeRangeRecord: ResourceTimeRangeModel, resourceRecord: SchedulerResourceModel, domEvent: MouseEvent }) => void)|string): void
|
|
3165
2932
|
/**
|
|
@@ -3167,14 +2934,12 @@ const emit = defineEmits<{
|
|
|
3167
2934
|
* with `enableMouseEvents: true`.
|
|
3168
2935
|
* @param {string} e Event name
|
|
3169
2936
|
* @param {object} params Event parameters
|
|
3170
|
-
* @param {
|
|
3171
|
-
* @param {
|
|
3172
|
-
* @param {
|
|
3173
|
-
* @param {
|
|
3174
|
-
* @param {
|
|
3175
|
-
* @param {
|
|
3176
|
-
* @param {Scheduler.model.SchedulerResourceModel} params.params.event.resourceRecord Resource record
|
|
3177
|
-
* @param {MouseEvent} params.params.event.domEvent Browser event
|
|
2937
|
+
* @param {object} params.event Event object
|
|
2938
|
+
* @param {SchedulerPro.view.SchedulerPro} params.event.source This Scheduler
|
|
2939
|
+
* @param {SchedulerPro.feature.ResourceNonWorkingTime} params.event.feature The ResourceNonWorkingTime feature
|
|
2940
|
+
* @param {Scheduler.model.ResourceTimeRangeModel} params.event.resourceTimeRangeRecord Resource time range record
|
|
2941
|
+
* @param {Scheduler.model.SchedulerResourceModel} params.event.resourceRecord Resource record
|
|
2942
|
+
* @param {MouseEvent} params.event.domEvent Browser event
|
|
3178
2943
|
*/
|
|
3179
2944
|
(e: 'resourceNonWorkingTimeMouseUp', params: ((event: { source: SchedulerPro, feature: ResourceNonWorkingTime, resourceTimeRangeRecord: ResourceTimeRangeModel, resourceRecord: SchedulerResourceModel, domEvent: MouseEvent }) => void)|string): void
|
|
3180
2945
|
/**
|
|
@@ -3182,14 +2947,12 @@ const emit = defineEmits<{
|
|
|
3182
2947
|
* `enableMouseEvents: true`.
|
|
3183
2948
|
* @param {string} e Event name
|
|
3184
2949
|
* @param {object} params Event parameters
|
|
3185
|
-
* @param {
|
|
3186
|
-
* @param {
|
|
3187
|
-
* @param {
|
|
3188
|
-
* @param {Scheduler.
|
|
3189
|
-
* @param {Scheduler.
|
|
3190
|
-
* @param {
|
|
3191
|
-
* @param {Scheduler.model.SchedulerResourceModel} params.params.event.resourceRecord Resource record
|
|
3192
|
-
* @param {MouseEvent} params.params.event.domEvent Browser event
|
|
2950
|
+
* @param {object} params.event Event object
|
|
2951
|
+
* @param {Scheduler.view.Scheduler} params.event.source This Scheduler
|
|
2952
|
+
* @param {Scheduler.feature.ResourceTimeRanges} params.event.feature The ResourceTimeRange feature
|
|
2953
|
+
* @param {Scheduler.model.ResourceTimeRangeModel} params.event.resourceTimeRangeRecord Resource time range record
|
|
2954
|
+
* @param {Scheduler.model.SchedulerResourceModel} params.event.resourceRecord Resource record
|
|
2955
|
+
* @param {MouseEvent} params.event.domEvent Browser event
|
|
3193
2956
|
*/
|
|
3194
2957
|
(e: 'resourceTimeRangeClick', params: ((event: { source: Scheduler, feature: ResourceTimeRanges, resourceTimeRangeRecord: ResourceTimeRangeModel, resourceRecord: SchedulerResourceModel, domEvent: MouseEvent }) => void)|string): void
|
|
3195
2958
|
/**
|
|
@@ -3197,14 +2960,12 @@ const emit = defineEmits<{
|
|
|
3197
2960
|
* with `enableMouseEvents: true`.
|
|
3198
2961
|
* @param {string} e Event name
|
|
3199
2962
|
* @param {object} params Event parameters
|
|
3200
|
-
* @param {
|
|
3201
|
-
* @param {
|
|
3202
|
-
* @param {
|
|
3203
|
-
* @param {Scheduler.
|
|
3204
|
-
* @param {Scheduler.
|
|
3205
|
-
* @param {
|
|
3206
|
-
* @param {Scheduler.model.SchedulerResourceModel} params.params.event.resourceRecord Resource record
|
|
3207
|
-
* @param {MouseEvent} params.params.event.domEvent Browser event
|
|
2963
|
+
* @param {object} params.event Event object
|
|
2964
|
+
* @param {Scheduler.view.Scheduler} params.event.source This Scheduler
|
|
2965
|
+
* @param {Scheduler.feature.ResourceTimeRanges} params.event.feature The ResourceTimeRange feature
|
|
2966
|
+
* @param {Scheduler.model.ResourceTimeRangeModel} params.event.resourceTimeRangeRecord Resource time range record
|
|
2967
|
+
* @param {Scheduler.model.SchedulerResourceModel} params.event.resourceRecord Resource record
|
|
2968
|
+
* @param {MouseEvent} params.event.domEvent Browser event
|
|
3208
2969
|
*/
|
|
3209
2970
|
(e: 'resourceTimeRangeContextMenu', params: ((event: { source: Scheduler, feature: ResourceTimeRanges, resourceTimeRangeRecord: ResourceTimeRangeModel, resourceRecord: SchedulerResourceModel, domEvent: MouseEvent }) => void)|string): void
|
|
3210
2971
|
/**
|
|
@@ -3212,14 +2973,12 @@ const emit = defineEmits<{
|
|
|
3212
2973
|
* with `enableMouseEvents: true`.
|
|
3213
2974
|
* @param {string} e Event name
|
|
3214
2975
|
* @param {object} params Event parameters
|
|
3215
|
-
* @param {
|
|
3216
|
-
* @param {
|
|
3217
|
-
* @param {
|
|
3218
|
-
* @param {Scheduler.
|
|
3219
|
-
* @param {Scheduler.
|
|
3220
|
-
* @param {
|
|
3221
|
-
* @param {Scheduler.model.SchedulerResourceModel} params.params.event.resourceRecord Resource record
|
|
3222
|
-
* @param {MouseEvent} params.params.event.domEvent Browser event
|
|
2976
|
+
* @param {object} params.event Event object
|
|
2977
|
+
* @param {Scheduler.view.Scheduler} params.event.source This Scheduler
|
|
2978
|
+
* @param {Scheduler.feature.ResourceTimeRanges} params.event.feature The ResourceTimeRange feature
|
|
2979
|
+
* @param {Scheduler.model.ResourceTimeRangeModel} params.event.resourceTimeRangeRecord Resource time range record
|
|
2980
|
+
* @param {Scheduler.model.SchedulerResourceModel} params.event.resourceRecord Resource record
|
|
2981
|
+
* @param {MouseEvent} params.event.domEvent Browser event
|
|
3223
2982
|
*/
|
|
3224
2983
|
(e: 'resourceTimeRangeDblClick', params: ((event: { source: Scheduler, feature: ResourceTimeRanges, resourceTimeRangeRecord: ResourceTimeRangeModel, resourceRecord: SchedulerResourceModel, domEvent: MouseEvent }) => void)|string): void
|
|
3225
2984
|
/**
|
|
@@ -3227,14 +2986,12 @@ const emit = defineEmits<{
|
|
|
3227
2986
|
* with `enableMouseEvents: true`.
|
|
3228
2987
|
* @param {string} e Event name
|
|
3229
2988
|
* @param {object} params Event parameters
|
|
3230
|
-
* @param {
|
|
3231
|
-
* @param {
|
|
3232
|
-
* @param {
|
|
3233
|
-
* @param {Scheduler.
|
|
3234
|
-
* @param {Scheduler.
|
|
3235
|
-
* @param {
|
|
3236
|
-
* @param {Scheduler.model.SchedulerResourceModel} params.params.event.resourceRecord Resource record
|
|
3237
|
-
* @param {MouseEvent} params.params.event.domEvent Browser event
|
|
2989
|
+
* @param {object} params.event Event object
|
|
2990
|
+
* @param {Scheduler.view.Scheduler} params.event.source This Scheduler
|
|
2991
|
+
* @param {Scheduler.feature.ResourceTimeRanges} params.event.feature The ResourceTimeRange feature
|
|
2992
|
+
* @param {Scheduler.model.ResourceTimeRangeModel} params.event.resourceTimeRangeRecord Resource time range record
|
|
2993
|
+
* @param {Scheduler.model.SchedulerResourceModel} params.event.resourceRecord Resource record
|
|
2994
|
+
* @param {MouseEvent} params.event.domEvent Browser event
|
|
3238
2995
|
*/
|
|
3239
2996
|
(e: 'resourceTimeRangeMouseDown', params: ((event: { source: Scheduler, feature: ResourceTimeRanges, resourceTimeRangeRecord: ResourceTimeRangeModel, resourceRecord: SchedulerResourceModel, domEvent: MouseEvent }) => void)|string): void
|
|
3240
2997
|
/**
|
|
@@ -3242,14 +2999,12 @@ const emit = defineEmits<{
|
|
|
3242
2999
|
* with `enableMouseEvents: true`.
|
|
3243
3000
|
* @param {string} e Event name
|
|
3244
3001
|
* @param {object} params Event parameters
|
|
3245
|
-
* @param {
|
|
3246
|
-
* @param {
|
|
3247
|
-
* @param {
|
|
3248
|
-
* @param {Scheduler.
|
|
3249
|
-
* @param {Scheduler.
|
|
3250
|
-
* @param {
|
|
3251
|
-
* @param {Scheduler.model.SchedulerResourceModel} params.params.event.resourceRecord Resource record
|
|
3252
|
-
* @param {MouseEvent} params.params.event.domEvent Browser event
|
|
3002
|
+
* @param {object} params.event Event object
|
|
3003
|
+
* @param {Scheduler.view.Scheduler} params.event.source This Scheduler
|
|
3004
|
+
* @param {Scheduler.feature.ResourceTimeRanges} params.event.feature The ResourceTimeRange feature
|
|
3005
|
+
* @param {Scheduler.model.ResourceTimeRangeModel} params.event.resourceTimeRangeRecord Resource time range record
|
|
3006
|
+
* @param {Scheduler.model.SchedulerResourceModel} params.event.resourceRecord Resource record
|
|
3007
|
+
* @param {MouseEvent} params.event.domEvent Browser event
|
|
3253
3008
|
*/
|
|
3254
3009
|
(e: 'resourceTimeRangeMouseOut', params: ((event: { source: Scheduler, feature: ResourceTimeRanges, resourceTimeRangeRecord: ResourceTimeRangeModel, resourceRecord: SchedulerResourceModel, domEvent: MouseEvent }) => void)|string): void
|
|
3255
3010
|
/**
|
|
@@ -3257,14 +3012,12 @@ const emit = defineEmits<{
|
|
|
3257
3012
|
* with `enableMouseEvents: true`.
|
|
3258
3013
|
* @param {string} e Event name
|
|
3259
3014
|
* @param {object} params Event parameters
|
|
3260
|
-
* @param {
|
|
3261
|
-
* @param {
|
|
3262
|
-
* @param {
|
|
3263
|
-
* @param {Scheduler.
|
|
3264
|
-
* @param {Scheduler.
|
|
3265
|
-
* @param {
|
|
3266
|
-
* @param {Scheduler.model.SchedulerResourceModel} params.params.event.resourceRecord Resource record
|
|
3267
|
-
* @param {MouseEvent} params.params.event.domEvent Browser event
|
|
3015
|
+
* @param {object} params.event Event object
|
|
3016
|
+
* @param {Scheduler.view.Scheduler} params.event.source This Scheduler
|
|
3017
|
+
* @param {Scheduler.feature.ResourceTimeRanges} params.event.feature The ResourceTimeRange feature
|
|
3018
|
+
* @param {Scheduler.model.ResourceTimeRangeModel} params.event.resourceTimeRangeRecord Resource time range record
|
|
3019
|
+
* @param {Scheduler.model.SchedulerResourceModel} params.event.resourceRecord Resource record
|
|
3020
|
+
* @param {MouseEvent} params.event.domEvent Browser event
|
|
3268
3021
|
*/
|
|
3269
3022
|
(e: 'resourceTimeRangeMouseOver', params: ((event: { source: Scheduler, feature: ResourceTimeRanges, resourceTimeRangeRecord: ResourceTimeRangeModel, resourceRecord: SchedulerResourceModel, domEvent: MouseEvent }) => void)|string): void
|
|
3270
3023
|
/**
|
|
@@ -3272,38 +3025,32 @@ const emit = defineEmits<{
|
|
|
3272
3025
|
* with `enableMouseEvents: true`.
|
|
3273
3026
|
* @param {string} e Event name
|
|
3274
3027
|
* @param {object} params Event parameters
|
|
3275
|
-
* @param {
|
|
3276
|
-
* @param {
|
|
3277
|
-
* @param {
|
|
3278
|
-
* @param {Scheduler.
|
|
3279
|
-
* @param {Scheduler.
|
|
3280
|
-
* @param {
|
|
3281
|
-
* @param {Scheduler.model.SchedulerResourceModel} params.params.event.resourceRecord Resource record
|
|
3282
|
-
* @param {MouseEvent} params.params.event.domEvent Browser event
|
|
3028
|
+
* @param {object} params.event Event object
|
|
3029
|
+
* @param {Scheduler.view.Scheduler} params.event.source This Scheduler
|
|
3030
|
+
* @param {Scheduler.feature.ResourceTimeRanges} params.event.feature The ResourceTimeRange feature
|
|
3031
|
+
* @param {Scheduler.model.ResourceTimeRangeModel} params.event.resourceTimeRangeRecord Resource time range record
|
|
3032
|
+
* @param {Scheduler.model.SchedulerResourceModel} params.event.resourceRecord Resource record
|
|
3033
|
+
* @param {MouseEvent} params.event.domEvent Browser event
|
|
3283
3034
|
*/
|
|
3284
3035
|
(e: 'resourceTimeRangeMouseUp', params: ((event: { source: Scheduler, feature: ResourceTimeRanges, resourceTimeRangeRecord: ResourceTimeRangeModel, resourceRecord: SchedulerResourceModel, domEvent: MouseEvent }) => void)|string): void
|
|
3285
3036
|
/**
|
|
3286
3037
|
* Grid resize lead to a new responsive level being applied
|
|
3287
3038
|
* @param {string} e Event name
|
|
3288
3039
|
* @param {object} params Event parameters
|
|
3289
|
-
* @param {
|
|
3290
|
-
* @param {
|
|
3291
|
-
* @param {
|
|
3292
|
-
* @param {
|
|
3293
|
-
* @param {string} params.
|
|
3294
|
-
* @param {number} params.
|
|
3295
|
-
* @param {string} params.params.event.oldLevel Old responsive level
|
|
3296
|
-
* @param {number} params.params.event.oldWidth Old width in px
|
|
3040
|
+
* @param {object} params.event Event object
|
|
3041
|
+
* @param {Grid.view.Grid} params.event.grid Grid that was resized
|
|
3042
|
+
* @param {string} params.event.level New responsive level (small, large, etc)
|
|
3043
|
+
* @param {number} params.event.width New width in px
|
|
3044
|
+
* @param {string} params.event.oldLevel Old responsive level
|
|
3045
|
+
* @param {number} params.event.oldWidth Old width in px
|
|
3297
3046
|
*/
|
|
3298
3047
|
(e: 'responsive', params: ((event: { grid: Grid, level: string, width: number, oldLevel: string, oldWidth: number }) => void)|string): void
|
|
3299
3048
|
/**
|
|
3300
3049
|
* This event fires when a row has finished collapsing.
|
|
3301
3050
|
* @param {string} e Event name
|
|
3302
3051
|
* @param {object} params Event parameters
|
|
3303
|
-
* @param {
|
|
3304
|
-
* @param {
|
|
3305
|
-
* @param {object} params.params.event Event object
|
|
3306
|
-
* @param {Core.data.Model} params.params.event.record Record
|
|
3052
|
+
* @param {object} params.event Event object
|
|
3053
|
+
* @param {Core.data.Model} params.event.record Record
|
|
3307
3054
|
*/
|
|
3308
3055
|
(e: 'rowCollapse', params: ((event: { record: Model }) => void)|string): void
|
|
3309
3056
|
/**
|
|
@@ -3311,103 +3058,87 @@ const emit = defineEmits<{
|
|
|
3311
3058
|
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-rowExpand)
|
|
3312
3059
|
* @param {string} e Event name
|
|
3313
3060
|
* @param {object} params Event parameters
|
|
3314
|
-
* @param {
|
|
3315
|
-
* @param {
|
|
3316
|
-
* @param {object} params.
|
|
3317
|
-
* @param {Core.
|
|
3318
|
-
* @param {object} params.
|
|
3319
|
-
* @param {Core.widget.Widget} params.params.event.widget In case of expanding a Widget, this will be a reference to the instance created by the actual expansion. If there is multiple Grid regions, use the `widgets` param instead.
|
|
3320
|
-
* @param {object} params.params.event.widgets In case of expanding a Widget, this will be an object with the Grid region name as property and the reference to the widget instance created by the actual expansion
|
|
3061
|
+
* @param {object} params.event Event object
|
|
3062
|
+
* @param {Core.data.Model} params.event.record Record
|
|
3063
|
+
* @param {object} params.event.expandedElements An object with the Grid region name as property and the expanded body element as value
|
|
3064
|
+
* @param {Core.widget.Widget} params.event.widget In case of expanding a Widget, this will be a reference to the instance created by the actual expansion. If there is multiple Grid regions, use the `widgets` param instead.
|
|
3065
|
+
* @param {object} params.event.widgets In case of expanding a Widget, this will be an object with the Grid region name as property and the reference to the widget instance created by the actual expansion
|
|
3321
3066
|
*/
|
|
3322
3067
|
(e: 'rowExpand', params: ((event: { record: Model, expandedElements: object, widget: Widget, widgets: object }) => void)|string): void
|
|
3323
3068
|
/**
|
|
3324
3069
|
* Fired when the mouse enters a row
|
|
3325
3070
|
* @param {string} e Event name
|
|
3326
3071
|
* @param {object} params Event parameters
|
|
3327
|
-
* @param {
|
|
3328
|
-
* @param {
|
|
3329
|
-
* @param {
|
|
3330
|
-
* @param {Grid.
|
|
3331
|
-
* @param {
|
|
3332
|
-
* @param {
|
|
3333
|
-
* @param {HTMLElement} params.params.event.cellElement The cell HTML element
|
|
3334
|
-
* @param {MouseEvent} params.params.event.event The native DOM event
|
|
3072
|
+
* @param {object} params.event Event object
|
|
3073
|
+
* @param {Grid.view.Grid} params.event.source The grid instance
|
|
3074
|
+
* @param {Core.data.Model} params.event.record The record representing the hovered row
|
|
3075
|
+
* @param {Grid.column.Column} params.event.column The column currently hovered
|
|
3076
|
+
* @param {HTMLElement} params.event.cellElement The cell HTML element
|
|
3077
|
+
* @param {MouseEvent} params.event.event The native DOM event
|
|
3335
3078
|
*/
|
|
3336
3079
|
(e: 'rowMouseEnter', params: ((event: { source: Grid, record: Model, column: Column, cellElement: HTMLElement, event: MouseEvent }) => void)|string): void
|
|
3337
3080
|
/**
|
|
3338
3081
|
* Fired when the mouse leaves a row
|
|
3339
3082
|
* @param {string} e Event name
|
|
3340
3083
|
* @param {object} params Event parameters
|
|
3341
|
-
* @param {
|
|
3342
|
-
* @param {
|
|
3343
|
-
* @param {
|
|
3344
|
-
* @param {
|
|
3345
|
-
* @param {
|
|
3346
|
-
* @param {HTMLElement} params.params.event.cellElement The cell HTML element that the mouse left
|
|
3347
|
-
* @param {MouseEvent} params.params.event.event The native DOM event
|
|
3084
|
+
* @param {object} params.event Event object
|
|
3085
|
+
* @param {Grid.view.Grid} params.event.source The grid instance
|
|
3086
|
+
* @param {Core.data.Model} params.event.record The record representing the row that the mouse left
|
|
3087
|
+
* @param {HTMLElement} params.event.cellElement The cell HTML element that the mouse left
|
|
3088
|
+
* @param {MouseEvent} params.event.event The native DOM event
|
|
3348
3089
|
*/
|
|
3349
3090
|
(e: 'rowMouseLeave', params: ((event: { source: Grid, record: Model, cellElement: HTMLElement, event: MouseEvent }) => void)|string): void
|
|
3350
3091
|
/**
|
|
3351
3092
|
* Grid has scrolled vertically
|
|
3352
3093
|
* @param {string} e Event name
|
|
3353
3094
|
* @param {object} params Event parameters
|
|
3354
|
-
* @param {
|
|
3355
|
-
* @param {
|
|
3356
|
-
* @param {
|
|
3357
|
-
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance.
|
|
3358
|
-
* @param {number} params.params.event.scrollTop The vertical scroll position.
|
|
3095
|
+
* @param {object} params.event Event object
|
|
3096
|
+
* @param {Grid.view.GridBase} params.event.source The firing Grid instance.
|
|
3097
|
+
* @param {number} params.event.scrollTop The vertical scroll position.
|
|
3359
3098
|
*/
|
|
3360
3099
|
(e: 'scroll', params: ((event: { source: GridBase, scrollTop: number }) => void)|string): void
|
|
3361
3100
|
/**
|
|
3362
3101
|
* The selection has been changed.
|
|
3363
3102
|
* @param {string} e Event name
|
|
3364
3103
|
* @param {object} params Event parameters
|
|
3365
|
-
* @param {
|
|
3366
|
-
* @param {
|
|
3367
|
-
* @param {
|
|
3368
|
-
* @param {
|
|
3369
|
-
* @param {
|
|
3370
|
-
* @param {
|
|
3371
|
-
* @param {Core.data.Model[]} params.
|
|
3372
|
-
* @param {
|
|
3373
|
-
* @param {
|
|
3374
|
-
* @param {Grid.util.GridLocation[]} params.
|
|
3375
|
-
* @param {Grid.util.GridLocation[]} params.params.event.selectedCells The cells selected in this operation.
|
|
3376
|
-
* @param {Grid.util.GridLocation[]} params.params.event.cellSelection The cells in the new selection.
|
|
3104
|
+
* @param {object} params.event Event object
|
|
3105
|
+
* @param {'select','deselect'} params.event.action `'select'`/`'deselect'`
|
|
3106
|
+
* @param {'row','cell'} params.event.mode `'row'`/`'cell'`
|
|
3107
|
+
* @param {Grid.view.Grid} params.event.source
|
|
3108
|
+
* @param {Core.data.Model[]} params.event.deselected The records deselected in this operation.
|
|
3109
|
+
* @param {Core.data.Model[]} params.event.selected The records selected in this operation.
|
|
3110
|
+
* @param {Core.data.Model[]} params.event.selection The records in the new selection.
|
|
3111
|
+
* @param {Grid.util.GridLocation[]} params.event.deselectedCells The cells deselected in this operation.
|
|
3112
|
+
* @param {Grid.util.GridLocation[]} params.event.selectedCells The cells selected in this operation.
|
|
3113
|
+
* @param {Grid.util.GridLocation[]} params.event.cellSelection The cells in the new selection.
|
|
3377
3114
|
*/
|
|
3378
3115
|
(e: 'selectionChange', params: ((event: { action: 'select'|'deselect', mode: 'row'|'cell', source: Grid, deselected: Model[], selected: Model[], selection: Model[], deselectedCells: GridLocation[], selectedCells: GridLocation[], cellSelection: GridLocation[] }) => void)|string): void
|
|
3379
3116
|
/**
|
|
3380
3117
|
* The selectionMode configuration has been changed.
|
|
3381
3118
|
* @param {string} e Event name
|
|
3382
3119
|
* @param {object} params Event parameters
|
|
3383
|
-
* @param {
|
|
3384
|
-
* @param {object} params.
|
|
3385
|
-
* @param {object} params.params.event Event object
|
|
3386
|
-
* @param {object} params.params.event.selectionMode The new [selectionMode](https://bryntum.com/products/schedulerpro/docs/api/Grid/view/mixin/GridSelection#config-selectionMode)
|
|
3120
|
+
* @param {object} params.event Event object
|
|
3121
|
+
* @param {object} params.event.selectionMode The new [selectionMode](https://bryntum.com/products/schedulerpro/docs/api/Grid/view/mixin/GridSelection#config-selectionMode)
|
|
3387
3122
|
*/
|
|
3388
3123
|
(e: 'selectionModeChange', params: ((event: { selectionMode: object }) => void)|string): void
|
|
3389
3124
|
/**
|
|
3390
3125
|
* Triggered after a widget is shown.
|
|
3391
3126
|
* @param {string} e Event name
|
|
3392
3127
|
* @param {object} params Event parameters
|
|
3393
|
-
* @param {
|
|
3394
|
-
* @param {
|
|
3395
|
-
* @param {object} params.params.event Event object
|
|
3396
|
-
* @param {Core.widget.Widget} params.params.event.source The widget
|
|
3128
|
+
* @param {object} params.event Event object
|
|
3129
|
+
* @param {Core.widget.Widget} params.event.source The widget
|
|
3397
3130
|
*/
|
|
3398
3131
|
(e: 'show', params: ((event: { source: Widget }) => void)|string): void
|
|
3399
3132
|
/**
|
|
3400
3133
|
* Fires when splitting the Grid.
|
|
3401
3134
|
* @param {string} e Event name
|
|
3402
3135
|
* @param {object} params Event parameters
|
|
3403
|
-
* @param {
|
|
3404
|
-
* @param {
|
|
3405
|
-
* @param {object} params.
|
|
3406
|
-
* @param {
|
|
3407
|
-
* @param {
|
|
3408
|
-
* @param {
|
|
3409
|
-
* @param {Grid.column.Column} params.params.event.options.atColumn The column to split at
|
|
3410
|
-
* @param {Core.data.Model} params.params.event.options.atRecord The record to split at
|
|
3136
|
+
* @param {object} params.event Event object
|
|
3137
|
+
* @param {Grid.view.GridBase[]} params.event.subViews The sub views created by the split
|
|
3138
|
+
* @param {object} params.event.options The options passed to the split call
|
|
3139
|
+
* @param {'horizontal','vertical','both'} params.event.options.direction The direction of the split
|
|
3140
|
+
* @param {Grid.column.Column} params.event.options.atColumn The column to split at
|
|
3141
|
+
* @param {Core.data.Model} params.event.options.atRecord The record to split at
|
|
3411
3142
|
*/
|
|
3412
3143
|
(e: 'split', params: ((event: { subViews: GridBase[], options: { direction: 'horizontal'|'vertical'|'both', atColumn: Column, atRecord: Model } }) => void)|string): void
|
|
3413
3144
|
/**
|
|
@@ -3415,36 +3146,30 @@ const emit = defineEmits<{
|
|
|
3415
3146
|
* if you want to implement your own behavior.
|
|
3416
3147
|
* @param {string} e Event name
|
|
3417
3148
|
* @param {object} params Event parameters
|
|
3418
|
-
* @param {
|
|
3419
|
-
* @param {
|
|
3420
|
-
* @param {
|
|
3421
|
-
* @param {
|
|
3422
|
-
* @param {Grid.view.SubGrid} params.params.event.subGrid The subgrid
|
|
3423
|
-
* @param {Event} params.params.event.domEvent The native DOM event
|
|
3149
|
+
* @param {object} params.event Event object
|
|
3150
|
+
* @param {Grid.view.Grid} params.event.source The Grid instance.
|
|
3151
|
+
* @param {Grid.view.SubGrid} params.event.subGrid The subgrid
|
|
3152
|
+
* @param {Event} params.event.domEvent The native DOM event
|
|
3424
3153
|
*/
|
|
3425
|
-
(e: 'splitterCollapseClick', params: ((event: { source: Grid, subGrid: SubGrid, domEvent: Event }) =>
|
|
3154
|
+
(e: 'splitterCollapseClick', params: ((event: { source: Grid, subGrid: SubGrid, domEvent: Event }) => boolean|void)|string): boolean|void
|
|
3426
3155
|
/**
|
|
3427
3156
|
* Fired by the Grid after a sub-grid has been resized using the splitter
|
|
3428
3157
|
* @param {string} e Event name
|
|
3429
3158
|
* @param {object} params Event parameters
|
|
3430
|
-
* @param {
|
|
3431
|
-
* @param {
|
|
3432
|
-
* @param {
|
|
3433
|
-
* @param {
|
|
3434
|
-
* @param {Grid.view.SubGrid} params.params.event.subGrid The resized subgrid
|
|
3435
|
-
* @param {Event} params.params.event.domEvent The native DOM event
|
|
3159
|
+
* @param {object} params.event Event object
|
|
3160
|
+
* @param {Grid.view.Grid} params.event.source The Grid instance.
|
|
3161
|
+
* @param {Grid.view.SubGrid} params.event.subGrid The resized subgrid
|
|
3162
|
+
* @param {Event} params.event.domEvent The native DOM event
|
|
3436
3163
|
*/
|
|
3437
3164
|
(e: 'splitterDragEnd', params: ((event: { source: Grid, subGrid: SubGrid, domEvent: Event }) => void)|string): void
|
|
3438
3165
|
/**
|
|
3439
3166
|
* Fired by the Grid when a sub-grid resize gesture starts
|
|
3440
3167
|
* @param {string} e Event name
|
|
3441
3168
|
* @param {object} params Event parameters
|
|
3442
|
-
* @param {
|
|
3443
|
-
* @param {
|
|
3444
|
-
* @param {
|
|
3445
|
-
* @param {
|
|
3446
|
-
* @param {Grid.view.SubGrid} params.params.event.subGrid The subgrid about to be resized
|
|
3447
|
-
* @param {Event} params.params.event.domEvent The native DOM event
|
|
3169
|
+
* @param {object} params.event Event object
|
|
3170
|
+
* @param {Grid.view.Grid} params.event.source The Grid instance.
|
|
3171
|
+
* @param {Grid.view.SubGrid} params.event.subGrid The subgrid about to be resized
|
|
3172
|
+
* @param {Event} params.event.domEvent The native DOM event
|
|
3448
3173
|
*/
|
|
3449
3174
|
(e: 'splitterDragStart', params: ((event: { source: Grid, subGrid: SubGrid, domEvent: Event }) => void)|string): void
|
|
3450
3175
|
/**
|
|
@@ -3452,56 +3177,46 @@ const emit = defineEmits<{
|
|
|
3452
3177
|
* if you want to implement your own behavior.
|
|
3453
3178
|
* @param {string} e Event name
|
|
3454
3179
|
* @param {object} params Event parameters
|
|
3455
|
-
* @param {
|
|
3456
|
-
* @param {
|
|
3457
|
-
* @param {
|
|
3458
|
-
* @param {
|
|
3459
|
-
* @param {Grid.view.SubGrid} params.params.event.subGrid The subgrid
|
|
3460
|
-
* @param {Event} params.params.event.domEvent The native DOM event
|
|
3180
|
+
* @param {object} params.event Event object
|
|
3181
|
+
* @param {Grid.view.Grid} params.event.source The Grid instance.
|
|
3182
|
+
* @param {Grid.view.SubGrid} params.event.subGrid The subgrid
|
|
3183
|
+
* @param {Event} params.event.domEvent The native DOM event
|
|
3461
3184
|
*/
|
|
3462
|
-
(e: 'splitterExpandClick', params: ((event: { source: Grid, subGrid: SubGrid, domEvent: Event }) =>
|
|
3185
|
+
(e: 'splitterExpandClick', params: ((event: { source: Grid, subGrid: SubGrid, domEvent: Event }) => boolean|void)|string): boolean|void
|
|
3463
3186
|
/**
|
|
3464
3187
|
* Fires on the owning Grid when editing starts
|
|
3465
3188
|
* @param {string} e Event name
|
|
3466
3189
|
* @param {object} params Event parameters
|
|
3467
|
-
* @param {
|
|
3468
|
-
* @param {
|
|
3469
|
-
* @param {
|
|
3470
|
-
* @param {Grid.view.Grid} params.params.event.source Owner grid
|
|
3471
|
-
* @param {CellEditorContext} params.params.event.editorContext Editing context
|
|
3190
|
+
* @param {object} params.event Event object
|
|
3191
|
+
* @param {Grid.view.Grid} params.event.source Owner grid
|
|
3192
|
+
* @param {CellEditorContext} params.event.editorContext Editing context
|
|
3472
3193
|
*/
|
|
3473
3194
|
(e: 'startCellEdit', params: ((event: { source: Grid, editorContext: CellEditorContext }) => void)|string): void
|
|
3474
3195
|
/**
|
|
3475
3196
|
* Fires on the owning Grid when editing starts
|
|
3476
3197
|
* @param {string} e Event name
|
|
3477
3198
|
* @param {object} params Event parameters
|
|
3478
|
-
* @param {
|
|
3479
|
-
* @param {
|
|
3480
|
-
* @param {
|
|
3481
|
-
* @param {Grid.view.Grid} params.params.event.source Owner grid
|
|
3482
|
-
* @param {RowEditorContext} params.params.event.editorContext Editing context
|
|
3199
|
+
* @param {object} params.event Event object
|
|
3200
|
+
* @param {Grid.view.Grid} params.event.source Owner grid
|
|
3201
|
+
* @param {RowEditorContext} params.event.editorContext Editing context
|
|
3483
3202
|
*/
|
|
3484
3203
|
(e: 'startRowEdit', params: ((event: { source: Grid, editorContext: RowEditorContext }) => void)|string): void
|
|
3485
3204
|
/**
|
|
3486
3205
|
* Fires after a sub grid is collapsed.
|
|
3487
3206
|
* @param {string} e Event name
|
|
3488
3207
|
* @param {object} params Event parameters
|
|
3489
|
-
* @param {
|
|
3490
|
-
* @param {
|
|
3491
|
-
* @param {
|
|
3492
|
-
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
|
|
3493
|
-
* @param {Grid.view.SubGrid} params.params.event.subGrid The sub grid instance
|
|
3208
|
+
* @param {object} params.event Event object
|
|
3209
|
+
* @param {Grid.view.GridBase} params.event.source The firing Grid instance
|
|
3210
|
+
* @param {Grid.view.SubGrid} params.event.subGrid The sub grid instance
|
|
3494
3211
|
*/
|
|
3495
3212
|
(e: 'subGridCollapse', params: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string): void
|
|
3496
3213
|
/**
|
|
3497
3214
|
* Fires after a sub grid is expanded.
|
|
3498
3215
|
* @param {string} e Event name
|
|
3499
3216
|
* @param {object} params Event parameters
|
|
3500
|
-
* @param {
|
|
3501
|
-
* @param {
|
|
3502
|
-
* @param {
|
|
3503
|
-
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
|
|
3504
|
-
* @param {Grid.view.SubGrid} params.params.event.subGrid The sub grid instance
|
|
3217
|
+
* @param {object} params.event Event object
|
|
3218
|
+
* @param {Grid.view.GridBase} params.event.source The firing Grid instance
|
|
3219
|
+
* @param {Grid.view.SubGrid} params.event.subGrid The sub grid instance
|
|
3505
3220
|
*/
|
|
3506
3221
|
(e: 'subGridExpand', params: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string): void
|
|
3507
3222
|
/**
|
|
@@ -3509,63 +3224,53 @@ const emit = defineEmits<{
|
|
|
3509
3224
|
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-tickSizeChange)
|
|
3510
3225
|
* @param {string} e Event name
|
|
3511
3226
|
* @param {object} params Event parameters
|
|
3512
|
-
* @param {
|
|
3513
|
-
* @param {
|
|
3514
|
-
* @param {
|
|
3515
|
-
* @param {Scheduler.view.Scheduler} params.params.event.source This Scheduler instance.
|
|
3516
|
-
* @param {number} params.params.event.tickSize The tick size in pixels
|
|
3227
|
+
* @param {object} params.event Event object
|
|
3228
|
+
* @param {Scheduler.view.Scheduler} params.event.source This Scheduler instance.
|
|
3229
|
+
* @param {number} params.event.tickSize The tick size in pixels
|
|
3517
3230
|
*/
|
|
3518
3231
|
(e: 'tickSizeChange', params: ((event: { source: Scheduler, tickSize: number }) => void)|string): void
|
|
3519
3232
|
/**
|
|
3520
3233
|
* Fired when the timeaxis has changed, for example by zooming or configuring a new time span.
|
|
3521
3234
|
* @param {string} e Event name
|
|
3522
3235
|
* @param {object} params Event parameters
|
|
3523
|
-
* @param {
|
|
3524
|
-
* @param {
|
|
3525
|
-
* @param {object} params.
|
|
3526
|
-
* @param {
|
|
3527
|
-
* @param {
|
|
3528
|
-
* @param {Date} params.params.event.config.startDate New start date (if supplied)
|
|
3529
|
-
* @param {Date} params.params.event.config.endDate New end date (if supplied)
|
|
3236
|
+
* @param {object} params.event Event object
|
|
3237
|
+
* @param {Scheduler.view.Scheduler} params.event.source This Scheduler
|
|
3238
|
+
* @param {object} params.event.config Config object used to reconfigure the time axis.
|
|
3239
|
+
* @param {Date} params.event.config.startDate New start date (if supplied)
|
|
3240
|
+
* @param {Date} params.event.config.endDate New end date (if supplied)
|
|
3530
3241
|
*/
|
|
3531
3242
|
(e: 'timeAxisChange', params: ((event: { source: Scheduler, config: { startDate: Date, endDate: Date } }) => void)|string): void
|
|
3532
3243
|
/**
|
|
3533
3244
|
* Fires after a click on a time axis cell
|
|
3534
3245
|
* @param {string} e Event name
|
|
3535
3246
|
* @param {object} params Event parameters
|
|
3536
|
-
* @param {
|
|
3537
|
-
* @param {
|
|
3538
|
-
* @param {
|
|
3539
|
-
* @param {
|
|
3540
|
-
* @param {
|
|
3541
|
-
* @param {Date} params.params.event.endDate The end date of the header cell
|
|
3542
|
-
* @param {Event} params.params.event.event The event object
|
|
3247
|
+
* @param {object} params.event Event object
|
|
3248
|
+
* @param {Scheduler.column.TimeAxisColumn,Scheduler.column.VerticalTimeAxisColumn} params.event.source The column object
|
|
3249
|
+
* @param {Date} params.event.startDate The start date of the header cell
|
|
3250
|
+
* @param {Date} params.event.endDate The end date of the header cell
|
|
3251
|
+
* @param {Event} params.event.event The event object
|
|
3543
3252
|
*/
|
|
3544
3253
|
(e: 'timeAxisHeaderClick', params: ((event: { source: TimeAxisColumn|VerticalTimeAxisColumn, startDate: Date, endDate: Date, event: Event }) => void)|string): void
|
|
3545
3254
|
/**
|
|
3546
3255
|
* Fires after a right click on a time axis cell
|
|
3547
3256
|
* @param {string} e Event name
|
|
3548
3257
|
* @param {object} params Event parameters
|
|
3549
|
-
* @param {
|
|
3550
|
-
* @param {
|
|
3551
|
-
* @param {
|
|
3552
|
-
* @param {
|
|
3553
|
-
* @param {
|
|
3554
|
-
* @param {Date} params.params.event.endDate The end date of the header cell
|
|
3555
|
-
* @param {Event} params.params.event.event The event object
|
|
3258
|
+
* @param {object} params.event Event object
|
|
3259
|
+
* @param {Scheduler.column.TimeAxisColumn,Scheduler.column.VerticalTimeAxisColumn} params.event.source The column object
|
|
3260
|
+
* @param {Date} params.event.startDate The start date of the header cell
|
|
3261
|
+
* @param {Date} params.event.endDate The end date of the header cell
|
|
3262
|
+
* @param {Event} params.event.event The event object
|
|
3556
3263
|
*/
|
|
3557
3264
|
(e: 'timeAxisHeaderContextMenu', params: ((event: { source: TimeAxisColumn|VerticalTimeAxisColumn, startDate: Date, endDate: Date, event: Event }) => void)|string): void
|
|
3558
3265
|
/**
|
|
3559
3266
|
* Fires after a double click on a time axis cell
|
|
3560
3267
|
* @param {string} e Event name
|
|
3561
3268
|
* @param {object} params Event parameters
|
|
3562
|
-
* @param {
|
|
3563
|
-
* @param {
|
|
3564
|
-
* @param {
|
|
3565
|
-
* @param {
|
|
3566
|
-
* @param {
|
|
3567
|
-
* @param {Date} params.params.event.endDate The end date of the header cell
|
|
3568
|
-
* @param {Event} params.params.event.event The event object
|
|
3269
|
+
* @param {object} params.event Event object
|
|
3270
|
+
* @param {Scheduler.column.TimeAxisColumn,Scheduler.column.VerticalTimeAxisColumn} params.event.source The column object
|
|
3271
|
+
* @param {Date} params.event.startDate The start date of the header cell
|
|
3272
|
+
* @param {Date} params.event.endDate The end date of the header cell
|
|
3273
|
+
* @param {Event} params.event.event The event object
|
|
3569
3274
|
*/
|
|
3570
3275
|
(e: 'timeAxisHeaderDblClick', params: ((event: { source: TimeAxisColumn|VerticalTimeAxisColumn, startDate: Date, endDate: Date, event: Event }) => void)|string): void
|
|
3571
3276
|
/**
|
|
@@ -3574,50 +3279,42 @@ const emit = defineEmits<{
|
|
|
3574
3279
|
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-timeAxisHeaderMenuBeforeShow)
|
|
3575
3280
|
* @param {string} e Event name
|
|
3576
3281
|
* @param {object} params Event parameters
|
|
3577
|
-
* @param {
|
|
3578
|
-
* @param {
|
|
3579
|
-
* @param {
|
|
3580
|
-
* @param {
|
|
3581
|
-
* @param {
|
|
3582
|
-
* @param {Record<string, MenuItemEntry>} params.params.event.items Menu item configs
|
|
3583
|
-
* @param {Grid.column.Column} params.params.event.column Time axis column
|
|
3282
|
+
* @param {object} params.event Event object
|
|
3283
|
+
* @param {Scheduler.view.Scheduler} params.event.source The scheduler
|
|
3284
|
+
* @param {Core.widget.Menu} params.event.menu The menu
|
|
3285
|
+
* @param {Record<string, MenuItemEntry>} params.event.items Menu item configs
|
|
3286
|
+
* @param {Grid.column.Column} params.event.column Time axis column
|
|
3584
3287
|
*/
|
|
3585
|
-
(e: 'timeAxisHeaderMenuBeforeShow', params: ((event: { source: Scheduler, menu: Menu, items: Record<string, MenuItemEntry>, column: Column }) =>
|
|
3288
|
+
(e: 'timeAxisHeaderMenuBeforeShow', params: ((event: { source: Scheduler, menu: Menu, items: Record<string, MenuItemEntry>, column: Column }) => boolean|void)|string): boolean|void
|
|
3586
3289
|
/**
|
|
3587
3290
|
* This event fires on the owning Scheduler or Gantt widget when an item is selected in the header context menu.
|
|
3588
3291
|
* @param {string} e Event name
|
|
3589
3292
|
* @param {object} params Event parameters
|
|
3590
|
-
* @param {
|
|
3591
|
-
* @param {
|
|
3592
|
-
* @param {
|
|
3593
|
-
* @param {
|
|
3594
|
-
* @param {
|
|
3595
|
-
* @param {Core.widget.MenuItem} params.params.event.item Selected menu item
|
|
3596
|
-
* @param {Grid.column.Column} params.params.event.column Time axis column
|
|
3293
|
+
* @param {object} params.event Event object
|
|
3294
|
+
* @param {Scheduler.view.Scheduler} params.event.source The scheduler
|
|
3295
|
+
* @param {Core.widget.Menu} params.event.menu The menu
|
|
3296
|
+
* @param {Core.widget.MenuItem} params.event.item Selected menu item
|
|
3297
|
+
* @param {Grid.column.Column} params.event.column Time axis column
|
|
3597
3298
|
*/
|
|
3598
3299
|
(e: 'timeAxisHeaderMenuItem', params: ((event: { source: Scheduler, menu: Menu, item: MenuItem, column: Column }) => void)|string): void
|
|
3599
3300
|
/**
|
|
3600
3301
|
* This event fires on the owning Scheduler or Gantt widget after the context menu is shown for a header
|
|
3601
3302
|
* @param {string} e Event name
|
|
3602
3303
|
* @param {object} params Event parameters
|
|
3603
|
-
* @param {
|
|
3604
|
-
* @param {
|
|
3605
|
-
* @param {
|
|
3606
|
-
* @param {
|
|
3607
|
-
* @param {
|
|
3608
|
-
* @param {Record<string, MenuItemEntry>} params.params.event.items Menu item configs
|
|
3609
|
-
* @param {Grid.column.Column} params.params.event.column Time axis column
|
|
3304
|
+
* @param {object} params.event Event object
|
|
3305
|
+
* @param {Scheduler.view.Scheduler} params.event.source The scheduler
|
|
3306
|
+
* @param {Core.widget.Menu} params.event.menu The menu
|
|
3307
|
+
* @param {Record<string, MenuItemEntry>} params.event.items Menu item configs
|
|
3308
|
+
* @param {Grid.column.Column} params.event.column Time axis column
|
|
3610
3309
|
*/
|
|
3611
3310
|
(e: 'timeAxisHeaderMenuShow', params: ((event: { source: Scheduler, menu: Menu, items: Record<string, MenuItemEntry>, column: Column }) => void)|string): void
|
|
3612
3311
|
/**
|
|
3613
3312
|
* Fired when the pointer-activated [timelineContext](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/mixin/TimelineDomEvents#property-timelineContext) has changed.
|
|
3614
3313
|
* @param {string} e Event name
|
|
3615
3314
|
* @param {object} params Event parameters
|
|
3616
|
-
* @param {
|
|
3617
|
-
* @param {
|
|
3618
|
-
* @param {
|
|
3619
|
-
* @param {Scheduler.util.TimelineContext} params.params.event.oldContext The tick/resource context being deactivated.
|
|
3620
|
-
* @param {Scheduler.util.TimelineContext} params.params.event.context The tick/resource context being activated.
|
|
3315
|
+
* @param {object} params.event Event object
|
|
3316
|
+
* @param {Scheduler.util.TimelineContext} params.event.oldContext The tick/resource context being deactivated.
|
|
3317
|
+
* @param {Scheduler.util.TimelineContext} params.event.context The tick/resource context being activated.
|
|
3621
3318
|
*/
|
|
3622
3319
|
(e: 'timelineContextChange', params: ((event: { oldContext: TimelineContext, context: TimelineContext }) => void)|string): void
|
|
3623
3320
|
/**
|
|
@@ -3626,107 +3323,89 @@ const emit = defineEmits<{
|
|
|
3626
3323
|
* scheduler column changes width.
|
|
3627
3324
|
* @param {string} e Event name
|
|
3628
3325
|
* @param {object} params Event parameters
|
|
3629
|
-
* @param {
|
|
3630
|
-
* @param {
|
|
3631
|
-
* @param {
|
|
3632
|
-
* @param {
|
|
3633
|
-
* @param {number} params.
|
|
3634
|
-
* @param {number} params.
|
|
3635
|
-
* @param {number} params.params.event.oldWidth The old width
|
|
3636
|
-
* @param {number} params.params.event.oldHeight The old height
|
|
3326
|
+
* @param {object} params.event Event object
|
|
3327
|
+
* @param {Core.widget.Widget} params.event.source This Scheduler
|
|
3328
|
+
* @param {number} params.event.width The new width
|
|
3329
|
+
* @param {number} params.event.height The new height
|
|
3330
|
+
* @param {number} params.event.oldWidth The old width
|
|
3331
|
+
* @param {number} params.event.oldHeight The old height
|
|
3637
3332
|
*/
|
|
3638
3333
|
(e: 'timelineViewportResize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void
|
|
3639
3334
|
/**
|
|
3640
3335
|
* Fired on the owning Scheduler or Gantt widget when a click happens on a time range header element
|
|
3641
3336
|
* @param {string} e Event name
|
|
3642
3337
|
* @param {object} params Event parameters
|
|
3643
|
-
* @param {
|
|
3644
|
-
* @param {
|
|
3645
|
-
* @param {
|
|
3646
|
-
* @param {
|
|
3647
|
-
* @param {Scheduler.model.TimeSpan} params.params.event.timeRangeRecord The record
|
|
3648
|
-
* @param {MouseEvent} params.params.event.domEvent Browser event
|
|
3338
|
+
* @param {object} params.event Event object
|
|
3339
|
+
* @param {Scheduler.view.Scheduler} params.event.source Scheduler instance
|
|
3340
|
+
* @param {Scheduler.model.TimeSpan} params.event.timeRangeRecord The record
|
|
3341
|
+
* @param {MouseEvent} params.event.domEvent Browser event
|
|
3649
3342
|
*/
|
|
3650
3343
|
(e: 'timeRangeHeaderClick', params: ((event: { source: Scheduler, timeRangeRecord: TimeSpan, domEvent: MouseEvent }) => void)|string): void
|
|
3651
3344
|
/**
|
|
3652
3345
|
* Fired on the owning Scheduler or Gantt widget when a right click happens on a time range header element
|
|
3653
3346
|
* @param {string} e Event name
|
|
3654
3347
|
* @param {object} params Event parameters
|
|
3655
|
-
* @param {
|
|
3656
|
-
* @param {
|
|
3657
|
-
* @param {
|
|
3658
|
-
* @param {
|
|
3659
|
-
* @param {Scheduler.model.TimeSpan} params.params.event.timeRangeRecord The record
|
|
3660
|
-
* @param {MouseEvent} params.params.event.domEvent Browser event
|
|
3348
|
+
* @param {object} params.event Event object
|
|
3349
|
+
* @param {Scheduler.view.Scheduler} params.event.source Scheduler instance
|
|
3350
|
+
* @param {Scheduler.model.TimeSpan} params.event.timeRangeRecord The record
|
|
3351
|
+
* @param {MouseEvent} params.event.domEvent Browser event
|
|
3661
3352
|
*/
|
|
3662
3353
|
(e: 'timeRangeHeaderContextMenu', params: ((event: { source: Scheduler, timeRangeRecord: TimeSpan, domEvent: MouseEvent }) => void)|string): void
|
|
3663
3354
|
/**
|
|
3664
3355
|
* Fired on the owning Scheduler or Gantt widget when a double click happens on a time range header element
|
|
3665
3356
|
* @param {string} e Event name
|
|
3666
3357
|
* @param {object} params Event parameters
|
|
3667
|
-
* @param {
|
|
3668
|
-
* @param {
|
|
3669
|
-
* @param {
|
|
3670
|
-
* @param {
|
|
3671
|
-
* @param {Scheduler.model.TimeSpan} params.params.event.timeRangeRecord The record
|
|
3672
|
-
* @param {MouseEvent} params.params.event.domEvent Browser event
|
|
3358
|
+
* @param {object} params.event Event object
|
|
3359
|
+
* @param {Scheduler.view.Scheduler} params.event.source Scheduler instance
|
|
3360
|
+
* @param {Scheduler.model.TimeSpan} params.event.timeRangeRecord The record
|
|
3361
|
+
* @param {MouseEvent} params.event.domEvent Browser event
|
|
3673
3362
|
*/
|
|
3674
3363
|
(e: 'timeRangeHeaderDblClick', params: ((event: { source: Scheduler, timeRangeRecord: TimeSpan, domEvent: MouseEvent }) => void)|string): void
|
|
3675
3364
|
/**
|
|
3676
3365
|
* Fired when one or more groups are expanded or collapsed
|
|
3677
3366
|
* @param {string} e Event name
|
|
3678
3367
|
* @param {object} params Event parameters
|
|
3679
|
-
* @param {
|
|
3680
|
-
* @param {
|
|
3681
|
-
* @param {
|
|
3682
|
-
* @param {
|
|
3683
|
-
* @param {
|
|
3684
|
-
* @param {boolean} params.params.event.collapse Collapsed (true) or expanded (false)
|
|
3685
|
-
* @param {boolean} [params.params.event.allRecords] True if this event is part of toggling all groups
|
|
3368
|
+
* @param {object} params.event Event object
|
|
3369
|
+
* @param {Core.data.Model} params.event.groupRecord [DEPRECATED] Use `groupRecords` param instead
|
|
3370
|
+
* @param {Core.data.Model[]} params.event.groupRecords The group records being toggled
|
|
3371
|
+
* @param {boolean} params.event.collapse Collapsed (true) or expanded (false)
|
|
3372
|
+
* @param {boolean} [params.event.allRecords] True if this event is part of toggling all groups
|
|
3686
3373
|
*/
|
|
3687
3374
|
(e: 'toggleGroup', params: ((event: { groupRecord: Model, groupRecords: Model[], collapse: boolean, allRecords?: boolean }) => void)|string): void
|
|
3688
3375
|
/**
|
|
3689
3376
|
* Fired after a parent node record toggles its collapsed state.
|
|
3690
3377
|
* @param {string} e Event name
|
|
3691
3378
|
* @param {object} params Event parameters
|
|
3692
|
-
* @param {
|
|
3693
|
-
* @param {
|
|
3694
|
-
* @param {
|
|
3695
|
-
* @param {Core.data.Model} params.params.event.record The record being toggled.
|
|
3696
|
-
* @param {boolean} params.params.event.collapse `true` if the node is being collapsed.
|
|
3379
|
+
* @param {object} params.event Event object
|
|
3380
|
+
* @param {Core.data.Model} params.event.record The record being toggled.
|
|
3381
|
+
* @param {boolean} params.event.collapse `true` if the node is being collapsed.
|
|
3697
3382
|
*/
|
|
3698
3383
|
(e: 'toggleNode', params: ((event: { record: Model, collapse: boolean }) => void)|string): void
|
|
3699
3384
|
/**
|
|
3700
3385
|
* A header [tool](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-tools) has been clicked.
|
|
3701
3386
|
* @param {string} e Event name
|
|
3702
3387
|
* @param {object} params Event parameters
|
|
3703
|
-
* @param {
|
|
3704
|
-
* @param {
|
|
3705
|
-
* @param {
|
|
3706
|
-
* @param {Core.widget.Tool} params.params.event.source This Panel.
|
|
3707
|
-
* @param {Core.widget.Tool} params.params.event.tool The tool which is being clicked.
|
|
3388
|
+
* @param {object} params.event Event object
|
|
3389
|
+
* @param {Core.widget.Tool} params.event.source This Panel.
|
|
3390
|
+
* @param {Core.widget.Tool} params.event.tool The tool which is being clicked.
|
|
3708
3391
|
*/
|
|
3709
3392
|
(e: 'toolClick', params: ((event: { source: Tool, tool: Tool }) => void)|string): void
|
|
3710
3393
|
/**
|
|
3711
3394
|
* Fired on the owning Grid/Scheduler/Gantt after tree grouping levels change
|
|
3712
3395
|
* @param {string} e Event name
|
|
3713
3396
|
* @param {object} params Event parameters
|
|
3714
|
-
* @param {
|
|
3715
|
-
* @param {
|
|
3716
|
-
* @param {
|
|
3717
|
-
* @param {
|
|
3718
|
-
* @param {(string|Function)[]} params.params.event.groupers Array of field names or functions representing the current grouping levels
|
|
3719
|
-
* @param {(string|Function)[]} params.params.event.oldGroupers Array of field names or functions representing the previous grouping levels
|
|
3397
|
+
* @param {object} params.event Event object
|
|
3398
|
+
* @param {Grid.view.Grid} params.event.source The grid instance
|
|
3399
|
+
* @param {(string|Function)[]} params.event.groupers Array of field names or functions representing the current grouping levels
|
|
3400
|
+
* @param {(string|Function)[]} params.event.oldGroupers Array of field names or functions representing the previous grouping levels
|
|
3720
3401
|
*/
|
|
3721
3402
|
(e: 'treeGroup', params: ((event: { source: Grid, groupers: (string|Function)[], oldGroupers: (string|Function)[] }) => void)|string): void
|
|
3722
3403
|
/**
|
|
3723
3404
|
* Fires when row locking is disabled.
|
|
3724
3405
|
* @param {string} e Event name
|
|
3725
3406
|
* @param {object} params Event parameters
|
|
3726
|
-
* @param {
|
|
3727
|
-
* @param {
|
|
3728
|
-
* @param {object} params.params.event Event object
|
|
3729
|
-
* @param {Grid.view.GridBase} params.params.event.clone The locked clone that will be destroyed
|
|
3407
|
+
* @param {object} params.event Event object
|
|
3408
|
+
* @param {Grid.view.GridBase} params.event.clone The locked clone that will be destroyed
|
|
3730
3409
|
*/
|
|
3731
3410
|
(e: 'unlockRows', params: ((event: { clone: GridBase }) => void)|string): void
|
|
3732
3411
|
/**
|
|
@@ -3739,16 +3418,14 @@ const emit = defineEmits<{
|
|
|
3739
3418
|
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-visibleDateRangeChange)
|
|
3740
3419
|
* @param {string} e Event name
|
|
3741
3420
|
* @param {object} params Event parameters
|
|
3742
|
-
* @param {
|
|
3743
|
-
* @param {
|
|
3744
|
-
* @param {object} params.
|
|
3745
|
-
* @param {
|
|
3746
|
-
* @param {
|
|
3747
|
-
* @param {
|
|
3748
|
-
* @param {Date} params.
|
|
3749
|
-
* @param {
|
|
3750
|
-
* @param {Date} params.params.event.new.startDate the new start date.
|
|
3751
|
-
* @param {Date} params.params.event.new.endDate the new end date.
|
|
3421
|
+
* @param {object} params.event Event object
|
|
3422
|
+
* @param {Scheduler.view.Scheduler} params.event.source This Scheduler instance.
|
|
3423
|
+
* @param {object} params.event.old The old date range
|
|
3424
|
+
* @param {Date} params.event.old.startDate the old start date.
|
|
3425
|
+
* @param {Date} params.event.old.endDate the old end date.
|
|
3426
|
+
* @param {object} params.event.new The new date range
|
|
3427
|
+
* @param {Date} params.event.new.startDate the new start date.
|
|
3428
|
+
* @param {Date} params.event.new.endDate the new end date.
|
|
3752
3429
|
*/
|
|
3753
3430
|
(e: 'visibleDateRangeChange', params: ((event: { source: Scheduler, old: { startDate: Date, endDate: Date }, new: { startDate: Date, endDate: Date } }) => void)|string): void
|
|
3754
3431
|
/**
|
|
@@ -3756,11 +3433,9 @@ const emit = defineEmits<{
|
|
|
3756
3433
|
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-zoomLevelChange)
|
|
3757
3434
|
* @param {string} e Event name
|
|
3758
3435
|
* @param {object} params Event parameters
|
|
3759
|
-
* @param {
|
|
3760
|
-
* @param {
|
|
3761
|
-
* @param {
|
|
3762
|
-
* @param {Scheduler.view.TimelineBase} params.params.event.source
|
|
3763
|
-
* @param {number} params.params.event.zoomLevel New zoom level
|
|
3436
|
+
* @param {object} params.event Event object
|
|
3437
|
+
* @param {Scheduler.view.TimelineBase} params.event.source
|
|
3438
|
+
* @param {number} params.event.zoomLevel New zoom level
|
|
3764
3439
|
*/
|
|
3765
3440
|
(e: 'zoomLevelChange', params: ((event: { source: TimelineBase, zoomLevel: number }) => void)|string): void
|
|
3766
3441
|
}>();
|
|
@@ -3916,6 +3591,7 @@ const widgetData = {
|
|
|
3916
3591
|
'preserveFocusOnDatasetChange',
|
|
3917
3592
|
'preserveScrollOnDatasetChange',
|
|
3918
3593
|
'preventTooltipOnTouch',
|
|
3594
|
+
'projectModelClass',
|
|
3919
3595
|
'relayStoreEvents',
|
|
3920
3596
|
'resizable',
|
|
3921
3597
|
'resizeToFitIncludesHeader',
|