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