@bryntum/schedulerpro-vue-3-thin 7.2.4 → 7.3.0
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 +7 -7
- package/lib/chunks/{D4JDuI0s.js → B4dVznPx.js} +1 -8
- package/lib/chunks/B4dVznPx.js.map +1 -0
- package/lib/chunks/{BhUeT19h.js → BFFz1c24.js} +5 -5
- package/lib/chunks/BFFz1c24.js.map +1 -0
- package/lib/chunks/{BJPdcix1.js → BIkGnHve.js} +3 -3
- package/lib/chunks/BIkGnHve.js.map +1 -0
- package/lib/chunks/{BRGc8bUJ.js → BNBuOpUp.js} +8 -7
- package/lib/chunks/BNBuOpUp.js.map +1 -0
- package/lib/chunks/{BjTPjWi9.js → Bp7aU5Ia.js} +6 -6
- package/lib/chunks/Bp7aU5Ia.js.map +1 -0
- package/lib/chunks/{CuODT2-U.js → C3Dz-ovY.js} +3 -3
- package/lib/chunks/C3Dz-ovY.js.map +1 -0
- package/lib/chunks/{BTT_cGQU.js → CPjow0gO.js} +8 -9
- package/lib/chunks/CPjow0gO.js.map +1 -0
- package/lib/chunks/{DYBe70El.js → CqtUB81W.js} +18 -11
- package/lib/chunks/CqtUB81W.js.map +1 -0
- package/lib/chunks/{C41opZKx.js → CvNpXefN.js} +18 -11
- package/lib/chunks/CvNpXefN.js.map +1 -0
- package/lib/chunks/{BbI7XKMd.js → D0hJ3P6L.js} +5 -3
- package/lib/chunks/D0hJ3P6L.js.map +1 -0
- package/lib/chunks/{BpAvqwr_.js → D1a3F6m-.js} +23 -13
- package/lib/chunks/D1a3F6m-.js.map +1 -0
- package/lib/chunks/{CGbW6pgm.js → DPA-xEW5.js} +8 -9
- package/lib/chunks/DPA-xEW5.js.map +1 -0
- package/lib/chunks/{MOjUZ-Rj.js → DdbMybqv.js} +5 -5
- package/lib/chunks/DdbMybqv.js.map +1 -0
- package/lib/chunks/{DGV7a5Xo.js → DjFBhm9P.js} +6 -6
- package/lib/chunks/DjFBhm9P.js.map +1 -0
- package/lib/chunks/{Dz-up1_i.js → DmFXOMJ5.js} +5 -5
- package/lib/chunks/DmFXOMJ5.js.map +1 -0
- package/lib/chunks/{DwzPrR90.js → Pb5GbfMi.js} +5 -5
- package/lib/chunks/Pb5GbfMi.js.map +1 -0
- package/lib/chunks/{M0cBUV91.js → W-pa3HyX.js} +6 -6
- package/lib/chunks/W-pa3HyX.js.map +1 -0
- package/lib/chunks/{CJFZbm_i.js → b8yreHIz.js} +23 -13
- package/lib/chunks/b8yreHIz.js.map +1 -0
- package/lib/chunks/{9jfNe_y3.js → oM3gO3yH.js} +14 -8
- package/lib/chunks/oM3gO3yH.js.map +1 -0
- package/lib/chunks/{BO8FwQoh.js → p1r0F5YC.js} +6 -6
- package/lib/chunks/p1r0F5YC.js.map +1 -0
- package/lib/chunks/{DlNFp5e-.js → s35t-2ke.js} +10 -10
- package/lib/chunks/s35t-2ke.js.map +1 -0
- package/lib/chunks/{j8JzZ-07.js → yF4wtntA.js} +4 -4
- package/lib/chunks/yF4wtntA.js.map +1 -0
- package/lib/components/BryntumCalendarEditor.js +1 -1
- 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/BryntumResourceEditor.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/BryntumSchedulerProProjectModel.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/BryntumThemeCombo.js +57 -0
- package/lib/components/BryntumThemeCombo.js.map +1 -0
- package/lib/components/BryntumTimeline.js +1 -1
- package/lib/components/BryntumVersionGrid.js +1 -1
- package/lib/index.js +22 -22
- package/package.json +1 -1
- package/src/components/BryntumCalendarEditor.vue +127 -186
- package/src/components/BryntumCalendarEditorProps.ts +123 -177
- package/src/components/BryntumCalendarField.vue +91 -151
- package/src/components/BryntumCalendarFieldProps.ts +87 -143
- package/src/components/BryntumConstraintTypePicker.vue +91 -151
- package/src/components/BryntumConstraintTypePickerProps.ts +87 -143
- package/src/components/BryntumCostAccrualField.vue +91 -151
- package/src/components/BryntumCostAccrualFieldProps.ts +87 -143
- package/src/components/BryntumDependencyTypePicker.vue +91 -151
- package/src/components/BryntumDependencyTypePickerProps.ts +87 -143
- package/src/components/BryntumEffortField.vue +79 -124
- package/src/components/BryntumEffortFieldProps.ts +73 -114
- package/src/components/BryntumEndDateField.vue +79 -122
- package/src/components/BryntumEndDateFieldProps.ts +75 -114
- package/src/components/BryntumModelCombo.vue +91 -151
- package/src/components/BryntumModelComboProps.ts +87 -143
- package/src/components/BryntumRateTableField.vue +91 -151
- package/src/components/BryntumRateTableFieldProps.ts +87 -143
- package/src/components/BryntumResourceEditor.vue +126 -184
- package/src/components/BryntumResourceEditorProps.ts +122 -175
- package/src/components/BryntumResourceGrid.vue +204 -293
- package/src/components/BryntumResourceGridProps.ts +187 -263
- package/src/components/BryntumResourceHistogram.vue +335 -458
- package/src/components/BryntumResourceHistogramProps.ts +287 -402
- package/src/components/BryntumResourceTypeField.vue +91 -151
- package/src/components/BryntumResourceTypeFieldProps.ts +87 -143
- package/src/components/BryntumResourceUtilization.vue +335 -458
- package/src/components/BryntumResourceUtilizationProps.ts +288 -404
- package/src/components/BryntumSchedulerPro.vue +504 -643
- package/src/components/BryntumSchedulerProBase.vue +504 -643
- package/src/components/BryntumSchedulerProBaseProps.ts +408 -556
- package/src/components/BryntumSchedulerProProjectModel.vue +63 -107
- package/src/components/BryntumSchedulerProProjectModelProps.ts +55 -85
- package/src/components/BryntumSchedulerProProps.ts +408 -556
- package/src/components/BryntumSchedulingDirectionPicker.vue +91 -151
- package/src/components/BryntumSchedulingDirectionPickerProps.ts +87 -143
- package/src/components/BryntumSchedulingModePicker.vue +92 -153
- package/src/components/BryntumSchedulingModePickerProps.ts +88 -145
- package/src/components/BryntumStartDateField.vue +81 -126
- package/src/components/BryntumStartDateFieldProps.ts +77 -118
- package/src/components/BryntumThemeCombo.vue +60 -0
- package/src/components/BryntumTimeline.vue +425 -594
- package/src/components/BryntumTimelineProps.ts +366 -519
- package/src/components/BryntumVersionGrid.vue +203 -290
- package/src/components/BryntumVersionGridProps.ts +186 -261
- package/lib/chunks/9jfNe_y3.js.map +0 -1
- package/lib/chunks/BJPdcix1.js.map +0 -1
- package/lib/chunks/BO8FwQoh.js.map +0 -1
- package/lib/chunks/BRGc8bUJ.js.map +0 -1
- package/lib/chunks/BTT_cGQU.js.map +0 -1
- package/lib/chunks/BbI7XKMd.js.map +0 -1
- package/lib/chunks/BhUeT19h.js.map +0 -1
- package/lib/chunks/BjTPjWi9.js.map +0 -1
- package/lib/chunks/BpAvqwr_.js.map +0 -1
- package/lib/chunks/C41opZKx.js.map +0 -1
- package/lib/chunks/CGbW6pgm.js.map +0 -1
- package/lib/chunks/CJFZbm_i.js.map +0 -1
- package/lib/chunks/CuODT2-U.js.map +0 -1
- package/lib/chunks/D4JDuI0s.js.map +0 -1
- package/lib/chunks/DGV7a5Xo.js.map +0 -1
- package/lib/chunks/DYBe70El.js.map +0 -1
- package/lib/chunks/DlNFp5e-.js.map +0 -1
- package/lib/chunks/DwzPrR90.js.map +0 -1
- package/lib/chunks/Dz-up1_i.js.map +0 -1
- package/lib/chunks/M0cBUV91.js.map +0 -1
- package/lib/chunks/MOjUZ-Rj.js.map +0 -1
- package/lib/chunks/j8JzZ-07.js.map +0 -1
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
|
|
34
34
|
import { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';
|
|
35
35
|
|
|
36
|
-
import type { AjaxStore, AjaxStoreConfig, Base, Color, Container, DomConfig, DurationUnit, FormulaProviderConfig, Histogram, HistogramConfig, HistogramSeries, KeyMapConfig, Mask, MaskConfig, Menu, MenuItem, MenuItemEntry, Model, NumberFormatConfig, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, ScrollManager, ScrollManagerConfig, Scroller, ScrollerConfig, StateProvider, Store, StoreConfig, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, Widget } from '@bryntum/core-thin';
|
|
36
|
+
import type { AjaxStore, AjaxStoreConfig, Base, Color, Container, DomConfig, DurationUnit, FormulaProviderConfig, Histogram, HistogramConfig, HistogramSeries, InstancePlugin, KeyMapConfig, Mask, MaskConfig, Menu, MenuItem, MenuItemEntry, Model, NumberFormatConfig, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, ScrollManager, ScrollManagerConfig, Scroller, ScrollerConfig, StateProvider, Store, StoreConfig, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, Widget } from '@bryntum/core-thin';
|
|
37
37
|
import type { AI as GridAI, AIConfig as GridAIConfig, AIFilter, AIFilterConfig, CellCopyPaste, CellCopyPasteConfig, CellEditorContext, CellMenu, CellMenuConfig, CellTooltip, CellTooltipConfig, Charts, ChartsConfig, Column, ColumnAutoWidth, ColumnAutoWidthConfig, ColumnDragToolbar, ColumnDragToolbarConfig, ColumnPicker, ColumnPickerConfig, ColumnRename, ColumnRenameConfig, ColumnReorder, ColumnReorderConfig, ColumnResize, ColumnResizeConfig, ColumnStore, ColumnStoreConfig, EmptyTextDomConfig, ExcelExporter as GridExcelExporter, ExcelExporterConfig as GridExcelExporterConfig, ExportConfig, FileDrop, FileDropConfig, FillHandle, FillHandleConfig, Filter, FilterBar, FilterBarConfig, FilterConfig, Grid, GridBase, GridLocation, GridLocationConfig, GridSelectionMode, GridStateInfo, Group, GroupConfig, HeaderMenu, HeaderMenuConfig, LockRows as GridLockRows, LockRowsConfig as GridLockRowsConfig, MergeCells, MergeCellsConfig, PdfExport as GridPdfExport, PdfExportConfig as GridPdfExportConfig, PinColumns, PinColumnsConfig, PreserveScrollOptions, Print as GridPrint, PrintConfig as GridPrintConfig, QuickFind, QuickFindConfig, RecordPositionContext, RegionResize, RegionResizeConfig, ResponsiveLevelConfig, Row, RowCopyPaste, RowCopyPasteConfig, RowEdit, RowEditConfig, RowEditorContext, RowExpander, RowExpanderConfig, RowResize as GridRowResize, RowResizeConfig as GridRowResizeConfig, Search, SearchConfig, Sort, SortConfig, StickyCells, StickyCellsConfig, Stripe, StripeConfig, SubGrid, SubGridConfig, Tree, TreeConfig, TreeGroup, TreeGroupConfig, XLSColumn } from '@bryntum/grid-thin';
|
|
38
|
-
import type { AssignmentModel as SchedulerAssignmentModel, ColumnLines, ColumnLinesConfig, EventModel as SchedulerEventModel, GroupSummary, GroupSummaryConfig, HeaderZoom, HeaderZoomConfig, NonWorkingTime, NonWorkingTimeConfig, Pan, PanConfig, PdfExportConfig,
|
|
38
|
+
import type { AssignmentModel as SchedulerAssignmentModel, ColumnLines, ColumnLinesConfig, EventModel as SchedulerEventModel, GroupSummary, GroupSummaryConfig, HeaderZoom, HeaderZoomConfig, NonWorkingTime, NonWorkingTimeConfig, Pan, PanConfig, PdfExportConfig, RecurrenceConfirmationPopupConfig, ResourceMarginConfig, ResourceMenu, ResourceMenuConfig, ResourceModel as SchedulerResourceModel, ResourceTimeRangeModel, ResourceTimeRangeModelConfig, ResourceTimeRangeStore, ResourceTimeRangeStoreConfig, ResourceTimeRanges, ResourceTimeRangesConfig, RowReorder, RowReorderConfig, ScaleColumnConfig, ScalePoint, ScheduleTooltip, ScheduleTooltipConfig, Scheduler, Split, SplitConfig, Summary, SummaryConfig, TimeAxis, TimeAxisColumn, TimeAxisConfig, TimeAxisHeaderMenu, TimeAxisHeaderMenuConfig, TimeRanges, TimeRangesConfig, TimeSpan, TimeSpanConfig, TimelineBase, TimelineContext, TimelineHistogram, VerticalTimeAxisColumn, ViewPreset, ViewPresetConfig, VisibleDate } from '@bryntum/scheduler-thin';
|
|
39
39
|
import type { AllocationCellEdit, AllocationCellEditConfig, AllocationCopyPaste, AllocationCopyPasteConfig, AssignmentAllocationInterval, AssignmentModel, CellEdit, CellEditConfig, SchedulerProContainerItemConfig, SchedulerProColumnConfig, ProjectModel, ProjectModelConfig, ResourceAllocationInfo, ResourceAllocationInterval, ResourceHistogramRenderData, ResourceNonWorkingTime, ResourceNonWorkingTimeConfig, ResourceUtilizationListeners, ResourceUtilizationModel, ResourceUtilizationRenderData, SchedulerPro, TimeSpanHighlight, TimeSpanHighlightConfig } from '@bryntum/schedulerpro-thin';
|
|
40
40
|
import { ResourceUtilization } from '@bryntum/schedulerpro-thin';
|
|
41
41
|
|
|
@@ -46,21 +46,19 @@ defineProps<{
|
|
|
46
46
|
/**
|
|
47
47
|
* Element (or element id) to adopt as this Widget's encapsulating element. The widget's
|
|
48
48
|
* content will be placed inside this element.
|
|
49
|
-
* ...
|
|
50
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-adopt)
|
|
49
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-adopt)
|
|
51
50
|
*/
|
|
52
51
|
adopt ? : HTMLElement|string
|
|
53
52
|
/**
|
|
54
53
|
* A function used for aggregating child records histogram data entries to their parent entry.
|
|
55
|
-
* ...
|
|
56
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-aggregateDataEntry)
|
|
54
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-aggregateDataEntry)
|
|
57
55
|
* @param {object} aggregateDataEntry.aggregated Target parent data entry to aggregate the entry into.
|
|
58
56
|
* @param {object} aggregateDataEntry.entry Current entry to aggregate into `aggregated`.
|
|
59
57
|
* @param {number} aggregateDataEntry.arrayIndex Index of current array (index of the record among other records being aggregated).
|
|
60
58
|
* @param {object[]} aggregateDataEntry.entryIndex Index of `entry` in the current array.
|
|
61
59
|
* @returns {object} Return value becomes the value of the `aggregated` parameter on the next invocation of this function.
|
|
62
60
|
*/
|
|
63
|
-
aggregateDataEntry ? : ((
|
|
61
|
+
aggregateDataEntry ? : (() => object)|string
|
|
64
62
|
/**
|
|
65
63
|
* When `true` the component will automatically calculate data for group records
|
|
66
64
|
* based on the groups members data by calling [getGroupRecordHistogramData](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/mixin/TimelineHistogramGrouping#function-getGroupRecordHistogramData) method.
|
|
@@ -98,22 +96,19 @@ defineProps<{
|
|
|
98
96
|
/**
|
|
99
97
|
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
|
|
100
98
|
* into an element which will be linked using the `aria-describedby` attribute.
|
|
101
|
-
* ...
|
|
102
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-ariaDescription)
|
|
99
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-ariaDescription)
|
|
103
100
|
*/
|
|
104
101
|
ariaDescription ? : string
|
|
105
102
|
/**
|
|
106
103
|
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
|
|
107
104
|
* the `aria-label` attribute.
|
|
108
|
-
* ...
|
|
109
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-ariaLabel)
|
|
105
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-ariaLabel)
|
|
110
106
|
*/
|
|
111
107
|
ariaLabel ? : string
|
|
112
108
|
/**
|
|
113
109
|
* A function that if provided decides whether an assignment should be taken into account or not
|
|
114
110
|
* when collecting allocation.
|
|
115
|
-
* ...
|
|
116
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-assignmentFilterFn)
|
|
111
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-assignmentFilterFn)
|
|
117
112
|
* @param {SchedulerPro.model.AssignmentModel} assignment Assignment to consider
|
|
118
113
|
* @param {ResourceAllocationInfo} resourceAllocationInfo Resource allocation instance
|
|
119
114
|
* @returns {boolean} `true` to include the assignment data and `false` to not
|
|
@@ -132,8 +127,7 @@ defineProps<{
|
|
|
132
127
|
autoHeight ? : Boolean
|
|
133
128
|
/**
|
|
134
129
|
* Controls how much space to leave between stacked event bars in px.
|
|
135
|
-
* ...
|
|
136
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-barMargin)
|
|
130
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-barMargin)
|
|
137
131
|
*/
|
|
138
132
|
barMargin ? : number
|
|
139
133
|
/**
|
|
@@ -166,14 +160,12 @@ defineProps<{
|
|
|
166
160
|
/**
|
|
167
161
|
* A Config object representing the configuration of a [Toolbar](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Toolbar),
|
|
168
162
|
* or array of config objects representing the child items of a Toolbar. Another way to add a bbar is to use [strips](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-strips).
|
|
169
|
-
* ...
|
|
170
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-bbar)
|
|
163
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-bbar)
|
|
171
164
|
*/
|
|
172
165
|
bbar ? : (SchedulerProContainerItemConfig|string)[]|ToolbarConfig|PagingToolbarConfig|null
|
|
173
166
|
/**
|
|
174
167
|
* Custom CSS classes to add to the panel's body element.
|
|
175
|
-
* ...
|
|
176
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-bodyCls)
|
|
168
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-bodyCls)
|
|
177
169
|
*/
|
|
178
170
|
bodyCls ? : string|object
|
|
179
171
|
/**
|
|
@@ -183,35 +175,30 @@ defineProps<{
|
|
|
183
175
|
/**
|
|
184
176
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
185
177
|
* hierarchy when triggered.
|
|
186
|
-
* ...
|
|
187
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-bubbleEvents)
|
|
178
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-bubbleEvents)
|
|
188
179
|
*/
|
|
189
180
|
bubbleEvents ? : object
|
|
190
181
|
/**
|
|
191
182
|
* This config defines the size of the start and end invisible parts of the timespan when [infiniteScroll](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/mixin/TimelineScroll#config-infiniteScroll) set to `true`.
|
|
192
|
-
* ...
|
|
193
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-bufferCoef)
|
|
183
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-bufferCoef)
|
|
194
184
|
*/
|
|
195
185
|
bufferCoef ? : number
|
|
196
186
|
/**
|
|
197
187
|
* This config defines the scroll limit, which, when exceeded will cause a timespan shift.
|
|
198
188
|
* The limit is calculated as the `panelWidth * [bufferCoef](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/mixin/TimelineScroll#config-bufferCoef) * bufferThreshold`. During scrolling, if the left or right side
|
|
199
189
|
* has less than that of the rendered content - a shift is triggered.
|
|
200
|
-
* ...
|
|
201
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-bufferThreshold)
|
|
190
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-bufferThreshold)
|
|
202
191
|
*/
|
|
203
192
|
bufferThreshold ? : number
|
|
204
193
|
/**
|
|
205
194
|
* Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
|
|
206
|
-
* ...
|
|
207
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-callOnFunctions)
|
|
195
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-callOnFunctions)
|
|
208
196
|
*/
|
|
209
197
|
callOnFunctions ? : Boolean
|
|
210
198
|
/**
|
|
211
199
|
* By default, if an event handler throws an exception, the error propagates up the stack and the
|
|
212
200
|
* application state is undefined. Code which follows the event handler will *not* be executed.
|
|
213
|
-
* ...
|
|
214
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-catchEventHandlerExceptions)
|
|
201
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-catchEventHandlerExceptions)
|
|
215
202
|
*/
|
|
216
203
|
catchEventHandlerExceptions ? : Boolean
|
|
217
204
|
/**
|
|
@@ -224,8 +211,7 @@ defineProps<{
|
|
|
224
211
|
* Custom CSS classes to add to element.
|
|
225
212
|
* May be specified as a space separated string, or as an object in which property names
|
|
226
213
|
* with truthy values are used as the class names:
|
|
227
|
-
* ...
|
|
228
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-cls)
|
|
214
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-cls)
|
|
229
215
|
*/
|
|
230
216
|
cls ? : string|object
|
|
231
217
|
/**
|
|
@@ -235,15 +221,13 @@ defineProps<{
|
|
|
235
221
|
collapsed ? : Boolean
|
|
236
222
|
/**
|
|
237
223
|
* This config enables collapsibility for the panel. See [collapsed](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-collapsed).
|
|
238
|
-
* ...
|
|
239
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-collapsible)
|
|
224
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-collapsible)
|
|
240
225
|
*/
|
|
241
226
|
collapsible ? : Boolean|PanelCollapserConfig|PanelCollapserOverlayConfig
|
|
242
227
|
/**
|
|
243
228
|
* Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
|
|
244
229
|
* `style` block.
|
|
245
|
-
* ...
|
|
246
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-color)
|
|
230
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-color)
|
|
247
231
|
*/
|
|
248
232
|
color ? : Color
|
|
249
233
|
/**
|
|
@@ -257,8 +241,7 @@ defineProps<{
|
|
|
257
241
|
/**
|
|
258
242
|
* Accepts column definitions for the grid during initialization. They will be used to create
|
|
259
243
|
* [Column](https://bryntum.com/products/schedulerpro/docs/api/Grid/column/Column) instances that are added to a [ColumnStore](#Grid/data/ColumnStore).
|
|
260
|
-
* ...
|
|
261
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-columns)
|
|
244
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-columns)
|
|
262
245
|
*/
|
|
263
246
|
columns ? : ColumnStore|SchedulerProColumnConfig[]|ColumnStoreConfig
|
|
264
247
|
config ? : object
|
|
@@ -266,8 +249,7 @@ defineProps<{
|
|
|
266
249
|
* Custom CSS classes to add to the [contentElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-contentElement).
|
|
267
250
|
* May be specified as a space separated string, or as an object in which property names
|
|
268
251
|
* with truthy values are used as the class names:
|
|
269
|
-
* ...
|
|
270
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-contentElementCls)
|
|
252
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-contentElementCls)
|
|
271
253
|
*/
|
|
272
254
|
contentElementCls ? : string|object
|
|
273
255
|
/**
|
|
@@ -278,8 +260,7 @@ defineProps<{
|
|
|
278
260
|
/**
|
|
279
261
|
* Specifies a format to use for displaying cost values.
|
|
280
262
|
* Default value is:
|
|
281
|
-
* ...
|
|
282
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-costFormat)
|
|
263
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-costFormat)
|
|
283
264
|
*/
|
|
284
265
|
costFormat ? : NumberFormatConfig
|
|
285
266
|
/**
|
|
@@ -289,8 +270,7 @@ defineProps<{
|
|
|
289
270
|
dataField ? : string
|
|
290
271
|
/**
|
|
291
272
|
* Record field from which the histogram data will be collected.
|
|
292
|
-
* ...
|
|
293
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-dataModelField)
|
|
273
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-dataModelField)
|
|
294
274
|
*/
|
|
295
275
|
dataModelField ? : string
|
|
296
276
|
/**
|
|
@@ -315,16 +295,15 @@ defineProps<{
|
|
|
315
295
|
*/
|
|
316
296
|
destroyStores ? : Boolean
|
|
317
297
|
/**
|
|
318
|
-
* Check for CSS compatibility issues
|
|
319
|
-
*
|
|
320
|
-
* [
|
|
298
|
+
* Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following
|
|
299
|
+
* checks:
|
|
300
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-detectCSSCompatibilityIssues)
|
|
321
301
|
*/
|
|
322
302
|
detectCSSCompatibilityIssues ? : Boolean
|
|
323
303
|
/**
|
|
324
304
|
* Disable or enable the widget. It is similar to [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-readOnly) except a disabled widget
|
|
325
305
|
* cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
|
|
326
|
-
* ...
|
|
327
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-disabled)
|
|
306
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-disabled)
|
|
328
307
|
*/
|
|
329
308
|
disabled ? : Boolean|'inert'
|
|
330
309
|
/**
|
|
@@ -342,8 +321,7 @@ defineProps<{
|
|
|
342
321
|
/**
|
|
343
322
|
* Defines how dates will be formatted in tooltips etc. This config has priority over similar config on the
|
|
344
323
|
* view preset. For allowed values see [format](https://bryntum.com/products/schedulerpro/docs/api/Core/helper/DateHelper#function-format-static).
|
|
345
|
-
* ...
|
|
346
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-displayDateFormat)
|
|
324
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-displayDateFormat)
|
|
347
325
|
*/
|
|
348
326
|
displayDateFormat ? : string
|
|
349
327
|
/**
|
|
@@ -351,24 +329,22 @@ defineProps<{
|
|
|
351
329
|
* [strips collection](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
|
|
352
330
|
* `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
|
|
353
331
|
* body. Such widgets are called "edge strips".
|
|
354
|
-
* ...
|
|
355
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-dock)
|
|
332
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-dock)
|
|
356
333
|
*/
|
|
357
334
|
dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
358
335
|
/**
|
|
359
336
|
* Make this Panel a docked drawer which slides out from one side of the browser viewport by default.
|
|
360
|
-
* ...
|
|
361
|
-
* [
|
|
362
|
-
* @param {
|
|
363
|
-
* @param {
|
|
364
|
-
* @param {boolean}
|
|
365
|
-
* @param {boolean,
|
|
366
|
-
* @param {boolean,string} autoClose.
|
|
367
|
-
* @param {
|
|
368
|
-
* @param {
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
drawer ? : Boolean|{side?: 'start'|'left'|'end'|'right'|'top'|'bottom', size?: string|number, inline?: Boolean, autoClose: { mousedown?: Boolean|string, focusout?: Boolean|string, mouseout?: string }, autoCloseDelay?: number}
|
|
337
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-drawer)
|
|
338
|
+
* @param {'start','left','end','right','top','bottom'} [side] The side of the viewport to dock the drawer to. * `'start'` means the `inline-start` side. * `'end'` means the `inline-end` side.
|
|
339
|
+
* @param {string,number} [size] The size of the drawer in its collapsible axis.
|
|
340
|
+
* @param {boolean} [inline] If using the [appendTo](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-appendTo) config to place the drawer inside a host widget, this may be set to `true` to make the drawer inline within that host. Note that, if using this, the layout of the host element must have `flex-direction` set appropriately.
|
|
341
|
+
* @param {boolean,object} [autoClose] Specifies what user actions should automatically close the drawer. Defaults to closing when the user clicks outside of the drawer or when focus moves outside of the drawer.
|
|
342
|
+
* @param {boolean,string} [autoClose.mousedown] If the user clicks outside of the drawer, the drawer will automatically be hidden. If the value is a string, it is used as a CSS selector to filter clicks which should close the drawer.
|
|
343
|
+
* @param {boolean,string} [autoClose.focusout] If focus moves outside of the drawer, the drawer will automatically be hidden.
|
|
344
|
+
* @param {string} [autoClose.mouseout] Hides the drawer when the mouse leaves the drawer after the `autoCloseDelay` period.
|
|
345
|
+
* @param {number} [autoCloseDelay] When using `mouseout`, this is the delay in milliseconds
|
|
346
|
+
*/
|
|
347
|
+
drawer ? : Boolean|{ side?: 'start'|'left'|'end'|'right'|'top'|'bottom', size?: string|number, inline?: Boolean, autoClose?: Boolean|{ mousedown?: Boolean|string, focusout?: Boolean|string, mouseout?: string }, autoCloseDelay?: number }
|
|
372
348
|
/**
|
|
373
349
|
* Effort value format string.
|
|
374
350
|
* Must be a template supported by [NumberFormat](https://bryntum.com/products/schedulerpro/docs/api/Core/helper/util/NumberFormat) class.
|
|
@@ -386,16 +362,14 @@ defineProps<{
|
|
|
386
362
|
/**
|
|
387
363
|
* An object specifying attributes to assign to the root element of this widget.
|
|
388
364
|
* Set `null` value to attribute to remove it.
|
|
389
|
-
* ...
|
|
390
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-elementAttributes)
|
|
365
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-elementAttributes)
|
|
391
366
|
*/
|
|
392
367
|
elementAttributes ? : Record<string, string|null>
|
|
393
368
|
/**
|
|
394
369
|
* Text or HTML, or a [EmptyTextDomConfig](https://bryntum.com/products/schedulerpro/docs/api/Grid/view/GridBase#typedef-EmptyTextDomConfig) block to display when there is no data to display in the grid.
|
|
395
370
|
* When using multiple Grid regions, provide the `region` property to decide where the text is shown.
|
|
396
371
|
* By default, it is shown in the first region.
|
|
397
|
-
* ...
|
|
398
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-emptyText)
|
|
372
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-emptyText)
|
|
399
373
|
*/
|
|
400
374
|
emptyText ? : string|EmptyTextDomConfig
|
|
401
375
|
/**
|
|
@@ -404,9 +378,9 @@ defineProps<{
|
|
|
404
378
|
*/
|
|
405
379
|
enableEventAnimations ? : Boolean
|
|
406
380
|
/**
|
|
407
|
-
*
|
|
408
|
-
*
|
|
409
|
-
*
|
|
381
|
+
* Set to `true` to enable the [StickyCells](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/StickyCells) feature, which pins cell
|
|
382
|
+
* content to the top of the grid while rows scroll off the top but remain visible.
|
|
383
|
+
* @deprecated 7.3.0 Use `features : { stickyCells : true }` instead
|
|
410
384
|
*/
|
|
411
385
|
enableSticky ? : Boolean
|
|
412
386
|
/**
|
|
@@ -421,8 +395,7 @@ defineProps<{
|
|
|
421
395
|
enableUndoRedoKeys ? : Boolean
|
|
422
396
|
/**
|
|
423
397
|
* The end date of the timeline (if not configure with [infiniteScroll](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/TimelineBase#config-infiniteScroll)).
|
|
424
|
-
* ...
|
|
425
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-endDate)
|
|
398
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-endDate)
|
|
426
399
|
*/
|
|
427
400
|
endDate ? : Date|string
|
|
428
401
|
/**
|
|
@@ -439,16 +412,14 @@ defineProps<{
|
|
|
439
412
|
/**
|
|
440
413
|
* Specify `true` to force rendered events/tasks to fill entire ticks. This only affects rendering, start
|
|
441
414
|
* and end dates retain their value on the data level.
|
|
442
|
-
* ...
|
|
443
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-fillTicks)
|
|
415
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-fillTicks)
|
|
444
416
|
*/
|
|
445
417
|
fillTicks ? : Boolean
|
|
446
418
|
/**
|
|
447
419
|
* Use fixed row height. Setting this to `true` will configure the underlying RowManager to use fixed row
|
|
448
420
|
* height, which sacrifices the ability to use rows with variable height to gain a fraction better
|
|
449
421
|
* performance.
|
|
450
|
-
* ...
|
|
451
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-fixedRowHeight)
|
|
422
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-fixedRowHeight)
|
|
452
423
|
*/
|
|
453
424
|
fixedRowHeight ? : Boolean
|
|
454
425
|
/**
|
|
@@ -462,14 +433,12 @@ defineProps<{
|
|
|
462
433
|
/**
|
|
463
434
|
* Config object of a footer. May contain a `dock`, `html` and a `cls` property. A footer is not a widget,
|
|
464
435
|
* but rather plain HTML that follows the last element of the panel's body and [strips](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-strips).
|
|
465
|
-
* ...
|
|
466
|
-
*
|
|
436
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-footer)
|
|
437
|
+
* @property {'top','right','bottom','left','start','end'} dock Where to dock
|
|
438
|
+
* @property {string} html Html to populate the footer with
|
|
439
|
+
* @property {string} cls CSS class to add to the footer
|
|
467
440
|
*/
|
|
468
|
-
footer ? :
|
|
469
|
-
dock?: 'top'|'right'|'bottom'|'left'|'start'|'end'
|
|
470
|
-
html?: string
|
|
471
|
-
cls?: string
|
|
472
|
-
}|string
|
|
441
|
+
footer ? : object|string
|
|
473
442
|
/**
|
|
474
443
|
* Set to `true` to force the time columns to fit to the available space (horizontal or vertical depends on mode).
|
|
475
444
|
* Note that setting [suppressFit](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/TimelineBase#config-suppressFit) to `true`, will disable `forceFit` functionality. Zooming
|
|
@@ -479,14 +448,12 @@ defineProps<{
|
|
|
479
448
|
/**
|
|
480
449
|
* An object which names formula prefixes which will be applied to all columns configured with
|
|
481
450
|
* `formula : true`.
|
|
482
|
-
* ...
|
|
483
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-formulaProviders)
|
|
451
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-formulaProviders)
|
|
484
452
|
*/
|
|
485
453
|
formulaProviders ? : Record<string, FormulaProviderConfig>
|
|
486
454
|
/**
|
|
487
455
|
* Refresh entire row when a record changes (`true`) or, if possible, only the cells affected (`false`).
|
|
488
|
-
* ...
|
|
489
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-fullRowRefresh)
|
|
456
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-fullRowRefresh)
|
|
490
457
|
*/
|
|
491
458
|
fullRowRefresh ? : Boolean
|
|
492
459
|
/**
|
|
@@ -505,8 +472,7 @@ defineProps<{
|
|
|
505
472
|
* (a `RECT` element representing a single "bar"-type value).
|
|
506
473
|
* The function accepts default prepared DOM configuration
|
|
507
474
|
* in an argument which then can be processed and returned.
|
|
508
|
-
* ...
|
|
509
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-getBarDOMConfig)
|
|
475
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-getBarDOMConfig)
|
|
510
476
|
* @param {HistogramSeries} series The series being rendered
|
|
511
477
|
* @param {DomConfig} domConfig The rectangle DOM configuration object
|
|
512
478
|
* @param {ResourceAllocationInterval,AssignmentAllocationInterval} datum The datum being rendered. Either [ResourceAllocationInterval](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ResourceModel#typedef-ResourceAllocationInterval) object for resource records (root level records) or [AssignmentAllocationInterval](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ResourceModel#typedef-AssignmentAllocationInterval) object for assignment records
|
|
@@ -517,8 +483,7 @@ defineProps<{
|
|
|
517
483
|
getBarDOMConfig ? : (series: HistogramSeries, domConfig: DomConfig, datum: ResourceAllocationInterval|AssignmentAllocationInterval, index: number, renderData: ResourceUtilizationRenderData) => object
|
|
518
484
|
/**
|
|
519
485
|
* A Function which returns the text to render inside a bar.
|
|
520
|
-
* ...
|
|
521
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-getBarText)
|
|
486
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-getBarText)
|
|
522
487
|
* @param {ResourceAllocationInterval,AssignmentAllocationInterval} datum The datum being rendered. Either [ResourceAllocationInterval](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ResourceModel#typedef-ResourceAllocationInterval) object for resource records (root level records) or [AssignmentAllocationInterval](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ResourceModel#typedef-AssignmentAllocationInterval) object for assignment records
|
|
523
488
|
* @param {number} index The index of the datum being rendered
|
|
524
489
|
* @returns {string} Text to render inside the bar
|
|
@@ -526,8 +491,7 @@ defineProps<{
|
|
|
526
491
|
getBarText ? : (datum: ResourceAllocationInterval|AssignmentAllocationInterval, index: number) => string
|
|
527
492
|
/**
|
|
528
493
|
* A Function which returns a DOM configuration object for text elements.
|
|
529
|
-
* ...
|
|
530
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-getBarTextDOMConfig)
|
|
494
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-getBarTextDOMConfig)
|
|
531
495
|
* @param {DomConfig} domConfig The `TEXT` element DOM configuration object
|
|
532
496
|
* @param {ResourceAllocationInterval,AssignmentAllocationInterval} datum The datum being rendered. Either [ResourceAllocationInterval](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ResourceModel#typedef-ResourceAllocationInterval) object for resource records (root level records) or [AssignmentAllocationInterval](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ResourceModel#typedef-AssignmentAllocationInterval) object for assignment records
|
|
533
497
|
* @param {number} index The index of the datum being rendered
|
|
@@ -540,12 +504,11 @@ defineProps<{
|
|
|
540
504
|
* Function that extracts a record histogram data entry for aggregating.
|
|
541
505
|
* By default it returns the entry as is. Override the function if you need a more complex way
|
|
542
506
|
* to retrieve the value for aggregating.
|
|
543
|
-
* ...
|
|
544
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-getDataEntryForAggregating)
|
|
507
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-getDataEntryForAggregating)
|
|
545
508
|
* @param {object} getDataEntryForAggregating.entry Current data entry.
|
|
546
509
|
* @returns {object} Entry to aggregate
|
|
547
510
|
*/
|
|
548
|
-
getDataEntryForAggregating ? : ((
|
|
511
|
+
getDataEntryForAggregating ? : (() => object)|string
|
|
549
512
|
/**
|
|
550
513
|
* A Function which returns a CSS class name to add to a path element
|
|
551
514
|
* built for an `outline` type series.
|
|
@@ -561,8 +524,7 @@ defineProps<{
|
|
|
561
524
|
* a `path` element built for an `outline` type series.
|
|
562
525
|
* The function accepts a default prepared DOM configuration
|
|
563
526
|
* in an argument which then can be processed and returned.
|
|
564
|
-
* ...
|
|
565
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-getOutlineDOMConfig)
|
|
527
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-getOutlineDOMConfig)
|
|
566
528
|
* @param {HistogramSeries} series The series being rendered
|
|
567
529
|
* @param {DomConfig} domConfig The `path` element DOM configuration object
|
|
568
530
|
* @param {object[]} data The series data
|
|
@@ -572,23 +534,21 @@ defineProps<{
|
|
|
572
534
|
getOutlineDOMConfig ? : (series: HistogramSeries, domConfig: DomConfig, data: object[], renderData: ResourceHistogramRenderData) => object
|
|
573
535
|
/**
|
|
574
536
|
* A function, or name of a function which builds histogram data for the provided record.
|
|
575
|
-
* ...
|
|
576
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-getRecordData)
|
|
537
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-getRecordData)
|
|
577
538
|
* @param {Core.data.Model} getRecordData.record Record to get histogram data for.
|
|
578
|
-
* @param {object} aggregationContext Context object passed in case the data is being retrieved as a part of some parent record data collecting.
|
|
539
|
+
* @param {object} [aggregationContext] Context object passed in case the data is being retrieved as a part of some parent record data collecting.
|
|
579
540
|
* @returns {object} Histogram data.
|
|
580
541
|
*/
|
|
581
|
-
getRecordData ? : ((
|
|
542
|
+
getRecordData ? : ((aggregationContext: object) => object)|string
|
|
582
543
|
/**
|
|
583
544
|
* A function called for each row to determine its height. It is passed a [record](https://bryntum.com/products/schedulerpro/docs/api/Core/data/Model) and
|
|
584
545
|
* expected to return the desired height of that records row. If the function returns a falsy value, Grids
|
|
585
546
|
* configured [rowHeight](https://bryntum.com/products/schedulerpro/docs/api/Grid/view/GridBase#config-rowHeight) is used.
|
|
586
|
-
* ...
|
|
587
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-getRowHeight)
|
|
547
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-getRowHeight)
|
|
588
548
|
* @param {Core.data.Model} getRowHeight.record Record to determine row height for
|
|
589
549
|
* @returns {number} Desired row height
|
|
590
550
|
*/
|
|
591
|
-
getRowHeight ? : (
|
|
551
|
+
getRowHeight ? : () => number
|
|
592
552
|
/**
|
|
593
553
|
* When set to `true` (default) the component reacts on time axis changes
|
|
594
554
|
* (zooming or changing the displayed time span), clears the histogram data cache of the records
|
|
@@ -597,8 +557,7 @@ defineProps<{
|
|
|
597
557
|
hardRefreshOnTimeAxisReconfigure ? : Boolean
|
|
598
558
|
/**
|
|
599
559
|
* A config [object](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#typedef-PanelHeader) for the panel's header or a string in place of a `title`.
|
|
600
|
-
* ...
|
|
601
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-header)
|
|
560
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-header)
|
|
602
561
|
*/
|
|
603
562
|
header ? : string|Boolean|PanelHeader
|
|
604
563
|
/**
|
|
@@ -625,8 +584,7 @@ defineProps<{
|
|
|
625
584
|
hideHorizontalScrollbar ? : Boolean
|
|
626
585
|
/**
|
|
627
586
|
* By default the row hover effect is not visible in the Scheduler part of the grid.
|
|
628
|
-
* ...
|
|
629
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-hideRowHover)
|
|
587
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-hideRowHover)
|
|
630
588
|
*/
|
|
631
589
|
hideRowHover ? : Boolean
|
|
632
590
|
/**
|
|
@@ -660,8 +618,7 @@ defineProps<{
|
|
|
660
618
|
ignoreDomEventsWhileScrolling ? : Boolean
|
|
661
619
|
/**
|
|
662
620
|
* Determines if the widgets read-only state should be controlled by its parent.
|
|
663
|
-
* ...
|
|
664
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-ignoreParentReadOnly)
|
|
621
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-ignoreParentReadOnly)
|
|
665
622
|
*/
|
|
666
623
|
ignoreParentReadOnly ? : Boolean
|
|
667
624
|
/**
|
|
@@ -671,14 +628,12 @@ defineProps<{
|
|
|
671
628
|
/**
|
|
672
629
|
* Set to `true` to automatically adjust the panel timespan during scrolling in the time dimension,
|
|
673
630
|
* when the scroller comes close to the start/end edges.
|
|
674
|
-
* ...
|
|
675
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-infiniteScroll)
|
|
631
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-infiniteScroll)
|
|
676
632
|
*/
|
|
677
633
|
infiniteScroll ? : Boolean
|
|
678
634
|
/**
|
|
679
635
|
* A function that initializes a target group record entry.
|
|
680
|
-
* ...
|
|
681
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-initAggregatedDataEntry)
|
|
636
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-initAggregatedDataEntry)
|
|
682
637
|
* @returns {object} Target aggregated entry
|
|
683
638
|
*/
|
|
684
639
|
initAggregatedDataEntry ? : (() => object)|string
|
|
@@ -686,8 +641,7 @@ defineProps<{
|
|
|
686
641
|
* Convenience setting to align input fields of child widgets. By default, the Field input element is
|
|
687
642
|
* placed immediately following the `label`. If you prefer to have all input fields aligned to the
|
|
688
643
|
* right, set this config to `'end'`.
|
|
689
|
-
* ...
|
|
690
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-inputFieldAlign)
|
|
644
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-inputFieldAlign)
|
|
691
645
|
*/
|
|
692
646
|
inputFieldAlign ? : 'start'|'end'
|
|
693
647
|
/**
|
|
@@ -704,14 +658,17 @@ defineProps<{
|
|
|
704
658
|
keyMap ? : Record<string, KeyMapConfig>
|
|
705
659
|
/**
|
|
706
660
|
* Convenience setting to use same label placement on all child widgets.
|
|
707
|
-
* ...
|
|
708
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-labelPosition)
|
|
661
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-labelPosition)
|
|
709
662
|
*/
|
|
710
663
|
labelPosition ? : 'before'|'above'|'align-before'|'auto'|null
|
|
664
|
+
/**
|
|
665
|
+
* Sets `labelWidth´ for all children of this Container, that does not define their own `labelWidth`.
|
|
666
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-labelWidth)
|
|
667
|
+
*/
|
|
668
|
+
labelWidth ? : number|null
|
|
711
669
|
/**
|
|
712
670
|
* The listener set for this object.
|
|
713
|
-
* ...
|
|
714
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-listeners)
|
|
671
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-listeners)
|
|
715
672
|
*/
|
|
716
673
|
listeners ? : ResourceUtilizationListeners
|
|
717
674
|
/**
|
|
@@ -724,15 +681,13 @@ defineProps<{
|
|
|
724
681
|
* when data is loading. The message and optional configuration from the
|
|
725
682
|
* [loadMask](https://bryntum.com/products/schedulerpro/docs/api/Core/mixin/LoadMaskable#config-loadMask) config take priority over these options, just as they do
|
|
726
683
|
* for `maskDefaults`, respectively.
|
|
727
|
-
* ...
|
|
728
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-loadMaskDefaults)
|
|
684
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-loadMaskDefaults)
|
|
729
685
|
*/
|
|
730
686
|
loadMaskDefaults ? : MaskConfig
|
|
731
687
|
/**
|
|
732
688
|
* A [Mask](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Mask) config object to adjust the [maskDefaults](#Core/widget/Widget#config-maskDefaults)
|
|
733
689
|
* when an error occurs loading data.
|
|
734
|
-
* ...
|
|
735
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-loadMaskError)
|
|
690
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-loadMaskError)
|
|
736
691
|
*/
|
|
737
692
|
loadMaskError ? : MaskConfig|Mask|Boolean
|
|
738
693
|
/**
|
|
@@ -746,8 +701,7 @@ defineProps<{
|
|
|
746
701
|
/**
|
|
747
702
|
* When `true`, events are sized and positioned based on rowHeight, resourceMargin and barMargin settings.
|
|
748
703
|
* Set this to `false` if you want to control height and vertical position using CSS instead.
|
|
749
|
-
* ...
|
|
750
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-managedEventSizing)
|
|
704
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-managedEventSizing)
|
|
751
705
|
*/
|
|
752
706
|
managedEventSizing ? : Boolean
|
|
753
707
|
/**
|
|
@@ -778,8 +732,7 @@ defineProps<{
|
|
|
778
732
|
/**
|
|
779
733
|
* The maximum time axis unit to display non-working ranges for ('hour' or 'day' etc).
|
|
780
734
|
* When zooming to a view with a larger unit, no non-working time elements will be rendered.
|
|
781
|
-
* ...
|
|
782
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-maxTimeAxisUnit)
|
|
735
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-maxTimeAxisUnit)
|
|
783
736
|
*/
|
|
784
737
|
maxTimeAxisUnit ? : DurationUnit
|
|
785
738
|
/**
|
|
@@ -788,12 +741,10 @@ defineProps<{
|
|
|
788
741
|
*/
|
|
789
742
|
maxWidth ? : string|number
|
|
790
743
|
/**
|
|
791
|
-
* The maximum zoom level to which [zoomIn](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/mixin/TimelineZoomable#function-zoomIn) will work.
|
|
792
|
-
* [
|
|
793
|
-
* for information. Unless you have modified the collection of available presets, the max zoom level is
|
|
794
|
-
* milliseconds.
|
|
744
|
+
* The maximum zoom level to which [zoomIn](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/mixin/TimelineZoomable#function-zoomIn) will work.
|
|
745
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-maxZoomLevel)
|
|
795
746
|
*/
|
|
796
|
-
maxZoomLevel ? : number
|
|
747
|
+
maxZoomLevel ? : number|string
|
|
797
748
|
/**
|
|
798
749
|
* Get/set start date limit of the timeline.
|
|
799
750
|
* Actions such as timeline scrolling, all types of timeline zooms and shifts
|
|
@@ -803,8 +754,7 @@ defineProps<{
|
|
|
803
754
|
/**
|
|
804
755
|
* Grid's `min-height`. Defaults to `10em` to be sure that the Grid always has a height wherever it is
|
|
805
756
|
* inserted.
|
|
806
|
-
* ...
|
|
807
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-minHeight)
|
|
757
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-minHeight)
|
|
808
758
|
*/
|
|
809
759
|
minHeight ? : string|number
|
|
810
760
|
/**
|
|
@@ -813,9 +763,10 @@ defineProps<{
|
|
|
813
763
|
*/
|
|
814
764
|
minWidth ? : string|number
|
|
815
765
|
/**
|
|
816
|
-
* The minimum zoom level to which [zoomOut](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/mixin/TimelineZoomable#function-zoomOut) will work.
|
|
766
|
+
* The minimum zoom level to which [zoomOut](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/mixin/TimelineZoomable#function-zoomOut) will work.
|
|
767
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-minZoomLevel)
|
|
817
768
|
*/
|
|
818
|
-
minZoomLevel ? : number
|
|
769
|
+
minZoomLevel ? : number|string
|
|
819
770
|
/**
|
|
820
771
|
* Grid monitors window resize by default.
|
|
821
772
|
*/
|
|
@@ -823,21 +774,19 @@ defineProps<{
|
|
|
823
774
|
/**
|
|
824
775
|
* Partners this Timeline panel with another Timeline in order to sync their region sizes (sub-grids like locked, normal will get the same width),
|
|
825
776
|
* start and end dates, view preset, zoom level and scrolling position. All these values will be synced with the timeline defined as the `partner`.
|
|
826
|
-
* ...
|
|
827
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-partner)
|
|
777
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-partner)
|
|
828
778
|
*/
|
|
829
779
|
partner ? : TimelineBase|string
|
|
830
780
|
/**
|
|
831
781
|
* Set to `true` to include `startDate` and `endDate` params indicating the currently viewed date range in
|
|
832
782
|
* `EventStore` load requests (when loading using `AjaxStore` or `CrudManager` functionality).
|
|
833
|
-
* ...
|
|
834
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-passStartEndParameters)
|
|
783
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-passStartEndParameters)
|
|
835
784
|
*/
|
|
836
785
|
passStartEndParameters ? : Boolean
|
|
837
786
|
/**
|
|
838
787
|
* Specify plugins (an array of classes) in config
|
|
839
788
|
*/
|
|
840
|
-
plugins ? :
|
|
789
|
+
plugins ? : InstancePlugin[]|InstancePlugin
|
|
841
790
|
/**
|
|
842
791
|
* True to preserve focused cell after loading new data
|
|
843
792
|
*/
|
|
@@ -853,10 +802,9 @@ defineProps<{
|
|
|
853
802
|
*/
|
|
854
803
|
preserveScrollOnDatasetChange ? : Boolean
|
|
855
804
|
/**
|
|
856
|
-
* An array of [ViewPreset](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/preset/ViewPreset) config objects
|
|
857
|
-
*
|
|
858
|
-
* ...
|
|
859
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-presets)
|
|
805
|
+
* An array of [ViewPreset](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/preset/ViewPreset) config objects which describes the available timeline layouts
|
|
806
|
+
* for this scheduler.
|
|
807
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-presets)
|
|
860
808
|
*/
|
|
861
809
|
presets ? : ViewPresetConfig[]
|
|
862
810
|
/**
|
|
@@ -866,43 +814,45 @@ defineProps<{
|
|
|
866
814
|
preventTooltipOnTouch ? : Boolean
|
|
867
815
|
/**
|
|
868
816
|
* A ProjectModel instance (or a config object) to display resource allocation of.
|
|
869
|
-
* ...
|
|
870
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-project)
|
|
817
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-project)
|
|
871
818
|
*/
|
|
872
819
|
project ? : ProjectModelConfig|ProjectModel|object
|
|
873
820
|
/**
|
|
874
821
|
* Set to `true` to make the grid read-only, by disabling any UIs for modifying data.
|
|
875
|
-
* ...
|
|
876
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-readOnly)
|
|
822
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-readOnly)
|
|
877
823
|
*/
|
|
878
824
|
readOnly ? : Boolean
|
|
879
825
|
/**
|
|
880
826
|
* The confirmation dialog shown when a recurring event is edited.
|
|
881
|
-
* ...
|
|
882
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-recurrenceConfirmationPopup)
|
|
827
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-recurrenceConfirmationPopup)
|
|
883
828
|
*/
|
|
884
|
-
recurrenceConfirmationPopup ? : RecurrenceConfirmationPopupConfig
|
|
829
|
+
recurrenceConfirmationPopup ? : RecurrenceConfirmationPopupConfig
|
|
885
830
|
relayStoreEvents ? : Boolean
|
|
886
831
|
/**
|
|
887
832
|
* Either a default `rendition` to apply to all child widgets, or a map of renditions keyed by child widget
|
|
888
833
|
* `type`.
|
|
889
|
-
* ...
|
|
890
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-rendition)
|
|
834
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-rendition)
|
|
891
835
|
*/
|
|
892
836
|
rendition ? : string|Record<string, string>|null
|
|
893
837
|
/**
|
|
894
838
|
* Configure this property to allow the widget/component to be resized. Pressing <kbd>Shift</kbd> while resizing will
|
|
895
839
|
* constrain the aspect ratio.
|
|
896
|
-
* ...
|
|
897
|
-
* [
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
840
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-resizable)
|
|
841
|
+
* @property {number} [resizable.minWidth] The minimum width of the element.
|
|
842
|
+
* @property {number} [resizable.maxWidth] The maximum width of the element.
|
|
843
|
+
* @property {number} [resizable.minHeight] The minimum height of the element.
|
|
844
|
+
* @property {number} [resizable.maxHeight] The maximum height of the element
|
|
845
|
+
* @property {object} [resizable.handles] An object controlling which edges/corners are resizable.
|
|
846
|
+
* @property {boolean} [resizable.handles.topStart] Resizable from top-start corner
|
|
847
|
+
* @property {boolean} [resizable.handles.top] Resizable from top edge
|
|
848
|
+
* @property {boolean} [resizable.handles.topEnd] Resizable from top-end corner
|
|
849
|
+
* @property {boolean} [resizable.handles.end] Resizable from end edge
|
|
850
|
+
* @property {boolean} [resizable.handles.bottomEnd] Resizable from bottom-end corner
|
|
851
|
+
* @property {boolean} [resizable.handles.bottom] Resizable from bottom edge
|
|
852
|
+
* @property {boolean} [resizable.handles.bottomStart] Resizable from bottom-start corner
|
|
853
|
+
* @property {boolean} [resizable.handles.start] Resizable from start edge
|
|
854
|
+
*/
|
|
855
|
+
resizable ? : Boolean|{ minWidth?: number, maxWidth?: number, minHeight?: number, maxHeight?: number, handles?: { topStart?: Boolean, top?: Boolean, topEnd?: Boolean, end?: Boolean, bottomEnd?: Boolean, bottom?: Boolean, bottomStart?: Boolean, start?: Boolean } }
|
|
906
856
|
/**
|
|
907
857
|
* Set to `false` to only measure cell contents when double-clicking the edge between column headers.
|
|
908
858
|
*/
|
|
@@ -915,33 +865,28 @@ defineProps<{
|
|
|
915
865
|
* Path to load resource images from. Used by the resource header in vertical mode and the
|
|
916
866
|
* [ResourceInfoColumn](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/column/ResourceInfoColumn) in horizontal mode. Set this to display miniature
|
|
917
867
|
* images for each resource using their `image` or `imageUrl` fields.
|
|
918
|
-
* ...
|
|
919
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-resourceImagePath)
|
|
868
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-resourceImagePath)
|
|
920
869
|
*/
|
|
921
870
|
resourceImagePath ? : string
|
|
922
871
|
/**
|
|
923
872
|
* Convenience config to set both [resourceImagePath](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/mixin/SchedulerResourceRendering#config-resourceImagePath) and [resourceImageExtension](#Scheduler/view/mixin/SchedulerResourceRendering#config-resourceImageExtension).
|
|
924
|
-
* ...
|
|
925
|
-
*
|
|
873
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-resourceImages)
|
|
874
|
+
* @property {string} path Path to load resource images from
|
|
875
|
+
* @property {string} extension Resource image extension
|
|
926
876
|
*/
|
|
927
|
-
resourceImages ? :
|
|
928
|
-
path?: string
|
|
929
|
-
extension?: string
|
|
930
|
-
}
|
|
877
|
+
resourceImages ? : object
|
|
931
878
|
/**
|
|
932
879
|
* Control how much space to leave between the first event/last event and the resources edge (top/bottom
|
|
933
880
|
* margin within the resource row in horizontal mode, left/right margin within the resource column in
|
|
934
881
|
* vertical mode), in px. Defaults to the value of [barMargin](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/Scheduler#config-barMargin).
|
|
935
|
-
* ...
|
|
936
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-resourceMargin)
|
|
882
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-resourceMargin)
|
|
937
883
|
*/
|
|
938
884
|
resourceMargin ? : number|ResourceMarginConfig
|
|
939
885
|
/**
|
|
940
886
|
* An empty function by default, but provided so that you can override it. This function is called each time
|
|
941
887
|
* a resource time range is rendered into the schedule. It's called with `resourceTimeRangeRecord`, `resourceRecord`,
|
|
942
888
|
* and `renderData` params.
|
|
943
|
-
* ...
|
|
944
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-resourceTimeRangeRenderer)
|
|
889
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-resourceTimeRangeRenderer)
|
|
945
890
|
* @param {object} detail An object containing the information needed to render a ResourceTimeRangeModel.
|
|
946
891
|
* @param {Scheduler.model.ResourceTimeRangeModel} detail.resourceTimeRangeRecord The resource time range record.
|
|
947
892
|
* @param {Scheduler.model.SchedulerResourceModel} detail.resourceRecord The resource record.
|
|
@@ -960,29 +905,31 @@ defineProps<{
|
|
|
960
905
|
resourceTimeRangeStore ? : ResourceTimeRangeStore|ResourceTimeRangeStoreConfig
|
|
961
906
|
/**
|
|
962
907
|
* Set to `true` to take task and assignment store filters into account when collecting allocation.
|
|
963
|
-
* ...
|
|
964
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-respectStoreFilters)
|
|
908
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-respectStoreFilters)
|
|
965
909
|
*/
|
|
966
910
|
respectStoreFilters ? : Boolean
|
|
967
911
|
/**
|
|
968
912
|
* "Break points" for which responsive config to use for columns and css.
|
|
969
|
-
* ...
|
|
970
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-responsiveLevels)
|
|
913
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-responsiveLevels)
|
|
971
914
|
*/
|
|
972
915
|
responsiveLevels ? : Record<string, number|string|ResponsiveLevelConfig>
|
|
973
916
|
/**
|
|
974
917
|
* Configure as `true` to have the component display a translucent ripple when its
|
|
975
918
|
* [focusElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-focusElement), or [element](#Core/widget/Widget#property-element) is tapped <em>if the
|
|
976
919
|
* current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
|
|
977
|
-
* ...
|
|
978
|
-
* [
|
|
920
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-ripple)
|
|
921
|
+
* @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.
|
|
922
|
+
* @property {string} [color] A CSS color name or specification.
|
|
923
|
+
* @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.
|
|
924
|
+
* @property {string} [clip] A string which describes how to clip the ripple if it is not to be clipped to the default element. Either the property of the widget to use as the clipping element, or a selector to allow clipping to the closest matching ancestor to the target element.
|
|
925
|
+
*/
|
|
926
|
+
ripple ? : Boolean|object
|
|
927
|
+
/**
|
|
928
|
+
* The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid
|
|
929
|
+
* accidentally applying a role which may interfere with screen readers.
|
|
930
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-role)
|
|
979
931
|
*/
|
|
980
|
-
|
|
981
|
-
delegate?: string
|
|
982
|
-
color?: string
|
|
983
|
-
radius?: number
|
|
984
|
-
clip?: string
|
|
985
|
-
}
|
|
932
|
+
role ? : string
|
|
986
933
|
/**
|
|
987
934
|
* If you are rendering this widget to a shadow root inside a web component, set this config to the shadowRoot. If not inside a web component, set it to `document.body`
|
|
988
935
|
*/
|
|
@@ -991,8 +938,7 @@ defineProps<{
|
|
|
991
938
|
* Row height in pixels. This allows the default height for rows to be controlled. Note that it may be
|
|
992
939
|
* overridden by specifying a [rowHeight](https://bryntum.com/products/schedulerpro/docs/api/Grid/data/GridRowModel#field-rowHeight) on a per record basis, or from
|
|
993
940
|
* a column [renderer](https://bryntum.com/products/schedulerpro/docs/api/Grid/column/Column#config-renderer).
|
|
994
|
-
* ...
|
|
995
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-rowHeight)
|
|
941
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-rowHeight)
|
|
996
942
|
*/
|
|
997
943
|
rowHeight ? : number
|
|
998
944
|
/**
|
|
@@ -1001,29 +947,25 @@ defineProps<{
|
|
|
1001
947
|
rowLines ? : Boolean
|
|
1002
948
|
/**
|
|
1003
949
|
* This may be configured as `true` to make the widget's element use the `direction:rtl` style.
|
|
1004
|
-
* ...
|
|
1005
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-rtl)
|
|
950
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-rtl)
|
|
1006
951
|
*/
|
|
1007
952
|
rtl ? : Boolean
|
|
1008
953
|
/**
|
|
1009
954
|
* An object with configuration for the [ScaleColumn](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/column/ScaleColumn).
|
|
1010
|
-
* ...
|
|
1011
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-scaleColumn)
|
|
955
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-scaleColumn)
|
|
1012
956
|
*/
|
|
1013
957
|
scaleColumn ? : ScaleColumnConfig
|
|
1014
958
|
/**
|
|
1015
959
|
* Array of objects representing the [scale column](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/mixin/TimelineHistogramScaleColumn#config-scaleColumn) scale points.
|
|
1016
960
|
* The config basically is a mapping to the column [scalePoints](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/column/ScaleColumn#config-scalePoints)
|
|
1017
961
|
* config.
|
|
1018
|
-
* ...
|
|
1019
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-scalePoints)
|
|
962
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-scalePoints)
|
|
1020
963
|
*/
|
|
1021
964
|
scalePoints ? : ScalePoint[]
|
|
1022
965
|
/**
|
|
1023
966
|
* Configures whether the grid is scrollable in the `Y` axis. This is used to configure a [Scroller](https://bryntum.com/products/schedulerpro/docs/api/Core/helper/util/Scroller).
|
|
1024
967
|
* See the [scrollerClass](https://bryntum.com/products/schedulerpro/docs/api/Grid/view/GridBase#config-scrollerClass) config option.
|
|
1025
|
-
* ...
|
|
1026
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-scrollable)
|
|
968
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-scrollable)
|
|
1027
969
|
*/
|
|
1028
970
|
scrollable ? : Boolean|ScrollerConfig|Scroller
|
|
1029
971
|
/**
|
|
@@ -1038,16 +980,14 @@ defineProps<{
|
|
|
1038
980
|
/**
|
|
1039
981
|
* Selection configuration settings, change these properties to control how selection works and what can be
|
|
1040
982
|
* selected.
|
|
1041
|
-
* ...
|
|
1042
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-selectionMode)
|
|
983
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-selectionMode)
|
|
1043
984
|
*/
|
|
1044
985
|
selectionMode ? : GridSelectionMode
|
|
1045
986
|
/**
|
|
1046
987
|
* Object enumerating data series for the histogram.
|
|
1047
988
|
* The object keys are treated as the series identifiers and values are objects that
|
|
1048
989
|
* must contain two properties:
|
|
1049
|
-
* ...
|
|
1050
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-series)
|
|
990
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-series)
|
|
1051
991
|
*/
|
|
1052
992
|
series ? : Record<string, HistogramSeries>
|
|
1053
993
|
/**
|
|
@@ -1071,28 +1011,34 @@ defineProps<{
|
|
|
1071
1011
|
/**
|
|
1072
1012
|
* Configure as `true` to have the grid show a red "changed" tag in cells whose
|
|
1073
1013
|
* field value has changed and not yet been committed.
|
|
1074
|
-
* ...
|
|
1075
|
-
*
|
|
1014
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-showDirty)
|
|
1015
|
+
* @property {boolean} showDirty.duringEdit Set to `true` to show the red tag while editing a cell
|
|
1016
|
+
* @property {boolean} showDirty.newRecord Set to `true` to show the red tag for all the cells of the new record
|
|
1076
1017
|
*/
|
|
1077
|
-
showDirty ? : Boolean|{
|
|
1078
|
-
duringEdit?: Boolean
|
|
1079
|
-
newRecord?: Boolean
|
|
1080
|
-
}
|
|
1018
|
+
showDirty ? : Boolean|{ duringEdit: Boolean, newRecord: Boolean }
|
|
1081
1019
|
/**
|
|
1082
1020
|
* Specifies whether effort values should display units or not.
|
|
1083
1021
|
*/
|
|
1084
1022
|
showEffortUnit ? : Boolean
|
|
1023
|
+
/**
|
|
1024
|
+
* When `true`, all zoom operations ([zoomIn](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/mixin/TimelineZoomable#function-zoomIn),
|
|
1025
|
+
* [zoomOut](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/mixin/TimelineZoomable#function-zoomOut),
|
|
1026
|
+
* [zoomInFull](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/mixin/TimelineZoomable#function-zoomInFull),
|
|
1027
|
+
* [zoomOutFull](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/mixin/TimelineZoomable#function-zoomOutFull)) will use the smooth zoom system instead
|
|
1028
|
+
* of jumping between discrete preset levels. This provides finer-grained control over zoom levels by
|
|
1029
|
+
* interpolating tick sizes between presets.
|
|
1030
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-smoothZoom)
|
|
1031
|
+
*/
|
|
1032
|
+
smoothZoom ? : Boolean
|
|
1085
1033
|
/**
|
|
1086
1034
|
* Set to `true` to snap to the current time resolution increment while interacting with scheduled events.
|
|
1087
|
-
* ...
|
|
1088
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-snap)
|
|
1035
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-snap)
|
|
1089
1036
|
*/
|
|
1090
1037
|
snap ? : Boolean
|
|
1091
1038
|
/**
|
|
1092
1039
|
* Affects drag drop and resizing of events when [snap](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/mixin/TimelineDateMapper#config-snap)
|
|
1093
1040
|
* is enabled.
|
|
1094
|
-
* ...
|
|
1095
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-snapRelativeToEventStartDate)
|
|
1041
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-snapRelativeToEventStartDate)
|
|
1096
1042
|
*/
|
|
1097
1043
|
snapRelativeToEventStartDate ? : Boolean
|
|
1098
1044
|
/**
|
|
@@ -1101,8 +1047,7 @@ defineProps<{
|
|
|
1101
1047
|
span ? : number
|
|
1102
1048
|
/**
|
|
1103
1049
|
* The start date of the timeline (if not configure with [infiniteScroll](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/TimelineBase#config-infiniteScroll)).
|
|
1104
|
-
* ...
|
|
1105
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-startDate)
|
|
1050
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-startDate)
|
|
1106
1051
|
*/
|
|
1107
1052
|
startDate ? : Date|string
|
|
1108
1053
|
/**
|
|
@@ -1111,40 +1056,34 @@ defineProps<{
|
|
|
1111
1056
|
startParamName ? : string
|
|
1112
1057
|
/**
|
|
1113
1058
|
* This value can be one of the following:
|
|
1114
|
-
* ...
|
|
1115
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-stateful)
|
|
1059
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-stateful)
|
|
1116
1060
|
*/
|
|
1117
1061
|
stateful ? : Boolean|object|string[]
|
|
1118
1062
|
/**
|
|
1119
1063
|
* The events that, when fired by this component, should trigger it to save its state by calling
|
|
1120
1064
|
* [saveState](https://bryntum.com/products/schedulerpro/docs/api/Core/mixin/State#function-saveState).
|
|
1121
|
-
* ...
|
|
1122
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-statefulEvents)
|
|
1065
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-statefulEvents)
|
|
1123
1066
|
*/
|
|
1124
1067
|
statefulEvents ? : object|string[]
|
|
1125
1068
|
/**
|
|
1126
1069
|
* The key to use when saving this object's state in the [stateProvider](https://bryntum.com/products/schedulerpro/docs/api/Core/mixin/State#config-stateProvider). If this config is
|
|
1127
1070
|
* not assigned, and [stateful](https://bryntum.com/products/schedulerpro/docs/api/Core/mixin/State#config-stateful) is not set to `false`, the [id](#Core/widget/Widget#config-id)
|
|
1128
1071
|
* (if explicitly specified) will be used as the `stateId`.
|
|
1129
|
-
* ...
|
|
1130
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-stateId)
|
|
1072
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-stateId)
|
|
1131
1073
|
*/
|
|
1132
1074
|
stateId ? : string
|
|
1133
1075
|
/**
|
|
1134
1076
|
* The `StateProvider` to use to save and restore this object's [state](https://bryntum.com/products/schedulerpro/docs/api/Core/mixin/State#property-state). By default, `state`
|
|
1135
1077
|
* will be saved using the [default state provider](https://bryntum.com/products/schedulerpro/docs/api/Core/state/StateProvider#property-instance-static).
|
|
1136
|
-
* ...
|
|
1137
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-stateProvider)
|
|
1078
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-stateProvider)
|
|
1138
1079
|
*/
|
|
1139
1080
|
stateProvider ? : StateProvider
|
|
1140
1081
|
/**
|
|
1141
1082
|
* The properties of this settings object controls how grid is restored from state data.
|
|
1142
|
-
* ...
|
|
1143
|
-
* [
|
|
1083
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-stateSettings)
|
|
1084
|
+
* @property {boolean} [restoreUnconfiguredColumns] Determines whether to restore columns from the state that are not explicitly defined in the grid configuration.
|
|
1144
1085
|
*/
|
|
1145
|
-
stateSettings ? :
|
|
1146
|
-
restoreUnconfiguredColumns?: Boolean
|
|
1147
|
-
}
|
|
1086
|
+
stateSettings ? : object
|
|
1148
1087
|
/**
|
|
1149
1088
|
* When set, the text in the major time axis header sticks in the scrolling viewport as long as possible.
|
|
1150
1089
|
*/
|
|
@@ -1152,24 +1091,21 @@ defineProps<{
|
|
|
1152
1091
|
/**
|
|
1153
1092
|
* Store that holds records to display in the grid, or a store config object. If the configuration contains
|
|
1154
1093
|
* a `readUrl`, an `AjaxStore` will be created.
|
|
1155
|
-
* ...
|
|
1156
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-store)
|
|
1094
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-store)
|
|
1157
1095
|
*/
|
|
1158
1096
|
store ? : Store|StoreConfig|AjaxStore|AjaxStoreConfig
|
|
1159
1097
|
/**
|
|
1160
1098
|
* An object containing widgets keyed by name. By default (when no `type` is given), strips are
|
|
1161
1099
|
* [toolbars](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Toolbar). If you want to pass an array, you can use
|
|
1162
1100
|
* the toolbar's [items](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#config-items).
|
|
1163
|
-
* ...
|
|
1164
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-strips)
|
|
1101
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-strips)
|
|
1165
1102
|
*/
|
|
1166
1103
|
strips ? : Record<string, SchedulerProContainerItemConfig>
|
|
1167
1104
|
/**
|
|
1168
1105
|
* An object containing sub grid configuration objects keyed by a `region` property.
|
|
1169
1106
|
* By default, grid has a 'locked' region (if configured with locked columns) and a 'normal' region.
|
|
1170
1107
|
* The 'normal' region defaults to use `flex: 1`.
|
|
1171
|
-
* ...
|
|
1172
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-subGridConfigs)
|
|
1108
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-subGridConfigs)
|
|
1173
1109
|
*/
|
|
1174
1110
|
subGridConfigs ? : Record<string, SubGridConfig>
|
|
1175
1111
|
/**
|
|
@@ -1180,37 +1116,32 @@ defineProps<{
|
|
|
1180
1116
|
/**
|
|
1181
1117
|
* A [Mask](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Mask) config object, or a message to be shown when Crud Manager
|
|
1182
1118
|
* is persisting changes on the server. Set to `null` to disable default sync mask.
|
|
1183
|
-
* ...
|
|
1184
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-syncMask)
|
|
1119
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-syncMask)
|
|
1185
1120
|
*/
|
|
1186
1121
|
syncMask ? : string|MaskConfig|null
|
|
1187
1122
|
/**
|
|
1188
1123
|
* A configuration for the [tab](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Tab) created for this widget when it is placed in a
|
|
1189
1124
|
* [TabPanel](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/TabPanel). For example, this config can be used to control the icon of the `tab` for
|
|
1190
1125
|
* this widget:
|
|
1191
|
-
* ...
|
|
1192
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-tab)
|
|
1126
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-tab)
|
|
1193
1127
|
*/
|
|
1194
1128
|
tab ? : Boolean|TabConfig
|
|
1195
1129
|
/**
|
|
1196
1130
|
* When this container is used as a tab in a TabPanel, these items are added to the
|
|
1197
1131
|
* [TabBar](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/TabBar) when this container is the active tab.
|
|
1198
|
-
* ...
|
|
1199
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-tabBarItems)
|
|
1132
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-tabBarItems)
|
|
1200
1133
|
*/
|
|
1201
1134
|
tabBarItems ? : ToolbarItems[]|Widget[]
|
|
1202
1135
|
/**
|
|
1203
1136
|
* A Config object representing the configuration of a [Toolbar](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Toolbar),
|
|
1204
1137
|
* or array of config objects representing the child items of a Toolbar.
|
|
1205
1138
|
* This creates a toolbar docked to the top of the panel immediately below the header.
|
|
1206
|
-
* ...
|
|
1207
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-tbar)
|
|
1139
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-tbar)
|
|
1208
1140
|
*/
|
|
1209
1141
|
tbar ? : (SchedulerProContainerItemConfig|string)[]|ToolbarConfig|PagingToolbarConfig|null
|
|
1210
1142
|
/**
|
|
1211
1143
|
* The width/height (depending on vertical / horizontal mode) of all the time columns.
|
|
1212
|
-
* ...
|
|
1213
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-tickSize)
|
|
1144
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-tickSize)
|
|
1214
1145
|
*/
|
|
1215
1146
|
tickSize ? : number
|
|
1216
1147
|
/**
|
|
@@ -1231,41 +1162,33 @@ defineProps<{
|
|
|
1231
1162
|
/**
|
|
1232
1163
|
* Gets/sets the current time resolution object, which contains a unit identifier and an increment count
|
|
1233
1164
|
* `{ unit, increment }`. This value means minimal task duration you can create using UI.
|
|
1234
|
-
* ...
|
|
1235
|
-
*
|
|
1165
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-timeResolution)
|
|
1166
|
+
* @property {number} increment The increment in the specified unit
|
|
1167
|
+
* @property {DurationUnit} unit The time resolution unit
|
|
1236
1168
|
*/
|
|
1237
|
-
timeResolution ? :
|
|
1238
|
-
increment?: number
|
|
1239
|
-
unit?: DurationUnit
|
|
1240
|
-
}|number
|
|
1169
|
+
timeResolution ? : object|number
|
|
1241
1170
|
/**
|
|
1242
1171
|
* A title to display in the header or owning TabPanel. Causes creation and docking of a header
|
|
1243
1172
|
* to the top if no header is configured.
|
|
1244
|
-
* ...
|
|
1245
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-title)
|
|
1173
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-title)
|
|
1246
1174
|
*/
|
|
1247
1175
|
title ? : string
|
|
1248
1176
|
/**
|
|
1249
1177
|
* The [tools](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Tool) to add either before or after the `title` in the Panel header. Each
|
|
1250
1178
|
* property name is the reference by which an instantiated tool may be retrieved from the live
|
|
1251
1179
|
* `[tools](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/mixin/Toolable#property-tools)` property.
|
|
1252
|
-
* ...
|
|
1253
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-tools)
|
|
1180
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-tools)
|
|
1254
1181
|
*/
|
|
1255
1182
|
tools ? : Record<string, ToolConfig>|null
|
|
1256
1183
|
/**
|
|
1257
1184
|
* Configure UI transitions for various actions in the grid.
|
|
1185
|
+
* @property {boolean} insertRecord Transition row insertions
|
|
1186
|
+
* @property {boolean} removeRecord Transition row removals
|
|
1187
|
+
* @property {boolean} barChange Transition data changes that lead to bars being updated
|
|
1188
|
+
* @property {boolean} toggleTreeNode Transition tree node expand/collapse
|
|
1189
|
+
* @property {boolean} toggleGroup Transition group expand/collapse
|
|
1258
1190
|
*/
|
|
1259
|
-
transition ? :
|
|
1260
|
-
insertRecord?: Boolean
|
|
1261
|
-
removeRecord?: Boolean
|
|
1262
|
-
toggleColumn?: Boolean
|
|
1263
|
-
expandCollapseColumn?: Boolean
|
|
1264
|
-
toggleRegion?: Boolean
|
|
1265
|
-
toggleTreeNode?: Boolean
|
|
1266
|
-
toggleGroup?: Boolean
|
|
1267
|
-
filterRemoval?: Boolean
|
|
1268
|
-
}
|
|
1191
|
+
transition ? : object
|
|
1269
1192
|
/**
|
|
1270
1193
|
* Animation transition duration in milliseconds.
|
|
1271
1194
|
*/
|
|
@@ -1275,22 +1198,19 @@ defineProps<{
|
|
|
1275
1198
|
* Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
|
|
1276
1199
|
* as a space separated string, an array of strings, or as an object in which property names with truthy
|
|
1277
1200
|
* values are used as the class names.
|
|
1278
|
-
* ...
|
|
1279
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-ui)
|
|
1201
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-ui)
|
|
1280
1202
|
*/
|
|
1281
1203
|
ui ? : 'plain'|'toolbar'|string|object
|
|
1282
1204
|
/**
|
|
1283
|
-
* A string key used to
|
|
1284
|
-
* managed by [PresetManager](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/preset/PresetManager). See [PresetManager](#Scheduler/preset/PresetManager)
|
|
1285
|
-
* Or a config object for a viewPreset.
|
|
1286
|
-
* ...
|
|
1287
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-viewPreset)
|
|
1205
|
+
* A string key used to look up a predefined [ViewPreset](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/preset/ViewPreset) (e.g. 'weekAndDay',
|
|
1206
|
+
* 'hourAndDay'), managed by [PresetManager](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/preset/PresetManager). See [PresetManager](#Scheduler/preset/PresetManager)
|
|
1207
|
+
* for more information. Or a config object for a viewPreset.
|
|
1208
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-viewPreset)
|
|
1288
1209
|
*/
|
|
1289
1210
|
viewPreset ? : string|ViewPresetConfig
|
|
1290
1211
|
/**
|
|
1291
1212
|
* A date to bring into view initially on the scrollable timeline.
|
|
1292
|
-
* ...
|
|
1293
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-visibleDate)
|
|
1213
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-visibleDate)
|
|
1294
1214
|
*/
|
|
1295
1215
|
visibleDate ? : Date|VisibleDate
|
|
1296
1216
|
/**
|
|
@@ -1318,15 +1238,19 @@ defineProps<{
|
|
|
1318
1238
|
/**
|
|
1319
1239
|
* An object with format `{ fromDay, toDay, fromHour, toHour }` that describes the working days and hours.
|
|
1320
1240
|
* This object will be used to populate TimeAxis [include](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/data/TimeAxis#config-include) property.
|
|
1321
|
-
* ...
|
|
1322
|
-
*
|
|
1241
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-workingTime)
|
|
1242
|
+
* @property {number} workingTime.fromDay Day index 0-6 (0 is Sunday)
|
|
1243
|
+
* @property {number} workingTime.toDay Day index 0-6 (0 is Sunday)
|
|
1244
|
+
* @property {number} workingTime.fromHour 0-23
|
|
1245
|
+
* @property {number} workingTime.toHour 0-23
|
|
1246
|
+
*/
|
|
1247
|
+
workingTime ? : { fromDay: number, toDay: number, fromHour: number, toHour: number }
|
|
1248
|
+
/**
|
|
1249
|
+
* Factor multiplied with wheel delta to calculate smooth zoom level changes when zooming with mouse wheel or
|
|
1250
|
+
* trackpad pinch gestures. A higher value means faster zooming.
|
|
1251
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-zoomFactor)
|
|
1323
1252
|
*/
|
|
1324
|
-
|
|
1325
|
-
fromDay?: number
|
|
1326
|
-
toDay?: number
|
|
1327
|
-
fromHour?: number
|
|
1328
|
-
toHour?: number
|
|
1329
|
-
}
|
|
1253
|
+
zoomFactor ? : number
|
|
1330
1254
|
/**
|
|
1331
1255
|
* Whether the originally rendered timespan should be preserved while zooming. By default, it is set to `false`,
|
|
1332
1256
|
* meaning the timeline panel will adjust the currently rendered timespan to limit the amount of HTML content to
|
|
@@ -1336,11 +1260,11 @@ defineProps<{
|
|
|
1336
1260
|
*/
|
|
1337
1261
|
zoomKeepsOriginalTimespan ? : Boolean
|
|
1338
1262
|
/**
|
|
1339
|
-
* If true
|
|
1263
|
+
* If `true`, you can zoom in and out on the time axis using <kbd>CTRL</kbd> + mouse wheel.
|
|
1340
1264
|
*/
|
|
1341
1265
|
zoomOnMouseWheel ? : Boolean
|
|
1342
1266
|
/**
|
|
1343
|
-
*
|
|
1267
|
+
* If `true`, you can zoom to a time span by double-clicking a time axis cell.
|
|
1344
1268
|
*/
|
|
1345
1269
|
zoomOnTimeAxisDoubleClick ? : Boolean
|
|
1346
1270
|
|
|
@@ -1350,148 +1274,137 @@ defineProps<{
|
|
|
1350
1274
|
* agent and see the responses. Which allows the user to use natural language to interact with the Grid in different
|
|
1351
1275
|
* ways. For example, the user can ask the agent to filter the data, sort it, or select specific records. The agent can
|
|
1352
1276
|
* also perform data manipulation operations such as adding, updating, deleting records.
|
|
1353
|
-
* ...
|
|
1354
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/AI)
|
|
1277
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/AI)
|
|
1355
1278
|
*/
|
|
1356
1279
|
aiFeature ? : object|Boolean|string|GridAI|GridAIConfig
|
|
1357
1280
|
/**
|
|
1358
1281
|
* AI-powered filter feature for Grid. Allows users to type natural language queries to filter grid data.
|
|
1359
|
-
* ...
|
|
1360
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/ai/AIFilter)
|
|
1282
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/ai/AIFilter)
|
|
1361
1283
|
*/
|
|
1362
1284
|
aiFilterFeature ? : object|Boolean|string|AIFilter|AIFilterConfig
|
|
1363
1285
|
/**
|
|
1364
1286
|
* Adding this feature to the resource utilization view enables assignment effort data editing.
|
|
1365
|
-
* ...
|
|
1366
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/feature/AllocationCellEdit)
|
|
1287
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/feature/AllocationCellEdit)
|
|
1367
1288
|
*/
|
|
1368
1289
|
allocationCellEditFeature ? : object|Boolean|string|AllocationCellEdit|AllocationCellEditConfig
|
|
1369
1290
|
/**
|
|
1370
1291
|
* This is a feature of [ResourceUtilization](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization) view that allows copy-pasting
|
|
1371
1292
|
* assignment time-phased effort values.
|
|
1372
|
-
* ...
|
|
1373
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/feature/AllocationCopyPaste)
|
|
1293
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/feature/AllocationCopyPaste)
|
|
1374
1294
|
*/
|
|
1375
1295
|
allocationCopyPasteFeature ? : object|Boolean|string|AllocationCopyPaste|AllocationCopyPasteConfig
|
|
1376
1296
|
/**
|
|
1377
1297
|
* Allows using `[Ctrl/CMD + C]`, `[Ctrl/CMD + X]` and `[Ctrl/CMD + V]` to cut, copy and paste cell or cell ranges. Also
|
|
1378
1298
|
* makes cut, copy and paste actions available via the cell context menu.
|
|
1379
|
-
* ...
|
|
1380
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellCopyPaste)
|
|
1299
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellCopyPaste)
|
|
1381
1300
|
*/
|
|
1382
1301
|
cellCopyPasteFeature ? : object|Boolean|string|CellCopyPaste|CellCopyPasteConfig
|
|
1383
1302
|
/**
|
|
1384
|
-
* Extends the Grid's [CellEdit](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellEdit) feature to
|
|
1385
|
-
*
|
|
1386
|
-
*
|
|
1303
|
+
* Extends the Grid's [CellEdit](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellEdit) feature to integrate with the Scheduler Pro scheduling engine.
|
|
1304
|
+
* It wraps cell edit operations in project transactions, ensuring that all changes to scheduling-related fields
|
|
1305
|
+
* (such as start date, duration, or effort) are processed atomically through the scheduling engine and can be
|
|
1306
|
+
* cleanly committed or reverted. This feature also coordinates with other transactional features to prevent
|
|
1307
|
+
* conflicting edits from occurring simultaneously.
|
|
1308
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/feature/CellEdit)
|
|
1387
1309
|
*/
|
|
1388
1310
|
cellEditFeature ? : object|Boolean|string|CellEdit|CellEditConfig
|
|
1389
1311
|
/**
|
|
1390
1312
|
* Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
|
|
1391
1313
|
* <kbd>Space</kbd> key when the cell is focused.
|
|
1392
|
-
* ...
|
|
1393
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellMenu)
|
|
1314
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellMenu)
|
|
1394
1315
|
*/
|
|
1395
1316
|
cellMenuFeature ? : object|Boolean|string|CellMenu|CellMenuConfig
|
|
1396
1317
|
/**
|
|
1397
1318
|
* Displays a tooltip when hovering cells.
|
|
1398
|
-
* ...
|
|
1399
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellTooltip)
|
|
1319
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellTooltip)
|
|
1400
1320
|
*/
|
|
1401
1321
|
cellTooltipFeature ? : object|Boolean|string|CellTooltip|CellTooltipConfig
|
|
1402
1322
|
/**
|
|
1403
1323
|
* Adds interactive charting to a Grid. [Charts](https://bryntum.com/products/schedulerpro/docs/api/Chart/widget/Chart) can be created from a selection of Grid data
|
|
1404
1324
|
* and updated in realtime as data changes. Supports many common chart types with extensive styling and customization
|
|
1405
1325
|
* options.
|
|
1406
|
-
* ...
|
|
1407
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/Charts)
|
|
1326
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/Charts)
|
|
1408
1327
|
*/
|
|
1409
1328
|
chartsFeature ? : object|Boolean|string|Charts|ChartsConfig
|
|
1410
1329
|
/**
|
|
1411
|
-
* Enables the [autoWidth](https://bryntum.com/products/schedulerpro/docs/api/Grid/column/Column#config-autoWidth) config for a grid's columns.
|
|
1412
|
-
*
|
|
1413
|
-
*
|
|
1330
|
+
* Enables the [autoWidth](https://bryntum.com/products/schedulerpro/docs/api/Grid/column/Column#config-autoWidth) config for a grid's columns. When a column
|
|
1331
|
+
* has `autoWidth` set, this feature measures the rendered content of all visible cells in that column
|
|
1332
|
+
* and adjusts the column width to fit. The measurement is triggered automatically when data changes
|
|
1333
|
+
* or rows are rendered.
|
|
1334
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/ColumnAutoWidth)
|
|
1414
1335
|
*/
|
|
1415
1336
|
columnAutoWidthFeature ? : object|Boolean|string|ColumnAutoWidth|ColumnAutoWidthConfig
|
|
1416
1337
|
/**
|
|
1417
1338
|
* Displays a toolbar while dragging column headers. Drop on a button in the toolbar to activate a certain function,
|
|
1418
1339
|
* for example to group by that column. This feature simplifies certain operations on touch devices.
|
|
1419
|
-
* ...
|
|
1420
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/ColumnDragToolbar)
|
|
1340
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/ColumnDragToolbar)
|
|
1421
1341
|
*/
|
|
1422
1342
|
columnDragToolbarFeature ? : object|Boolean|string|ColumnDragToolbar|ColumnDragToolbarConfig
|
|
1423
1343
|
/**
|
|
1424
1344
|
* Displays column lines for ticks, with a different styling for major ticks (by default they are darker). If this
|
|
1425
1345
|
* feature is disabled, no lines are shown. If it's enabled, line are shown for the tick level which is set in current
|
|
1426
1346
|
* ViewPreset. Please see [columnLinesFor](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/preset/ViewPreset#field-columnLinesFor) config for details.
|
|
1427
|
-
* ...
|
|
1428
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/ColumnLines)
|
|
1347
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/ColumnLines)
|
|
1429
1348
|
*/
|
|
1430
1349
|
columnLinesFeature ? : object|Boolean|string|ColumnLines|ColumnLinesConfig
|
|
1431
1350
|
/**
|
|
1432
1351
|
* Displays a column picker (to show/hide columns) in the header context menu. Columns can be displayed in sub menus
|
|
1433
1352
|
* by region or tag. Grouped headers are displayed as menu hierarchies.
|
|
1434
|
-
* ...
|
|
1435
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/ColumnPicker)
|
|
1353
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/ColumnPicker)
|
|
1436
1354
|
*/
|
|
1437
1355
|
columnPickerFeature ? : object|Boolean|string|ColumnPicker|ColumnPickerConfig
|
|
1438
1356
|
/**
|
|
1439
1357
|
* Allows user to rename columns by either right-clicking column header or using keyboard shortcuts when column header
|
|
1440
1358
|
* is focused.
|
|
1441
|
-
* ...
|
|
1442
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/ColumnRename)
|
|
1359
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/ColumnRename)
|
|
1443
1360
|
*/
|
|
1444
1361
|
columnRenameFeature ? : object|Boolean|string|ColumnRename|ColumnRenameConfig
|
|
1445
1362
|
/**
|
|
1446
|
-
* Allows user to reorder columns by dragging headers.
|
|
1447
|
-
*
|
|
1448
|
-
*
|
|
1449
|
-
* [
|
|
1363
|
+
* Allows user to reorder columns by dragging headers. Click and drag a column header to move it to a new position.
|
|
1364
|
+
* Visual feedback shows the drop target while dragging. To get notified about column reorder, listen to the
|
|
1365
|
+
* `change` event on the [columns](https://bryntum.com/products/schedulerpro/docs/api/Grid/data/ColumnStore) store.
|
|
1366
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/ColumnReorder)
|
|
1450
1367
|
*/
|
|
1451
1368
|
columnReorderFeature ? : object|Boolean|string|ColumnReorder|ColumnReorderConfig
|
|
1452
1369
|
/**
|
|
1453
|
-
* Enables user to resize columns by dragging a handle on the right hand side of the header.
|
|
1454
|
-
*
|
|
1455
|
-
*
|
|
1456
|
-
* [
|
|
1370
|
+
* Enables user to resize columns by dragging a handle on the right hand side of the header. A drag handle
|
|
1371
|
+
* appears when hovering near the right edge of a column header. Dragging it adjusts the column width, respecting
|
|
1372
|
+
* any [minWidth](https://bryntum.com/products/schedulerpro/docs/api/Grid/column/Column#config-minWidth) or [maxWidth](#Grid/column/Column#config-maxWidth) constraints.
|
|
1373
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/ColumnResize)
|
|
1457
1374
|
*/
|
|
1458
1375
|
columnResizeFeature ? : object|Boolean|string|ColumnResize|ColumnResizeConfig
|
|
1459
1376
|
/**
|
|
1460
1377
|
* A feature that allows exporting Grid data to Excel or CSV without involving the server. It uses
|
|
1461
1378
|
* [TableExporter](https://bryntum.com/products/schedulerpro/docs/api/Grid/util/TableExporter) class as data provider, 3rd party provider to generate XLS files, and
|
|
1462
1379
|
* [Microsoft XML specification](https://msdn.microsoft.com/en-us/library/office/documentformat.openxml.spreadsheet.aspx).
|
|
1463
|
-
* ...
|
|
1464
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/experimental/ExcelExporter)
|
|
1380
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/experimental/ExcelExporter)
|
|
1465
1381
|
*/
|
|
1466
1382
|
excelExporterFeature ? : object|Boolean|string|GridExcelExporter|GridExcelExporterConfig
|
|
1467
1383
|
/**
|
|
1468
|
-
* An experimental feature that lets users drop files on a Widget. The widget fires
|
|
1469
|
-
* In the event, you get access to the raw
|
|
1470
|
-
*
|
|
1471
|
-
* [
|
|
1384
|
+
* An experimental feature that lets users drop files on a Widget. The widget fires a
|
|
1385
|
+
* [fileDrop](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/experimental/FileDrop#event-fileDrop) event when a file is dropped onto it. In the event, you get access to the raw
|
|
1386
|
+
* files as strings, that were parsed by calling `readAsBinaryString`.
|
|
1387
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/experimental/FileDrop)
|
|
1472
1388
|
*/
|
|
1473
1389
|
fileDropFeature ? : object|Boolean|string|FileDrop|FileDropConfig
|
|
1474
1390
|
/**
|
|
1475
1391
|
* This feature adds a fill handle to a Grid range selection, which when dragged, fills the cells being dragged over
|
|
1476
1392
|
* with values based on the values in the original selected range. This is similar to functionality normally seen in
|
|
1477
1393
|
* various spreadsheet applications.
|
|
1478
|
-
* ...
|
|
1479
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/FillHandle)
|
|
1394
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/FillHandle)
|
|
1480
1395
|
*/
|
|
1481
1396
|
fillHandleFeature ? : object|Boolean|string|FillHandle|FillHandleConfig
|
|
1482
1397
|
/**
|
|
1483
1398
|
* Feature that allows filtering of the grid by settings filters on columns. The actual filtering is done by the store.
|
|
1484
1399
|
* For info on programmatically handling filters, see [StoreFilter](https://bryntum.com/products/schedulerpro/docs/api/Core/data/mixin/StoreFilter).
|
|
1485
|
-
* ...
|
|
1486
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/Filter)
|
|
1400
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/Filter)
|
|
1487
1401
|
*/
|
|
1488
1402
|
filterFeature ? : object|Boolean|string|Filter|FilterConfig
|
|
1489
1403
|
/**
|
|
1490
1404
|
* Feature that allows filtering of the grid by entering filters on column headers.
|
|
1491
1405
|
* The actual filtering is done by the store.
|
|
1492
1406
|
* For info on programmatically handling filters, see [StoreFilter](https://bryntum.com/products/schedulerpro/docs/api/Core/data/mixin/StoreFilter).
|
|
1493
|
-
* ...
|
|
1494
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/FilterBar)
|
|
1407
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/FilterBar)
|
|
1495
1408
|
*/
|
|
1496
1409
|
filterBarFeature ? : object|Boolean|string|FilterBar|FilterBarConfig
|
|
1497
1410
|
/**
|
|
@@ -1499,194 +1412,169 @@ defineProps<{
|
|
|
1499
1412
|
* <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
|
|
1500
1413
|
* one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
|
|
1501
1414
|
* grouper.
|
|
1502
|
-
* ...
|
|
1503
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/Group)
|
|
1415
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/Group)
|
|
1504
1416
|
*/
|
|
1505
1417
|
groupFeature ? : object|Boolean|string|Group|GroupConfig
|
|
1506
1418
|
/**
|
|
1507
1419
|
* A special version of the Grid GroupSummary feature that enables summaries within scheduler. To use a single summary
|
|
1508
1420
|
* it is easiest to configure [renderer](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/GroupSummary#config-renderer), for multiple summaries see [summaries](#Scheduler/feature/GroupSummary#config-summaries).
|
|
1509
|
-
* ...
|
|
1510
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/GroupSummary)
|
|
1421
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/GroupSummary)
|
|
1511
1422
|
*/
|
|
1512
1423
|
groupSummaryFeature ? : object|Boolean|string|GroupSummary|GroupSummaryConfig
|
|
1513
1424
|
/**
|
|
1514
1425
|
* Right click column header or focus it and press SPACE key to show the context menu for headers.
|
|
1515
|
-
* ...
|
|
1516
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/HeaderMenu)
|
|
1426
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/HeaderMenu)
|
|
1517
1427
|
*/
|
|
1518
1428
|
headerMenuFeature ? : object|Boolean|string|HeaderMenu|HeaderMenuConfig
|
|
1519
1429
|
/**
|
|
1520
1430
|
* Enables users to click and drag to zoom to a date range in Scheduler's header time axis. Only supported in horizontal
|
|
1521
1431
|
* mode.
|
|
1522
|
-
* ...
|
|
1523
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/HeaderZoom)
|
|
1432
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/HeaderZoom)
|
|
1524
1433
|
*/
|
|
1525
1434
|
headerZoomFeature ? : object|Boolean|string|HeaderZoom|HeaderZoomConfig
|
|
1526
1435
|
/**
|
|
1527
1436
|
* This feature allows records which satisfy a certain condition to be locked at the top of the grid.
|
|
1528
|
-
* ...
|
|
1529
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/LockRows)
|
|
1437
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/LockRows)
|
|
1530
1438
|
*/
|
|
1531
1439
|
lockRowsFeature ? : object|Boolean|string|GridLockRows|GridLockRowsConfig
|
|
1532
1440
|
/**
|
|
1533
1441
|
* This feature merges cells that have the same value in sorted (or [optionally](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/MergeCells#config-sortedOnly) any) columns
|
|
1534
1442
|
* configured to [mergeCells](https://bryntum.com/products/schedulerpro/docs/api/Grid/column/Column#config-mergeCells).
|
|
1535
|
-
* ...
|
|
1536
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/MergeCells)
|
|
1443
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/MergeCells)
|
|
1537
1444
|
*/
|
|
1538
1445
|
mergeCellsFeature ? : object|Boolean|string|MergeCells|MergeCellsConfig
|
|
1539
1446
|
/**
|
|
1540
1447
|
* Feature that allows styling of weekends (and other non-working time) by adding timeRanges for those days.
|
|
1541
|
-
* ...
|
|
1542
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/NonWorkingTime)
|
|
1448
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/NonWorkingTime)
|
|
1543
1449
|
*/
|
|
1544
1450
|
nonWorkingTimeFeature ? : object|Boolean|string|NonWorkingTime|NonWorkingTimeConfig
|
|
1545
1451
|
/**
|
|
1546
1452
|
* Makes the scheduler's timeline pannable by dragging with the mouse. Try it out in the demo below.
|
|
1547
|
-
* ...
|
|
1548
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/Pan)
|
|
1453
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/Pan)
|
|
1549
1454
|
*/
|
|
1550
1455
|
panFeature ? : object|Boolean|string|Pan|PanConfig
|
|
1551
1456
|
/**
|
|
1552
1457
|
* Generates PDF/PNG files from the Grid component.
|
|
1553
|
-
* ...
|
|
1554
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/export/PdfExport)
|
|
1458
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/export/PdfExport)
|
|
1555
1459
|
*/
|
|
1556
1460
|
pdfExportFeature ? : object|Boolean|string|GridPdfExport|GridPdfExportConfig
|
|
1557
1461
|
/**
|
|
1558
1462
|
* Allows pinning columns to the start or end region of the grid without any additional subGrid configurations.
|
|
1559
1463
|
* When pinning to a region that does not yet exist, the feature creates the required subGrid on the fly.
|
|
1560
|
-
* ...
|
|
1561
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/PinColumns)
|
|
1464
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/PinColumns)
|
|
1562
1465
|
*/
|
|
1563
1466
|
pinColumnsFeature ? : object|Boolean|string|PinColumns|PinColumnsConfig
|
|
1564
1467
|
/**
|
|
1565
1468
|
* Allows printing Grid contents using browser print dialog.
|
|
1566
|
-
* ...
|
|
1567
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/export/Print)
|
|
1469
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/export/Print)
|
|
1568
1470
|
*/
|
|
1569
1471
|
printFeature ? : object|Boolean|string|GridPrint|GridPrintConfig
|
|
1570
1472
|
/**
|
|
1571
1473
|
* Feature that allows the user to search in a column by focusing a cell and typing. Navigate between hits using the
|
|
1572
|
-
* keyboard,
|
|
1573
|
-
*
|
|
1574
|
-
* [
|
|
1474
|
+
* keyboard, <kbd>f3</kbd> or <kbd>ctrl</kbd>/<kbd>cmd</kbd> + <kbd>g</kbd> moves to next, also pressing
|
|
1475
|
+
* <kbd>shift</kbd> moves to previous.
|
|
1476
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/QuickFind)
|
|
1575
1477
|
*/
|
|
1576
1478
|
quickFindFeature ? : object|Boolean|string|QuickFind|QuickFindConfig
|
|
1577
1479
|
/**
|
|
1578
1480
|
* Makes the splitter between grid [sections](https://bryntum.com/products/schedulerpro/docs/api/Grid/view/SubGrid) draggable, to let users resize, and
|
|
1579
1481
|
* collapse/expand the sections.
|
|
1580
|
-
* ...
|
|
1581
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/RegionResize)
|
|
1482
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/RegionResize)
|
|
1582
1483
|
*/
|
|
1583
1484
|
regionResizeFeature ? : object|Boolean|string|RegionResize|RegionResizeConfig
|
|
1584
1485
|
/**
|
|
1585
1486
|
* Applicable only for Scheduler in `vertical` mode. Right click resource header cells to display a context menu.
|
|
1586
|
-
* ...
|
|
1587
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/ResourceMenu)
|
|
1487
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/ResourceMenu)
|
|
1588
1488
|
*/
|
|
1589
1489
|
resourceMenuFeature ? : object|Boolean|string|ResourceMenu|ResourceMenuConfig
|
|
1590
1490
|
/**
|
|
1591
1491
|
* Feature that highlights the non-working intervals for resources based on their [calendar](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ResourceModel#field-calendar).
|
|
1592
1492
|
* If a resource has no calendar defined, the project's calendar will be used. The non-working time interval can
|
|
1593
1493
|
* also be recurring. You can find a live example showing how to achieve this in the [Resource Non-Working Time Demo](../examples/resource-non-working-time/).
|
|
1594
|
-
* ...
|
|
1595
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/feature/ResourceNonWorkingTime)
|
|
1494
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/feature/ResourceNonWorkingTime)
|
|
1596
1495
|
*/
|
|
1597
1496
|
resourceNonWorkingTimeFeature ? : object|Boolean|string|ResourceNonWorkingTime|ResourceNonWorkingTimeConfig
|
|
1598
1497
|
/**
|
|
1599
1498
|
* Feature that draws resource time ranges, shaded areas displayed behind events. These zones are similar to events in
|
|
1600
1499
|
* that they have a start and end date but different in that they do not take part in the event layout, and they always
|
|
1601
1500
|
* occupy full row height.
|
|
1602
|
-
* ...
|
|
1603
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/ResourceTimeRanges)
|
|
1501
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/ResourceTimeRanges)
|
|
1604
1502
|
*/
|
|
1605
1503
|
resourceTimeRangesFeature ? : object|Boolean|string|ResourceTimeRanges|ResourceTimeRangesConfig
|
|
1606
1504
|
/**
|
|
1607
1505
|
* Allow using [Ctrl/CMD + C/X] and [Ctrl/CMD + V] to copy/cut-and-paste rows. Also makes cut, copy and paste actions
|
|
1608
1506
|
* available via the cell context menu.
|
|
1609
|
-
* ...
|
|
1610
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/RowCopyPaste)
|
|
1507
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/RowCopyPaste)
|
|
1611
1508
|
*/
|
|
1612
1509
|
rowCopyPasteFeature ? : object|Boolean|string|RowCopyPaste|RowCopyPasteConfig
|
|
1613
1510
|
/**
|
|
1614
1511
|
* This feature allows editing of entire rows in a grid in a docked panel which by default slides out from the right.
|
|
1615
|
-
* ...
|
|
1616
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/RowEdit)
|
|
1512
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/RowEdit)
|
|
1617
1513
|
*/
|
|
1618
1514
|
rowEditFeature ? : object|Boolean|string|RowEdit|RowEditConfig
|
|
1619
1515
|
/**
|
|
1620
1516
|
* Enables expanding of Grid rows by either row click or double click, or by adding a separate Grid column which renders
|
|
1621
1517
|
* a button that expands or collapses the row.
|
|
1622
|
-
* ...
|
|
1623
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/RowExpander)
|
|
1518
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/RowExpander)
|
|
1624
1519
|
*/
|
|
1625
1520
|
rowExpanderFeature ? : object|Boolean|string|RowExpander|RowExpanderConfig
|
|
1626
1521
|
/**
|
|
1627
1522
|
* This feature implements support for project transactions and used by default in Gantt. For general RowReorder feature
|
|
1628
1523
|
* documentation see [RowReorder](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/RowReorder).
|
|
1629
|
-
* ...
|
|
1630
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/RowReorder)
|
|
1524
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/RowReorder)
|
|
1631
1525
|
*/
|
|
1632
1526
|
rowReorderFeature ? : object|Boolean|string|RowReorder|RowReorderConfig
|
|
1633
1527
|
/**
|
|
1634
1528
|
* Enables user to change row height by dragging the bottom row border. After a resize operation, the [rowHeight](https://bryntum.com/products/schedulerpro/docs/api/Grid/data/GridRowModel#field-rowHeight)
|
|
1635
1529
|
* field of the record is updated (when [applyToAllRows](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/RowResize#config-applyToAllRows) is `false`).
|
|
1636
|
-
* ...
|
|
1637
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/RowResize)
|
|
1530
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/RowResize)
|
|
1638
1531
|
*/
|
|
1639
1532
|
rowResizeFeature ? : object|Boolean|string|GridRowResize|GridRowResizeConfig
|
|
1640
1533
|
/**
|
|
1641
1534
|
* Feature that displays a tooltip containing the time at the mouse position when hovering empty parts of the schedule.
|
|
1642
|
-
* ...
|
|
1643
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/ScheduleTooltip)
|
|
1535
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/ScheduleTooltip)
|
|
1644
1536
|
*/
|
|
1645
1537
|
scheduleTooltipFeature ? : object|Boolean|string|ScheduleTooltip|ScheduleTooltipConfig
|
|
1646
1538
|
/**
|
|
1647
1539
|
* <div class="external-example vertical" data-file="Grid/feature/Search.js"></div>
|
|
1648
|
-
* ...
|
|
1649
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/Search)
|
|
1540
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/Search)
|
|
1650
1541
|
*/
|
|
1651
1542
|
searchFeature ? : object|Boolean|string|Search|SearchConfig
|
|
1652
1543
|
/**
|
|
1653
1544
|
* Allows sorting of grid by clicking (or tapping) headers, also displays which columns grid is sorted by (numbered if
|
|
1654
1545
|
* using multisort). Use modifier keys for multisorting: [Ctrl/CMD + click] to add sorter, [Ctrl/CMD + Alt + click] to remove sorter.
|
|
1655
1546
|
* The actual sorting is done by the store, see [Store.sort()](https://bryntum.com/products/schedulerpro/docs/api/Core/data/mixin/StoreSort#function-sort).
|
|
1656
|
-
* ...
|
|
1657
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/Sort)
|
|
1547
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/Sort)
|
|
1658
1548
|
*/
|
|
1659
1549
|
sortFeature ? : object|Boolean|string|Sort|SortConfig
|
|
1660
1550
|
/**
|
|
1661
1551
|
* This feature allows splitting the Scheduler into multiple views, either by using the cell context menu, or
|
|
1662
1552
|
* programmatically by calling [split()](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/Split#function-split).
|
|
1663
|
-
* ...
|
|
1664
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/Split)
|
|
1553
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/Split)
|
|
1665
1554
|
*/
|
|
1666
1555
|
splitFeature ? : object|Boolean|string|Split|SplitConfig
|
|
1667
1556
|
/**
|
|
1668
|
-
* A feature which pins
|
|
1669
|
-
*
|
|
1670
|
-
*
|
|
1671
|
-
* [
|
|
1557
|
+
* A feature which pins cell content to the top of the grid while the row scrolls off the top but is still visible. Very
|
|
1558
|
+
* similar to native `position: sticky`, which because of Grid's multiple-region setup unfortunately cannot be used to
|
|
1559
|
+
* achieve the same effect.
|
|
1560
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/StickyCells)
|
|
1672
1561
|
*/
|
|
1673
1562
|
stickyCellsFeature ? : object|Boolean|string|StickyCells|StickyCellsConfig
|
|
1674
1563
|
/**
|
|
1675
1564
|
* Stripes rows by adding alternating CSS classes to all row elements (`b-even` and `b-odd`).
|
|
1676
|
-
*
|
|
1677
|
-
*
|
|
1565
|
+
* This improves visual readability in data-heavy grids by giving adjacent rows different background colors.
|
|
1566
|
+
* Style the striped rows using the `.b-even` and `.b-odd` CSS classes.
|
|
1567
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/Stripe)
|
|
1678
1568
|
*/
|
|
1679
1569
|
stripeFeature ? : object|Boolean|string|Stripe|StripeConfig
|
|
1680
1570
|
/**
|
|
1681
1571
|
* A special version of the Grid Summary feature. This feature displays a summary row in the grid footer.
|
|
1682
|
-
* ...
|
|
1683
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/Summary)
|
|
1572
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/Summary)
|
|
1684
1573
|
*/
|
|
1685
1574
|
summaryFeature ? : object|Boolean|string|Summary|SummaryConfig
|
|
1686
1575
|
/**
|
|
1687
1576
|
* Adds scheduler specific menu items to the timeline header context menu.
|
|
1688
|
-
* ...
|
|
1689
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/TimeAxisHeaderMenu)
|
|
1577
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/TimeAxisHeaderMenu)
|
|
1690
1578
|
*/
|
|
1691
1579
|
timeAxisHeaderMenuFeature ? : object|Boolean|string|TimeAxisHeaderMenu|TimeAxisHeaderMenuConfig
|
|
1692
1580
|
/**
|
|
@@ -1694,16 +1582,14 @@ defineProps<{
|
|
|
1694
1582
|
* or some important point in time (a `line`, i.e. a range with 0 duration). This feature can also show a current time
|
|
1695
1583
|
* indicator if you set [showCurrentTimeLine](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/TimeRanges#config-showCurrentTimeLine) to true. To style the rendered elements, use the
|
|
1696
1584
|
* [cls](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/model/TimeSpan#field-cls) field of the `TimeSpan` class.
|
|
1697
|
-
* ...
|
|
1698
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/TimeRanges)
|
|
1585
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/TimeRanges)
|
|
1699
1586
|
*/
|
|
1700
1587
|
timeRangesFeature ? : object|Boolean|string|TimeRanges|TimeRangesConfig
|
|
1701
1588
|
/**
|
|
1702
1589
|
* This feature exposes methods on the owning Scheduler or Gantt widget which you can use to highlight one or multiple time spans
|
|
1703
1590
|
* in the schedule. Please see [highlightTimeSpan](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/feature/TimeSpanHighlight#function-highlightTimeSpan) and [highlightTimeSpans](#SchedulerPro/feature/TimeSpanHighlight#function-highlightTimeSpans) to learn
|
|
1704
1591
|
* more or try the demo below:
|
|
1705
|
-
* ...
|
|
1706
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/feature/TimeSpanHighlight)
|
|
1592
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/feature/TimeSpanHighlight)
|
|
1707
1593
|
*/
|
|
1708
1594
|
timeSpanHighlightFeature ? : object|Boolean|string|TimeSpanHighlight|TimeSpanHighlightConfig
|
|
1709
1595
|
/**
|
|
@@ -1711,15 +1597,13 @@ defineProps<{
|
|
|
1711
1597
|
* exactly one [TreeColumn](https://bryntum.com/products/schedulerpro/docs/api/Grid/column/TreeColumn) among grids columns. That column will have its renderer replaced with a
|
|
1712
1598
|
* tree renderer that adds padding and icon to give the appearance of a tree. The original renderer is preserved and
|
|
1713
1599
|
* also called.
|
|
1714
|
-
* ...
|
|
1715
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/Tree)
|
|
1600
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/Tree)
|
|
1716
1601
|
*/
|
|
1717
1602
|
treeFeature ? : object|Boolean|string|Tree|TreeConfig
|
|
1718
1603
|
/**
|
|
1719
1604
|
* A feature that allows transforming a flat dataset (or the leaves of a hierarchical) into a tree by specifying a
|
|
1720
1605
|
* record field per parent level. Parents are generated based on each leaf's value for those fields.
|
|
1721
|
-
* ...
|
|
1722
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/TreeGroup)
|
|
1606
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/TreeGroup)
|
|
1723
1607
|
*/
|
|
1724
1608
|
treeGroupFeature ? : object|Boolean|string|TreeGroup|TreeGroupConfig
|
|
1725
1609
|
|
|
@@ -1730,8 +1614,7 @@ const emit = defineEmits<{
|
|
|
1730
1614
|
* Fires before an assignment is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or
|
|
1731
1615
|
* by the event editor. Can for example be used to display a custom dialog to confirm deletion, in which
|
|
1732
1616
|
* case records should be "manually" removed after confirmation.
|
|
1733
|
-
* ...
|
|
1734
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-beforeAssignmentDelete)
|
|
1617
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-beforeAssignmentDelete)
|
|
1735
1618
|
* @param {string} e Event name
|
|
1736
1619
|
* @param {object} params Event parameters
|
|
1737
1620
|
* @param {string} params.e Event name
|
|
@@ -1741,7 +1624,7 @@ const emit = defineEmits<{
|
|
|
1741
1624
|
* @param {Scheduler.model.SchedulerAssignmentModel[]} params.params.event.assignmentRecords The assignment records about to be deleted
|
|
1742
1625
|
* @param {object} params.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.
|
|
1743
1626
|
* @param {Function} params.params.event.context.finalize Function to call to finalize the removal. Used to asynchronously decide to remove the records or not. Provide `false` to the function to prevent the removal.
|
|
1744
|
-
* @param {boolean} params.params.event.context.finalize.removeRecords Provide `false` to the function to prevent the removal.
|
|
1627
|
+
* @param {boolean} [params.params.event.context.finalize.removeRecords] Provide `false` to the function to prevent the removal.
|
|
1745
1628
|
*/
|
|
1746
1629
|
(e: 'beforeAssignmentDelete', params: ((event: { source: Scheduler, assignmentRecords: SchedulerAssignmentModel[], context: { finalize: { removeRecords?: boolean } } }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
1747
1630
|
/**
|
|
@@ -1757,8 +1640,7 @@ const emit = defineEmits<{
|
|
|
1757
1640
|
(e: 'beforeCancelCellEdit', params: ((event: { source: Grid, editorContext: GridLocation }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
1758
1641
|
/**
|
|
1759
1642
|
* 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.
|
|
1760
|
-
* ...
|
|
1761
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-beforeCancelRowEdit)
|
|
1643
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-beforeCancelRowEdit)
|
|
1762
1644
|
* @param {string} e Event name
|
|
1763
1645
|
* @param {object} params Event parameters
|
|
1764
1646
|
* @param {string} params.e Event name
|
|
@@ -1910,8 +1792,7 @@ const emit = defineEmits<{
|
|
|
1910
1792
|
* Fires before an event is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or by the
|
|
1911
1793
|
* event editor. Return `false` to immediately veto the removal (or a `Promise` yielding `true` or `false`
|
|
1912
1794
|
* for async vetoing).
|
|
1913
|
-
* ...
|
|
1914
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-beforeEventDelete)
|
|
1795
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-beforeEventDelete)
|
|
1915
1796
|
* @param {string} e Event name
|
|
1916
1797
|
* @param {object} params Event parameters
|
|
1917
1798
|
* @param {string} params.e Event name
|
|
@@ -1921,7 +1802,7 @@ const emit = defineEmits<{
|
|
|
1921
1802
|
* @param {Scheduler.model.SchedulerEventModel[]} params.params.event.eventRecords The records about to be deleted
|
|
1922
1803
|
* @param {object} params.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.
|
|
1923
1804
|
* @param {Function} params.params.event.context.finalize Function to call to finalize the removal. Used to asynchronously decide to remove the records or not. Provide `false` to the function to prevent the removal.
|
|
1924
|
-
* @param {boolean} params.params.event.context.finalize.removeRecords Provide `false` to the function to prevent the removal.
|
|
1805
|
+
* @param {boolean} [params.params.event.context.finalize.removeRecords] Provide `false` to the function to prevent the removal.
|
|
1925
1806
|
*/
|
|
1926
1807
|
(e: 'beforeEventDelete', params: ((event: { source: Scheduler|any, eventRecords: SchedulerEventModel[], context: { finalize: { removeRecords?: boolean } } }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
1927
1808
|
/**
|
|
@@ -1960,8 +1841,7 @@ const emit = defineEmits<{
|
|
|
1960
1841
|
(e: 'beforeFinishCellEdit', params: ((event: { grid: Grid, editorContext: CellEditorContext }) => void)|string): void
|
|
1961
1842
|
/**
|
|
1962
1843
|
* Fires on the owning Grid before the row editing is finished, return false to signal that the value is invalid and editing should not be finalized.
|
|
1963
|
-
* ...
|
|
1964
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-beforeFinishRowEdit)
|
|
1844
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-beforeFinishRowEdit)
|
|
1965
1845
|
* @param {string} e Event name
|
|
1966
1846
|
* @param {object} params Event parameters
|
|
1967
1847
|
* @param {string} params.e Event name
|
|
@@ -1983,8 +1863,7 @@ const emit = defineEmits<{
|
|
|
1983
1863
|
(e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
1984
1864
|
/**
|
|
1985
1865
|
* Fires before the component stores a record's histogram data into the cache.
|
|
1986
|
-
* ...
|
|
1987
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-beforeHistogramDataCacheSet)
|
|
1866
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-beforeHistogramDataCacheSet)
|
|
1988
1867
|
* @param {string} e Event name
|
|
1989
1868
|
* @param {object} params Event parameters
|
|
1990
1869
|
* @param {string} params.e Event name
|
|
@@ -2057,8 +1936,7 @@ const emit = defineEmits<{
|
|
|
2057
1936
|
(e: 'beforePresetChange', params: ((event: { source: Scheduler, startDate: Date, endDate: Date, from: ViewPreset, to: ViewPreset }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
2058
1937
|
/**
|
|
2059
1938
|
* Fires before the component renders a row.
|
|
2060
|
-
* ...
|
|
2061
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-beforeRenderHistogramRow)
|
|
1939
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-beforeRenderHistogramRow)
|
|
2062
1940
|
* @param {string} e Event name
|
|
2063
1941
|
* @param {object} params Event parameters
|
|
2064
1942
|
* @param {string} params.e Event name
|
|
@@ -2108,8 +1986,7 @@ const emit = defineEmits<{
|
|
|
2108
1986
|
(e: 'beforeRenderRows', params: ((event: { source: GridBase }) => void)|string): void
|
|
2109
1987
|
/**
|
|
2110
1988
|
* This event fires before row collapse is started.
|
|
2111
|
-
* ...
|
|
2112
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-beforeRowCollapse)
|
|
1989
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-beforeRowCollapse)
|
|
2113
1990
|
* @param {string} e Event name
|
|
2114
1991
|
* @param {object} params Event parameters
|
|
2115
1992
|
* @param {string} params.e Event name
|
|
@@ -2120,8 +1997,7 @@ const emit = defineEmits<{
|
|
|
2120
1997
|
(e: 'beforeRowCollapse', params: ((event: { record: Model }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
2121
1998
|
/**
|
|
2122
1999
|
* This event fires before row expand is started.
|
|
2123
|
-
* ...
|
|
2124
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-beforeRowExpand)
|
|
2000
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-beforeRowExpand)
|
|
2125
2001
|
* @param {string} e Event name
|
|
2126
2002
|
* @param {object} params Event parameters
|
|
2127
2003
|
* @param {string} params.e Event name
|
|
@@ -2241,8 +2117,7 @@ const emit = defineEmits<{
|
|
|
2241
2117
|
(e: 'cancelCellEdit', params: ((event: { source: Grid, editorContext: GridLocation, event: Event }) => void)|string): void
|
|
2242
2118
|
/**
|
|
2243
2119
|
* Fires when any other event is fired from the object.
|
|
2244
|
-
* ...
|
|
2245
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-catchAll)
|
|
2120
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-catchAll)
|
|
2246
2121
|
* @param {string} e Event name
|
|
2247
2122
|
* @param {object} params Event parameters
|
|
2248
2123
|
* @param {string} params.e Event name
|
|
@@ -2300,8 +2175,7 @@ const emit = defineEmits<{
|
|
|
2300
2175
|
/**
|
|
2301
2176
|
* This event fires on the owning grid before the context menu is shown for a cell.
|
|
2302
2177
|
* Allows manipulation of the items to show in the same way as in the [processItems](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellMenu#config-processItems).
|
|
2303
|
-
* ...
|
|
2304
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-cellMenuBeforeShow)
|
|
2178
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-cellMenuBeforeShow)
|
|
2305
2179
|
* @param {string} e Event name
|
|
2306
2180
|
* @param {object} params Event parameters
|
|
2307
2181
|
* @param {string} params.e Event name
|
|
@@ -2582,8 +2456,7 @@ const emit = defineEmits<{
|
|
|
2582
2456
|
(e: 'currentTimelineUpdate', params: ((event: { source: Scheduler, date: Date }) => void)|string): void
|
|
2583
2457
|
/**
|
|
2584
2458
|
* Fired when data in the store changes.
|
|
2585
|
-
* ...
|
|
2586
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-dataChange)
|
|
2459
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-dataChange)
|
|
2587
2460
|
* @param {string} e Event name
|
|
2588
2461
|
* @param {object} params Event parameters
|
|
2589
2462
|
* @param {string} params.e Event name
|
|
@@ -2601,8 +2474,7 @@ const emit = defineEmits<{
|
|
|
2601
2474
|
* Fired when the range of dates encapsulated by the UI changes. This will be when
|
|
2602
2475
|
* moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
|
|
2603
2476
|
* when zooming, or changing [viewPreset](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/TimelineBase#config-viewPreset).
|
|
2604
|
-
* ...
|
|
2605
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-dateRangeChange)
|
|
2477
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-dateRangeChange)
|
|
2606
2478
|
* @param {string} e Event name
|
|
2607
2479
|
* @param {object} params Event parameters
|
|
2608
2480
|
* @param {string} params.e Event name
|
|
@@ -2759,8 +2631,7 @@ const emit = defineEmits<{
|
|
|
2759
2631
|
(e: 'finishCellEdit', params: ((event: { grid: Grid, editorContext: CellEditorContext }) => void)|string): void
|
|
2760
2632
|
/**
|
|
2761
2633
|
* Fires on the owning Grid before the row editing is finished, return false to signal that the value is invalid and editing should not be finalized.
|
|
2762
|
-
* ...
|
|
2763
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-finishRowEdit)
|
|
2634
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-finishRowEdit)
|
|
2764
2635
|
* @param {string} e Event name
|
|
2765
2636
|
* @param {object} params Event parameters
|
|
2766
2637
|
* @param {string} params.e Event name
|
|
@@ -2896,8 +2767,7 @@ const emit = defineEmits<{
|
|
|
2896
2767
|
(e: 'gridRowDrop', params: ((event: { source: GridBase, context: { valid: boolean, insertBefore: Model, parent: Model, records: Model[], oldPositionContext: RecordPositionContext[] }, event: MouseEvent }) => void)|string): void
|
|
2897
2768
|
/**
|
|
2898
2769
|
* Fired when a grid header is clicked on.
|
|
2899
|
-
* ...
|
|
2900
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-headerClick)
|
|
2770
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-headerClick)
|
|
2901
2771
|
* @param {string} e Event name
|
|
2902
2772
|
* @param {object} params Event parameters
|
|
2903
2773
|
* @param {string} params.e Event name
|
|
@@ -2910,8 +2780,7 @@ const emit = defineEmits<{
|
|
|
2910
2780
|
/**
|
|
2911
2781
|
* This event fires on the owning Grid before the context menu is shown for a header.
|
|
2912
2782
|
* 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).
|
|
2913
|
-
* ...
|
|
2914
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-headerMenuBeforeShow)
|
|
2783
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-headerMenuBeforeShow)
|
|
2915
2784
|
* @param {string} e Event name
|
|
2916
2785
|
* @param {object} params Event parameters
|
|
2917
2786
|
* @param {string} params.e Event name
|
|
@@ -2976,8 +2845,7 @@ const emit = defineEmits<{
|
|
|
2976
2845
|
/**
|
|
2977
2846
|
* Fires after the component retrieves a record's histogram data and stores
|
|
2978
2847
|
* it into the cache.
|
|
2979
|
-
* ...
|
|
2980
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-histogramDataCacheSet)
|
|
2848
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-histogramDataCacheSet)
|
|
2981
2849
|
* @param {string} e Event name
|
|
2982
2850
|
* @param {object} params Event parameters
|
|
2983
2851
|
* @param {string} params.e Event name
|
|
@@ -3033,8 +2901,7 @@ const emit = defineEmits<{
|
|
|
3033
2901
|
/**
|
|
3034
2902
|
* Triggered when a widget which had been in a non-visible state for any reason
|
|
3035
2903
|
* achieves visibility.
|
|
3036
|
-
* ...
|
|
3037
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-paint)
|
|
2904
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-paint)
|
|
3038
2905
|
* @param {string} e Event name
|
|
3039
2906
|
* @param {object} params Event parameters
|
|
3040
2907
|
* @param {string} params.e Event name
|
|
@@ -3078,8 +2945,8 @@ const emit = defineEmits<{
|
|
|
3078
2945
|
* @param {string} params.e Event name
|
|
3079
2946
|
* @param {object} params.params Event parameters
|
|
3080
2947
|
* @param {object} params.params.event Event object
|
|
3081
|
-
* @param {Response} params.params.event.response Optional response, if received
|
|
3082
|
-
* @param {Error} params.params.event.error Optional error, if exception occurred
|
|
2948
|
+
* @param {Response} [params.params.event.response] Optional response, if received
|
|
2949
|
+
* @param {Error} [params.params.event.error] Optional error, if exception occurred
|
|
3083
2950
|
*/
|
|
3084
2951
|
(e: 'pdfExport', params: ((event: { response?: Response, error?: Error }) => void)|string): void
|
|
3085
2952
|
/**
|
|
@@ -3152,8 +3019,7 @@ const emit = defineEmits<{
|
|
|
3152
3019
|
/**
|
|
3153
3020
|
* This event fires on the owning scheduler before the context menu is shown for a resource.
|
|
3154
3021
|
* Allows manipulation of the items to show in the same way as in the [processItems](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/ResourceMenu#config-processItems).
|
|
3155
|
-
* ...
|
|
3156
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-resourceMenuBeforeShow)
|
|
3022
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-resourceMenuBeforeShow)
|
|
3157
3023
|
* @param {string} e Event name
|
|
3158
3024
|
* @param {object} params Event parameters
|
|
3159
3025
|
* @param {string} params.e Event name
|
|
@@ -3442,8 +3308,7 @@ const emit = defineEmits<{
|
|
|
3442
3308
|
(e: 'rowCollapse', params: ((event: { record: Model }) => void)|string): void
|
|
3443
3309
|
/**
|
|
3444
3310
|
* This event fires when a row expand has finished expanding.
|
|
3445
|
-
* ...
|
|
3446
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-rowExpand)
|
|
3311
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-rowExpand)
|
|
3447
3312
|
* @param {string} e Event name
|
|
3448
3313
|
* @param {object} params Event parameters
|
|
3449
3314
|
* @param {string} params.e Event name
|
|
@@ -3641,8 +3506,7 @@ const emit = defineEmits<{
|
|
|
3641
3506
|
(e: 'subGridExpand', params: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string): void
|
|
3642
3507
|
/**
|
|
3643
3508
|
* Fired when the tick size changes.
|
|
3644
|
-
* ...
|
|
3645
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-tickSizeChange)
|
|
3509
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-tickSizeChange)
|
|
3646
3510
|
* @param {string} e Event name
|
|
3647
3511
|
* @param {object} params Event parameters
|
|
3648
3512
|
* @param {string} params.e Event name
|
|
@@ -3707,8 +3571,7 @@ const emit = defineEmits<{
|
|
|
3707
3571
|
/**
|
|
3708
3572
|
* This event fires on the owning Scheduler or Gantt widget before the context menu is shown for the time axis header.
|
|
3709
3573
|
* Allows manipulation of the items to show in the same way as in the [processItems](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/TimeAxisHeaderMenu#config-processItems).
|
|
3710
|
-
* ...
|
|
3711
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-timeAxisHeaderMenuBeforeShow)
|
|
3574
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-timeAxisHeaderMenuBeforeShow)
|
|
3712
3575
|
* @param {string} e Event name
|
|
3713
3576
|
* @param {object} params Event parameters
|
|
3714
3577
|
* @param {string} params.e Event name
|
|
@@ -3819,7 +3682,7 @@ const emit = defineEmits<{
|
|
|
3819
3682
|
* @param {Core.data.Model} params.params.event.groupRecord [DEPRECATED] Use `groupRecords` param instead
|
|
3820
3683
|
* @param {Core.data.Model[]} params.params.event.groupRecords The group records being toggled
|
|
3821
3684
|
* @param {boolean} params.params.event.collapse Collapsed (true) or expanded (false)
|
|
3822
|
-
* @param {boolean} params.params.event.allRecords True if this event is part of toggling all groups
|
|
3685
|
+
* @param {boolean} [params.params.event.allRecords] True if this event is part of toggling all groups
|
|
3823
3686
|
*/
|
|
3824
3687
|
(e: 'toggleGroup', params: ((event: { groupRecord: Model, groupRecords: Model[], collapse: boolean, allRecords?: boolean }) => void)|string): void
|
|
3825
3688
|
/**
|
|
@@ -3873,8 +3736,7 @@ const emit = defineEmits<{
|
|
|
3873
3736
|
/**
|
|
3874
3737
|
* Fired when the range of dates visible within the viewport changes. This will be when
|
|
3875
3738
|
* scrolling along a time axis.
|
|
3876
|
-
* ...
|
|
3877
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-visibleDateRangeChange)
|
|
3739
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-visibleDateRangeChange)
|
|
3878
3740
|
* @param {string} e Event name
|
|
3879
3741
|
* @param {object} params Event parameters
|
|
3880
3742
|
* @param {string} params.e Event name
|
|
@@ -3889,6 +3751,18 @@ const emit = defineEmits<{
|
|
|
3889
3751
|
* @param {Date} params.params.event.new.endDate the new end date.
|
|
3890
3752
|
*/
|
|
3891
3753
|
(e: 'visibleDateRangeChange', params: ((event: { source: Scheduler, old: { startDate: Date, endDate: Date }, new: { startDate: Date, endDate: Date } }) => void)|string): void
|
|
3754
|
+
/**
|
|
3755
|
+
* Fires when the smooth zoom level changes, either through programmatic zoom methods or mouse wheel zooming.
|
|
3756
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#event-zoomLevelChange)
|
|
3757
|
+
* @param {string} e Event name
|
|
3758
|
+
* @param {object} params Event parameters
|
|
3759
|
+
* @param {string} params.e Event name
|
|
3760
|
+
* @param {object} params.params Event parameters
|
|
3761
|
+
* @param {object} params.params.event Event object
|
|
3762
|
+
* @param {Scheduler.view.TimelineBase} params.params.event.source
|
|
3763
|
+
* @param {number} params.params.event.zoomLevel New zoom level
|
|
3764
|
+
*/
|
|
3765
|
+
(e: 'zoomLevelChange', params: ((event: { source: TimelineBase, zoomLevel: number }) => void)|string): void
|
|
3892
3766
|
}>();
|
|
3893
3767
|
|
|
3894
3768
|
const widgetData = {
|
|
@@ -4052,6 +3926,7 @@ const widgetData = {
|
|
|
4052
3926
|
'respectStoreFilters',
|
|
4053
3927
|
'responsiveLevels',
|
|
4054
3928
|
'ripple',
|
|
3929
|
+
'role',
|
|
4055
3930
|
'rootElement',
|
|
4056
3931
|
'scaleColumn',
|
|
4057
3932
|
'scrollerClass',
|
|
@@ -4061,6 +3936,7 @@ const widgetData = {
|
|
|
4061
3936
|
'showBarTipWhenNavigatingTimeAxis',
|
|
4062
3937
|
'showDirty',
|
|
4063
3938
|
'showEffortUnit',
|
|
3939
|
+
'smoothZoom',
|
|
4064
3940
|
'snapRelativeToEventStartDate',
|
|
4065
3941
|
'startParamName',
|
|
4066
3942
|
'stateful',
|
|
@@ -4121,6 +3997,7 @@ const widgetData = {
|
|
|
4121
3997
|
'insertFirst',
|
|
4122
3998
|
'keyMap',
|
|
4123
3999
|
'labelPosition',
|
|
4000
|
+
'labelWidth',
|
|
4124
4001
|
'longPressTime',
|
|
4125
4002
|
'margin',
|
|
4126
4003
|
'maxDate',
|
|
@@ -4298,6 +4175,7 @@ const widgetData = {
|
|
|
4298
4175
|
'onUnlockRows',
|
|
4299
4176
|
'onUnsplit',
|
|
4300
4177
|
'onVisibleDateRangeChange',
|
|
4178
|
+
'onZoomLevelChange',
|
|
4301
4179
|
'preserveScroll',
|
|
4302
4180
|
'presets',
|
|
4303
4181
|
'project',
|
|
@@ -4331,16 +4209,14 @@ const widgetData = {
|
|
|
4331
4209
|
'viewPreset',
|
|
4332
4210
|
'visibleDate',
|
|
4333
4211
|
'width',
|
|
4334
|
-
'workingTime'
|
|
4212
|
+
'workingTime',
|
|
4213
|
+
'zoomFactor'
|
|
4335
4214
|
],
|
|
4336
4215
|
propertyNames : [
|
|
4337
4216
|
'crudManager',
|
|
4338
4217
|
'data',
|
|
4339
4218
|
'eventColor',
|
|
4340
4219
|
'eventStyle',
|
|
4341
|
-
'focusVisible',
|
|
4342
|
-
'hasChanges',
|
|
4343
|
-
'isEngineReady',
|
|
4344
4220
|
'originalStore',
|
|
4345
4221
|
'parent',
|
|
4346
4222
|
'scrollLeft',
|
|
@@ -4523,7 +4399,8 @@ const widgetData = {
|
|
|
4523
4399
|
'treeGroup',
|
|
4524
4400
|
'unlockRows',
|
|
4525
4401
|
'unsplit',
|
|
4526
|
-
'visibleDateRangeChange'
|
|
4402
|
+
'visibleDateRangeChange',
|
|
4403
|
+
'zoomLevelChange'
|
|
4527
4404
|
]
|
|
4528
4405
|
};
|
|
4529
4406
|
|