@bryntum/scheduler-thin-trial 7.1.2 → 7.2.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 +6 -1
- package/entry.js +3 -0
- package/lib/column/ResourceInfoColumn.css +20 -0
- package/lib/column/ResourceInfoColumn.js +1 -1
- package/lib/crud/AbstractCrudManagerMixin.js +1 -1
- package/lib/crud/mixin/CrudManagerView.js +1 -1
- package/lib/crud/transport/AjaxTransport.js +1 -1
- package/lib/data/AISettingsModel.js +1 -0
- package/lib/data/mixin/DependencyStoreMixin.js +1 -1
- package/lib/data/mixin/EventStoreMixin.js +1 -1
- package/lib/data/mixin/GetEventsMixin.js +1 -1
- package/lib/feature/AI.js +1 -0
- package/lib/feature/AbstractTimeRanges.js +1 -1
- package/lib/feature/Dependencies.js +1 -1
- package/lib/feature/DependencyEdit.js +1 -1
- package/lib/feature/DependencyMenu.js +1 -1
- package/lib/feature/EventCopyPaste.js +1 -1
- package/lib/feature/EventDrag.js +1 -1
- package/lib/feature/EventDragSelect.js +1 -1
- package/lib/feature/EventEdit.js +1 -1
- package/lib/feature/EventFilter.js +1 -1
- package/lib/feature/EventMenu.js +1 -1
- package/lib/feature/EventNonWorkingTime.js +1 -1
- package/lib/feature/EventResize.js +1 -1
- package/lib/feature/GroupSummary.js +1 -1
- package/lib/feature/Labels.js +1 -1
- package/lib/feature/NonWorkingTime.js +1 -1
- package/lib/feature/Pan.css +3 -0
- package/lib/feature/Pan.js +1 -1
- package/lib/feature/ResourceColumnReorder.css +78 -0
- package/lib/feature/ResourceColumnReorder.js +1 -0
- package/lib/feature/ResourceMenu.js +1 -1
- package/lib/feature/ScheduleContext.js +1 -1
- package/lib/feature/ScheduleMenu.js +1 -1
- package/lib/feature/ScheduleTooltip.js +1 -1
- package/lib/feature/ScrollButtons.css +4 -1
- package/lib/feature/ScrollButtons.js +1 -1
- package/lib/feature/SimpleEventEdit.js +1 -1
- package/lib/feature/Split.js +1 -1
- package/lib/feature/StickyEvents.js +1 -1
- package/lib/feature/Summary.js +1 -1
- package/lib/feature/TimeAxisHeaderMenu.js +1 -1
- package/lib/feature/TimelineSummary.js +1 -1
- package/lib/feature/TreeSummary.js +1 -1
- package/lib/feature/ai/agents/DefaultSchedulerAgent.js +18 -0
- package/lib/feature/ai/agents/trainingData.js +1 -0
- package/lib/feature/base/DragBase.js +1 -1
- package/lib/feature/base/DragCreateBase.js +1 -1
- package/lib/feature/base/EditBase.js +1 -1
- package/lib/feature/base/ResourceTimeRangesBase.js +1 -1
- package/lib/feature/base/TooltipBase.js +1 -1
- package/lib/feature/mixin/DependencyCreation.js +1 -1
- package/lib/feature/mixin/HeaderDragSelect.js +1 -1
- package/lib/feature/mixin/RecurringEventEdit.js +1 -1
- package/lib/localization/En.js +1 -1
- package/lib/model/DependencyBaseModel.js +1 -1
- package/lib/model/TimeSpan.js +1 -1
- package/lib/model/mixin/EventModelMixin.js +1 -1
- package/lib/model/mixin/RecurringTimeSpan.js +1 -1
- package/lib/model/mixin/ResourceModelMixin.js +1 -1
- package/lib/view/ResourceHeader.js +1 -1
- package/lib/view/SchedulerBase.js +1 -1
- package/lib/view/TimelineBase.js +1 -1
- package/lib/view/TimelineHistogramBase.js +1 -1
- package/lib/view/mixin/EventNavigation.js +1 -1
- package/lib/view/mixin/SchedulerDom.js +1 -1
- package/lib/view/mixin/SchedulerEventRendering.js +1 -1
- package/lib/view/mixin/SchedulerState.js +1 -1
- package/lib/view/mixin/TimelineDomEvents.js +1 -1
- package/lib/view/mixin/TimelineEventRendering.js +1 -1
- package/lib/view/mixin/TimelineViewPresets.js +1 -1
- package/lib/view/model/TimeAxisViewModel.js +1 -1
- package/lib/view/orientation/HorizontalRendering.js +1 -1
- package/lib/view/orientation/VerticalRendering.js +1 -1
- package/lib/widget/DayButtons.js +1 -1
- package/locales/scheduler.locale.Ar.js +1 -1
- package/locales/scheduler.locale.Bg.js +1 -1
- package/locales/scheduler.locale.Ca.js +1 -1
- package/locales/scheduler.locale.Cs.js +1 -1
- package/locales/scheduler.locale.Da.js +1 -1
- package/locales/scheduler.locale.De.js +1 -1
- package/locales/scheduler.locale.El.js +1 -1
- package/locales/scheduler.locale.En.js +1 -1
- package/locales/scheduler.locale.EnGb.js +1 -1
- package/locales/scheduler.locale.Es.js +1 -1
- package/locales/scheduler.locale.Et.js +1 -1
- package/locales/scheduler.locale.Eu.js +1 -1
- package/locales/scheduler.locale.Fi.js +1 -1
- package/locales/scheduler.locale.FrFr.js +1 -1
- package/locales/scheduler.locale.Gl.js +1 -1
- package/locales/scheduler.locale.He.js +1 -1
- package/locales/scheduler.locale.Hi.js +1 -1
- package/locales/scheduler.locale.Hr.js +1 -1
- package/locales/scheduler.locale.Hu.js +1 -1
- package/locales/scheduler.locale.Id.js +1 -1
- package/locales/scheduler.locale.It.js +1 -1
- package/locales/scheduler.locale.Ja.js +1 -1
- package/locales/scheduler.locale.Kk.js +1 -1
- package/locales/scheduler.locale.Ko.js +1 -1
- package/locales/scheduler.locale.Lt.js +1 -1
- package/locales/scheduler.locale.Lv.js +1 -1
- package/locales/scheduler.locale.Ms.js +1 -1
- package/locales/scheduler.locale.Nl.js +1 -1
- package/locales/scheduler.locale.No.js +1 -1
- package/locales/scheduler.locale.Pl.js +1 -1
- package/locales/scheduler.locale.Pt.js +1 -1
- package/locales/scheduler.locale.PtBr.js +1 -1
- package/locales/scheduler.locale.Ro.js +1 -1
- package/locales/scheduler.locale.Ru.js +1 -1
- package/locales/scheduler.locale.Sk.js +1 -1
- package/locales/scheduler.locale.Sl.js +1 -1
- package/locales/scheduler.locale.Sr.js +1 -1
- package/locales/scheduler.locale.SrRs.js +1 -1
- package/locales/scheduler.locale.SvSE.js +1 -1
- package/locales/scheduler.locale.Th.js +1 -1
- package/locales/scheduler.locale.Tr.js +1 -1
- package/locales/scheduler.locale.Uk.js +1 -1
- package/locales/scheduler.locale.Vi.js +1 -1
- package/locales/scheduler.locale.ZhCn.js +1 -1
- package/locales/scheduler.locale.ZhTw.js +1 -1
- package/package.json +1 -1
- package/scheduler.css +62 -0
- package/scheduler.css.map +3 -3
- package/scheduler.d.ts +2086 -471
package/scheduler.d.ts
CHANGED
|
@@ -1,35 +1,37 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import { AIModelConfiguration, AIModelSelector, AITool, AIToolConfig, AIVoiceActivationConfig, AbstractApiPlugin, AjaxStore,
|
|
2
|
+
AjaxStoreConfig, AlignSpec, AnimateScrollOptions, Base, BryntumListenerConfig, BryntumScrollOptions, Button, ButtonGroup, CalendarPanel,
|
|
3
|
+
CellWidgetContext, ChatButton, ChatButtonConfig, ChipView, ChipViewConfig, Collection, CollectionCompareOperator, CollectionConfig,
|
|
4
|
+
CollectionFilter, CollectionFilterConfig, CollectionSorter, CollectionSorterConfig, Color, ColorDescriptor, ColorField, ColorPicker,
|
|
5
|
+
Combo, ComboModel, Container, ContextMenuBase, AISettingsModel as CoreAISettingsModel, DataField, DataLoadRequestResponse, DateField,
|
|
6
|
+
DatePicker, DisplayField, DomClassList, DomConfig, DragHelper, DragHelperConfig, Duration, DurationConfig, DurationField, DurationUnit,
|
|
7
|
+
DurationUnitShort, Editor, EditorConfig, EventsClass, FetchOptions, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig,
|
|
8
|
+
FormulaProvider, FormulaProviderConfig, Grouper, Histogram, HistogramConfig, HistogramSeries, HttpMethods, InstancePlugin, KeyMap,
|
|
9
|
+
KeyMapConfig, LazyLoadRequestParams, List, ListConfig, LoadMaskableClass, LocaleHelper, LocaleManager, Mask, MaskConfig, Menu,
|
|
10
|
+
MenuConfig, MenuContext, MenuItem, MenuItemEntry, Model, Month, MonthConfig, NumberFormat, NumberFormatConfig, PagingRequestParams,
|
|
11
|
+
PagingToolbar, PagingToolbarConfig, Panel, PanelCollapser, PanelCollapserConfig, PanelCollapserOverlay, PanelCollapserOverlayConfig,
|
|
12
|
+
PanelHeader, Popup, PopupConfig, Rectangle, RelationConfig, ScrollManager, ScrollManagerConfig, Scroller, ScrollerConfig, Sorter,
|
|
13
|
+
StateProvider, StateTrackingManager, StateTrackingManagerConfig, Store, StoreConfig, SyncDataOnLoadOptions, Tab, TabConfig, TextField,
|
|
14
|
+
TimeField, Tool, ToolConfig, Toolbar, ToolbarConfig, ToolbarItems, Tooltip, TooltipConfig, UndoRedoBase, VueConfig, Widget } from
|
|
15
|
+
'@bryntum/core-thin'
|
|
14
16
|
import { AIFilter, AIFilterConfig, CellCopyPaste, CellCopyPasteConfig, CellEdit, CellEditConfig, CellEditorContext, CellMenu,
|
|
15
17
|
CellMenuConfig, CellTooltip, CellTooltipConfig, Charts, ChartsConfig, ColorColumn, Column, ColumnAutoWidth, ColumnAutoWidthConfig,
|
|
16
18
|
ColumnDragToolbar, ColumnDragToolbarConfig, ColumnPicker, ColumnPickerConfig, ColumnRename, ColumnRenameConfig, ColumnReorder,
|
|
17
19
|
ColumnReorderConfig, ColumnResize, ColumnResizeConfig, ColumnStore, ColumnStoreConfig, ColumnSummaryConfig, CopyPasteBase,
|
|
18
20
|
EmptyTextDomConfig, ExportConfig, ExportDialog, Exporter, ExporterBase, FileDrop, FileDropConfig, FillHandle, FillHandleConfig, Filter,
|
|
19
|
-
FilterBar, FilterBarConfig, FilterConfig, Grid,
|
|
20
|
-
GridContainerItemConfig, GridContainerLayoutConfig, ExcelExporter as GridExcelExporter,
|
|
21
|
-
GroupSummary as GridGroupSummary, GroupSummaryConfig as GridGroupSummaryConfig,
|
|
22
|
-
LockRows as GridLockRows, LockRowsConfig as GridLockRowsConfig,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
WidgetColumn, XLSColumn, XlsProviderBase } from '@bryntum/grid-thin'
|
|
21
|
+
FilterBar, FilterBarConfig, FilterConfig, Grid, AI as GridAI, AIConfig as GridAIConfig, GridBase, GridColumn, GridColumnConfig,
|
|
22
|
+
GridConfig, GridContainerItem, GridContainerItemConfig, GridContainerLayoutConfig, ExcelExporter as GridExcelExporter,
|
|
23
|
+
ExcelExporterConfig as GridExcelExporterConfig, GroupSummary as GridGroupSummary, GroupSummaryConfig as GridGroupSummaryConfig,
|
|
24
|
+
GridInputFieldConfig, GridLocation, GridLocationConfig, LockRows as GridLockRows, LockRowsConfig as GridLockRowsConfig,
|
|
25
|
+
GridModelFieldConfig, MultiPageExporter as GridMultiPageExporter, MultiPageVerticalExporter as GridMultiPageVerticalExporter, PdfExport
|
|
26
|
+
as GridPdfExport, PdfExportConfig as GridPdfExportConfig, Print as GridPrint, PrintConfig as GridPrintConfig, GridRowModel, RowReorder
|
|
27
|
+
as GridRowReorder, RowReorderConfig as GridRowReorderConfig, RowResize as GridRowResize, RowResizeConfig as GridRowResizeConfig,
|
|
28
|
+
GridScrollOptions, GridSelectionMode, SinglePageExporter as GridSinglePageExporter, SinglePageUnscaledExporter as
|
|
29
|
+
GridSinglePageUnscaledExporter, Split as GridSplit, SplitConfig as GridSplitConfig, GridStateInfo, Summary as GridSummary, SummaryConfig
|
|
30
|
+
as GridSummaryConfig, Group, GroupConfig, HeaderMenu, HeaderMenuConfig, MergeCells, MergeCellsConfig, NumberColumn, PinColumns,
|
|
31
|
+
PinColumnsConfig, PreserveScrollOptions, QuickFind, QuickFindConfig, RecordPositionContext, RegionResize, RegionResizeConfig,
|
|
32
|
+
ResponsiveLevelConfig, Row, RowCopyPaste, RowCopyPasteConfig, RowEdit, RowEditConfig, RowEditorContext, RowExpander, RowExpanderConfig,
|
|
33
|
+
Search, SearchConfig, Sort, SortConfig, StickyCells, StickyCellsConfig, Stripe, StripeConfig, SubGrid, SubGridConfig, TableExporter,
|
|
34
|
+
Tree, TreeConfig, TreeGroup, TreeGroupConfig, WidgetColumn, XLSColumn, XlsProviderBase } from '@bryntum/grid-thin'
|
|
33
35
|
|
|
34
36
|
type AnyConstructor<A = any> = new (...input: any[]) => A
|
|
35
37
|
|
|
@@ -8207,6 +8209,125 @@ export abstract class AjaxTransportClass {
|
|
|
8207
8209
|
|
|
8208
8210
|
export const AjaxTransport : <T extends AnyConstructor<Base>>(base : T) => AnyConstructor<InstanceType<T> & AjaxTransportClass>
|
|
8209
8211
|
|
|
8212
|
+
/**
|
|
8213
|
+
* Type with configuration options for [AISettingsModel](https://bryntum.com/products/grid/docs/api/Scheduler/data/AISettingsModel) class.
|
|
8214
|
+
*/
|
|
8215
|
+
type AISettingsModelConfig = {
|
|
8216
|
+
/**
|
|
8217
|
+
* Sets [autoStart](https://bryntum.com/products/scheduler/docs/api/Core/feature/ai/AIBase#config-voiceActivation) value
|
|
8218
|
+
*/
|
|
8219
|
+
autoStart?: boolean
|
|
8220
|
+
/**
|
|
8221
|
+
* Child nodes. To allow loading children on demand, specify `children : true` in your data. Omit the field for leaf
|
|
8222
|
+
* tasks.
|
|
8223
|
+
* ...
|
|
8224
|
+
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/AISettingsModel#config-children)
|
|
8225
|
+
*/
|
|
8226
|
+
children?: boolean|object[]|Model[]
|
|
8227
|
+
/**
|
|
8228
|
+
* Start expanded or not (only valid for tree data)
|
|
8229
|
+
*/
|
|
8230
|
+
expanded?: boolean
|
|
8231
|
+
/**
|
|
8232
|
+
* Sets [highlightRelatedItems](https://bryntum.com/products/scheduler/docs/api/Core/feature/ai/AIBase#config-highlightRelatedItems) value
|
|
8233
|
+
*/
|
|
8234
|
+
highlight?: boolean
|
|
8235
|
+
/**
|
|
8236
|
+
* Unique identifier for the record. Might be mapped to another dataSource using idField, but always exposed as
|
|
8237
|
+
* record.id. Will get a generated value if none is specified in records data.
|
|
8238
|
+
* ...
|
|
8239
|
+
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/AISettingsModel#config-id)
|
|
8240
|
+
*/
|
|
8241
|
+
id?: string|number
|
|
8242
|
+
/**
|
|
8243
|
+
* This field is added to the class at runtime when the Store is configured with
|
|
8244
|
+
* [lazyLoad](https://bryntum.com/products/scheduler/docs/api/Core/data/Store#config-lazyLoad). If set on a parent record at load time, that parent will not cause any
|
|
8245
|
+
* more child load requests. If omitted, it will be automatically set to `true` when a load request receives fewer
|
|
8246
|
+
* child records than requested.
|
|
8247
|
+
* ...
|
|
8248
|
+
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/AISettingsModel#config-isFullyLoaded)
|
|
8249
|
+
*/
|
|
8250
|
+
isFullyLoaded?: boolean
|
|
8251
|
+
/**
|
|
8252
|
+
* Sets [defaultRange](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/AI#config-defaultRange) value
|
|
8253
|
+
*/
|
|
8254
|
+
model?: string
|
|
8255
|
+
/**
|
|
8256
|
+
* This is a read-only field provided in server synchronization packets to specify
|
|
8257
|
+
* which position the node takes in the parent's ordered children array.
|
|
8258
|
+
* This index is set on load and gets updated on reordering nodes in tree. Sorting and filtering
|
|
8259
|
+
* have no effect on it.
|
|
8260
|
+
*/
|
|
8261
|
+
orderedParentIndex?: number
|
|
8262
|
+
/**
|
|
8263
|
+
* This is a read-only field provided in server synchronization packets to specify
|
|
8264
|
+
* which record id is the parent of the record.
|
|
8265
|
+
*/
|
|
8266
|
+
parentId?: string|number|null
|
|
8267
|
+
/**
|
|
8268
|
+
* This is a read-only field provided in server synchronization packets to specify
|
|
8269
|
+
* which position the node takes in the parent's children array.
|
|
8270
|
+
* This index is set on load and gets updated automatically after row reordering, sorting, etc.
|
|
8271
|
+
* To save the order, need to persist the field on the server and when data is fetched to be loaded,
|
|
8272
|
+
* need to sort by this field.
|
|
8273
|
+
*/
|
|
8274
|
+
parentIndex?: number
|
|
8275
|
+
/**
|
|
8276
|
+
* Flag the record as read-only on the UI level, preventing the end user from manipulating it using editing
|
|
8277
|
+
* features such as cell editing and event dragging.
|
|
8278
|
+
* ...
|
|
8279
|
+
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/AISettingsModel#config-readOnly)
|
|
8280
|
+
*/
|
|
8281
|
+
readOnly?: boolean
|
|
8282
|
+
/**
|
|
8283
|
+
* This field is added to the class at runtime when the Store is configured with
|
|
8284
|
+
* [lazyLoad](https://bryntum.com/products/scheduler/docs/api/Core/data/Store#config-lazyLoad). The
|
|
8285
|
+
* number specified should reflect the <strong>total</strong> amount of children of a parent node, including nested descendants.
|
|
8286
|
+
* @deprecated This field has been deprecated. Please read the [guide](https://bryntum.com/products/scheduler/docs/api/Grid/guides/data/lazyloading.md) to find out if your app needs to use the new [isFullyLoaded](https://bryntum.com/products/scheduler/docs/api/Core/data/mixin/TreeNode#field-isFullyLoaded) field.
|
|
8287
|
+
*/
|
|
8288
|
+
remoteChildCount?: number
|
|
8289
|
+
/**
|
|
8290
|
+
* Sets [requireConfirmationOnAdds](https://bryntum.com/products/scheduler/docs/api/Core/feature/ai/AIBase#config-requireConfirmationOnAdds) value
|
|
8291
|
+
*/
|
|
8292
|
+
requireConfirmationOnAdds?: boolean
|
|
8293
|
+
/**
|
|
8294
|
+
* Sets [requireConfirmationOnRemovals](https://bryntum.com/products/scheduler/docs/api/Core/feature/ai/AIBase#config-requireConfirmationOnRemovals) value
|
|
8295
|
+
*/
|
|
8296
|
+
requireConfirmationOnRemovals?: boolean
|
|
8297
|
+
/**
|
|
8298
|
+
* Sets [requireConfirmationOnUpdates](https://bryntum.com/products/scheduler/docs/api/Core/feature/ai/AIBase#config-requireConfirmationOnUpdates) value
|
|
8299
|
+
*/
|
|
8300
|
+
requireConfirmationOnUpdates?: boolean
|
|
8301
|
+
/**
|
|
8302
|
+
* Sets [verbosityLevel](https://bryntum.com/products/scheduler/docs/api/Core/feature/ai/AIBase#config-verbosityLevel) value
|
|
8303
|
+
*/
|
|
8304
|
+
verbosity?: string
|
|
8305
|
+
/**
|
|
8306
|
+
* Sets [voiceOnly](https://bryntum.com/products/scheduler/docs/api/Core/feature/ai/AIBase#config-voiceActivation) value
|
|
8307
|
+
*/
|
|
8308
|
+
voiceOnly?: boolean
|
|
8309
|
+
}
|
|
8310
|
+
|
|
8311
|
+
/**
|
|
8312
|
+
* An AISettingsModel defines the user settings for the Scheduler AI feature.
|
|
8313
|
+
* ...
|
|
8314
|
+
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/AISettingsModel)
|
|
8315
|
+
*/
|
|
8316
|
+
export class AISettingsModel extends CoreAISettingsModel {
|
|
8317
|
+
/**
|
|
8318
|
+
* Identifies an object as an instance of [AISettingsModel](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/AISettingsModel) class, or subclass thereof.
|
|
8319
|
+
*/
|
|
8320
|
+
static readonly isAISettingsModel: boolean
|
|
8321
|
+
/**
|
|
8322
|
+
* Identifies an object as an instance of [AISettingsModel](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/AISettingsModel) class, or subclass thereof.
|
|
8323
|
+
*/
|
|
8324
|
+
readonly isAISettingsModel: boolean
|
|
8325
|
+
/**
|
|
8326
|
+
* Sets [defaultRange](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/AI#config-defaultRange) value
|
|
8327
|
+
*/
|
|
8328
|
+
model: string
|
|
8329
|
+
}
|
|
8330
|
+
|
|
8210
8331
|
/**
|
|
8211
8332
|
* Type with available listeners functions for [AssignmentStore](https://bryntum.com/products/grid/docs/api/Scheduler/data/AssignmentStore) class.
|
|
8212
8333
|
* Could be used for callbacks typings in TypeScript application.
|
|
@@ -12333,6 +12454,13 @@ type DependencyStoreConfig = {
|
|
|
12333
12454
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/DependencyStore#config-allowNoId)
|
|
12334
12455
|
*/
|
|
12335
12456
|
allowNoId?: boolean
|
|
12457
|
+
/**
|
|
12458
|
+
* An array of allowed dependency types. When set, only the specified dependency types can be created.
|
|
12459
|
+
* Use values from [DependencyModel.Type](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/DependencyBaseModel#property-Type-static):
|
|
12460
|
+
* ...
|
|
12461
|
+
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/DependencyStore#config-allowedDependencyTypes)
|
|
12462
|
+
*/
|
|
12463
|
+
allowedDependencyTypes?: number[]
|
|
12336
12464
|
/**
|
|
12337
12465
|
* Specifies target to filter and sort after applying changeset:
|
|
12338
12466
|
* ...
|
|
@@ -13466,6 +13594,12 @@ export class DependencyStore extends AjaxStore {
|
|
|
13466
13594
|
* @param {string} cls
|
|
13467
13595
|
*/
|
|
13468
13596
|
getHighlightedDependencies(cls: string): DependencyBaseModel[];
|
|
13597
|
+
/**
|
|
13598
|
+
* Returns `true` if the specified dependency type is allowed according to the
|
|
13599
|
+
* [allowedDependencyTypes](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/mixin/DependencyStoreMixin#config-allowedDependencyTypes) configuration.
|
|
13600
|
+
* @param {number} type Dependency [Type](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/DependencyBaseModel#property-Type-static)
|
|
13601
|
+
*/
|
|
13602
|
+
isDependencyTypeAllowed(type: number): boolean;
|
|
13469
13603
|
/**
|
|
13470
13604
|
* Validation method used to validate a dependency. Override and return `true` to indicate that an
|
|
13471
13605
|
* existing dependency between two tasks is valid. For a new dependency being created please see
|
|
@@ -15608,6 +15742,22 @@ export class EventStore extends AjaxStore {
|
|
|
15608
15742
|
* @param {Scheduler.model.ResourceModel,string,number} resource Resource or resource id.
|
|
15609
15743
|
*/
|
|
15610
15744
|
getEventsForResource(resource: ResourceModel|string|number): EventModel[];
|
|
15745
|
+
/**
|
|
15746
|
+
* This function will find the next available start date where the provided duration fits without causing any
|
|
15747
|
+
* conflicts. It begins by checking the provided `resources` on the provided `startDate`. And if any conflicting
|
|
15748
|
+
* events is found, it restarts searching from the last of the conflicting events and continues like this until a
|
|
15749
|
+
* matching time slot is found.
|
|
15750
|
+
* @param {object} options
|
|
15751
|
+
*/
|
|
15752
|
+
getNextAvailableDateRange(options: {
|
|
15753
|
+
startDate: Date
|
|
15754
|
+
duration: DurationConfig|string
|
|
15755
|
+
resources: ResourceModel[]
|
|
15756
|
+
matchAllResources?: boolean
|
|
15757
|
+
stopDate?: Date
|
|
15758
|
+
isConflict?: Function
|
|
15759
|
+
getValidDate?: Function
|
|
15760
|
+
}): object|undefined;
|
|
15611
15761
|
/**
|
|
15612
15762
|
* Returns all the recurring events.
|
|
15613
15763
|
*/
|
|
@@ -23339,6 +23489,19 @@ export class AttachToProjectMixinClass {
|
|
|
23339
23489
|
|
|
23340
23490
|
export const AttachToProjectMixin : <T extends AnyConstructor<Base>>(base : T) => AnyConstructor<InstanceType<T> & AttachToProjectMixinClass>
|
|
23341
23491
|
|
|
23492
|
+
/**
|
|
23493
|
+
* Type with configuration options for [DependencyStoreMixin](https://bryntum.com/products/grid/docs/api/Scheduler/data/mixin/DependencyStoreMixin) class.
|
|
23494
|
+
*/
|
|
23495
|
+
type DependencyStoreMixinClassConfig = {
|
|
23496
|
+
/**
|
|
23497
|
+
* An array of allowed dependency types. When set, only the specified dependency types can be created.
|
|
23498
|
+
* Use values from [DependencyModel.Type](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/DependencyBaseModel#property-Type-static):
|
|
23499
|
+
* ...
|
|
23500
|
+
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/mixin/DependencyStoreMixin#config-allowedDependencyTypes)
|
|
23501
|
+
*/
|
|
23502
|
+
allowedDependencyTypes?: number[]
|
|
23503
|
+
}
|
|
23504
|
+
|
|
23342
23505
|
export class DependencyStoreMixinClass {
|
|
23343
23506
|
/**
|
|
23344
23507
|
* Identifies an object as an instance of [DependencyStoreMixin](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/mixin/DependencyStoreMixin) class, or subclass thereof.
|
|
@@ -23352,6 +23515,11 @@ export class DependencyStoreMixinClass {
|
|
|
23352
23515
|
* Identifies an object as an instance of [DependencyStoreMixin](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/mixin/DependencyStoreMixin) class, or subclass thereof.
|
|
23353
23516
|
*/
|
|
23354
23517
|
readonly isDependencyStoreMixin: boolean
|
|
23518
|
+
/**
|
|
23519
|
+
* Creates an instance of the class using the supplied configuration
|
|
23520
|
+
* @param {DependencyStoreMixinClassConfig} config
|
|
23521
|
+
*/
|
|
23522
|
+
constructor(config?: DependencyStoreMixinClassConfig);
|
|
23355
23523
|
/**
|
|
23356
23524
|
* Add dependencies to the store.
|
|
23357
23525
|
* @param {Scheduler.model.DependencyModel,Scheduler.model.DependencyModel[],DependencyModelConfig,DependencyModelConfig[]} records Array of records/data or a single record/data to add to store
|
|
@@ -23389,6 +23557,12 @@ export class DependencyStoreMixinClass {
|
|
|
23389
23557
|
* @param {string} cls
|
|
23390
23558
|
*/
|
|
23391
23559
|
getHighlightedDependencies(cls: string): DependencyBaseModel[];
|
|
23560
|
+
/**
|
|
23561
|
+
* Returns `true` if the specified dependency type is allowed according to the
|
|
23562
|
+
* [allowedDependencyTypes](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/mixin/DependencyStoreMixin#config-allowedDependencyTypes) configuration.
|
|
23563
|
+
* @param {number} type Dependency [Type](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/DependencyBaseModel#property-Type-static)
|
|
23564
|
+
*/
|
|
23565
|
+
isDependencyTypeAllowed(type: number): boolean;
|
|
23392
23566
|
/**
|
|
23393
23567
|
* Validation method used to validate a dependency. Override and return `true` to indicate that an
|
|
23394
23568
|
* existing dependency between two tasks is valid. For a new dependency being created please see
|
|
@@ -23694,6 +23868,22 @@ export class GetEventsMixinClass {
|
|
|
23694
23868
|
onlyAssigned?: boolean
|
|
23695
23869
|
dateMap?: boolean|Map<any, any>
|
|
23696
23870
|
}): EventModel[]|Map<any, any>;
|
|
23871
|
+
/**
|
|
23872
|
+
* This function will find the next available start date where the provided duration fits without causing any
|
|
23873
|
+
* conflicts. It begins by checking the provided `resources` on the provided `startDate`. And if any conflicting
|
|
23874
|
+
* events is found, it restarts searching from the last of the conflicting events and continues like this until a
|
|
23875
|
+
* matching time slot is found.
|
|
23876
|
+
* @param {object} options
|
|
23877
|
+
*/
|
|
23878
|
+
getNextAvailableDateRange(options: {
|
|
23879
|
+
startDate: Date
|
|
23880
|
+
duration: DurationConfig|string
|
|
23881
|
+
resources: ResourceModel[]
|
|
23882
|
+
matchAllResources?: boolean
|
|
23883
|
+
stopDate?: Date
|
|
23884
|
+
isConflict?: Function
|
|
23885
|
+
getValidDate?: Function
|
|
23886
|
+
}): object|undefined;
|
|
23697
23887
|
/**
|
|
23698
23888
|
* Checks if a date range is available for a given resource.
|
|
23699
23889
|
* @param {Date} startDate The start date
|
|
@@ -25241,6 +25431,352 @@ export class RecurrenceLegend {
|
|
|
25241
25431
|
updateLocalization(): void;
|
|
25242
25432
|
}
|
|
25243
25433
|
|
|
25434
|
+
/**
|
|
25435
|
+
* Type with available listeners functions for [AI](https://bryntum.com/products/grid/docs/api/Scheduler/feature/AI) class.
|
|
25436
|
+
* Could be used for callbacks typings in TypeScript application.
|
|
25437
|
+
*/
|
|
25438
|
+
type AIListenersTypes = {
|
|
25439
|
+
/**
|
|
25440
|
+
* Fires before an object is destroyed.
|
|
25441
|
+
* @param {object} event Event object
|
|
25442
|
+
* @param {Core.Base} event.source The Object that is being destroyed.
|
|
25443
|
+
*/
|
|
25444
|
+
beforeDestroy: (event: { source: Base }) => void
|
|
25445
|
+
/**
|
|
25446
|
+
* Fires when any other event is fired from the object.
|
|
25447
|
+
* ...
|
|
25448
|
+
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/AI#event-catchAll)
|
|
25449
|
+
* @param {object} event Event object
|
|
25450
|
+
* @param {{[key: string]: any, type: string}} event.event The Object that contains event details
|
|
25451
|
+
* @param {string} event.event.type The type of the event which is caught by the listener
|
|
25452
|
+
*/
|
|
25453
|
+
catchAll: (event: {[key: string]: any, type: string}) => void
|
|
25454
|
+
/**
|
|
25455
|
+
* Fires when an object is destroyed.
|
|
25456
|
+
* @param {object} event Event object
|
|
25457
|
+
* @param {Core.Base} event.source The Object that is being destroyed.
|
|
25458
|
+
*/
|
|
25459
|
+
destroy: (event: { source: Base }) => void
|
|
25460
|
+
/**
|
|
25461
|
+
* Fired when the plugin/feature is disabled.
|
|
25462
|
+
* @param {object} event Event object
|
|
25463
|
+
* @param {Core.mixin.InstancePlugin} event.source
|
|
25464
|
+
*/
|
|
25465
|
+
disable: (event: { source: InstancePlugin }) => void
|
|
25466
|
+
/**
|
|
25467
|
+
* Fired when the plugin/feature is enabled.
|
|
25468
|
+
* @param {object} event Event object
|
|
25469
|
+
* @param {Core.mixin.InstancePlugin} event.source
|
|
25470
|
+
*/
|
|
25471
|
+
enable: (event: { source: InstancePlugin }) => void
|
|
25472
|
+
/**
|
|
25473
|
+
* Fired when the user changes it's settings via the settings panel
|
|
25474
|
+
* @param {object} event Event object
|
|
25475
|
+
* @param {Core.data.CoreAISettingsModel} event.userSettings The user settings record
|
|
25476
|
+
* @param {object} event.changes The changed properties and the new value
|
|
25477
|
+
*/
|
|
25478
|
+
userSettingsUpdate: (event: { userSettings: CoreAISettingsModel, changes: object }) => void
|
|
25479
|
+
}
|
|
25480
|
+
|
|
25481
|
+
/**
|
|
25482
|
+
* Type with listeners options for [AI](https://bryntum.com/products/grid/docs/api/Scheduler/feature/AI) class.
|
|
25483
|
+
*/
|
|
25484
|
+
type AIListeners = {
|
|
25485
|
+
/**
|
|
25486
|
+
* The `this` object for listener methods
|
|
25487
|
+
*/
|
|
25488
|
+
thisObj?: object
|
|
25489
|
+
/**
|
|
25490
|
+
* Fires before an object is destroyed.
|
|
25491
|
+
* @param {object} event Event object
|
|
25492
|
+
* @param {Core.Base} event.source The Object that is being destroyed.
|
|
25493
|
+
*/
|
|
25494
|
+
beforeDestroy?: ((event: { source: Base }) => void)|string
|
|
25495
|
+
/**
|
|
25496
|
+
* Fires when any other event is fired from the object.
|
|
25497
|
+
* ...
|
|
25498
|
+
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/AI#event-catchAll)
|
|
25499
|
+
* @param {object} event Event object
|
|
25500
|
+
* @param {{[key: string]: any, type: string}} event.event The Object that contains event details
|
|
25501
|
+
* @param {string} event.event.type The type of the event which is caught by the listener
|
|
25502
|
+
*/
|
|
25503
|
+
catchAll?: ((event: {[key: string]: any, type: string}) => void)|string
|
|
25504
|
+
/**
|
|
25505
|
+
* Fires when an object is destroyed.
|
|
25506
|
+
* @param {object} event Event object
|
|
25507
|
+
* @param {Core.Base} event.source The Object that is being destroyed.
|
|
25508
|
+
*/
|
|
25509
|
+
destroy?: ((event: { source: Base }) => void)|string
|
|
25510
|
+
/**
|
|
25511
|
+
* Fired when the plugin/feature is disabled.
|
|
25512
|
+
* @param {object} event Event object
|
|
25513
|
+
* @param {Core.mixin.InstancePlugin} event.source
|
|
25514
|
+
*/
|
|
25515
|
+
disable?: ((event: { source: InstancePlugin }) => void)|string
|
|
25516
|
+
/**
|
|
25517
|
+
* Fired when the plugin/feature is enabled.
|
|
25518
|
+
* @param {object} event Event object
|
|
25519
|
+
* @param {Core.mixin.InstancePlugin} event.source
|
|
25520
|
+
*/
|
|
25521
|
+
enable?: ((event: { source: InstancePlugin }) => void)|string
|
|
25522
|
+
/**
|
|
25523
|
+
* Fired when the user changes it's settings via the settings panel
|
|
25524
|
+
* @param {object} event Event object
|
|
25525
|
+
* @param {Core.data.CoreAISettingsModel} event.userSettings The user settings record
|
|
25526
|
+
* @param {object} event.changes The changed properties and the new value
|
|
25527
|
+
*/
|
|
25528
|
+
userSettingsUpdate?: ((event: { userSettings: CoreAISettingsModel, changes: object }) => void)|string
|
|
25529
|
+
}
|
|
25530
|
+
|
|
25531
|
+
/**
|
|
25532
|
+
* Type with configuration options for [AI](https://bryntum.com/products/grid/docs/api/Scheduler/feature/AI) class.
|
|
25533
|
+
*/
|
|
25534
|
+
type AIConfig = {
|
|
25535
|
+
type?: 'ai'
|
|
25536
|
+
/**
|
|
25537
|
+
* AI plugin to use. Provide the class here. Available plugins are:
|
|
25538
|
+
* ...
|
|
25539
|
+
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/AI#config-apiPlugin)
|
|
25540
|
+
*/
|
|
25541
|
+
apiPlugin?: typeof AbstractApiPlugin
|
|
25542
|
+
/**
|
|
25543
|
+
* Shows an AI model selector in the SettingsPanel where the user can select between the available API:s
|
|
25544
|
+
*/
|
|
25545
|
+
availableApis?: AIModelSelector[]
|
|
25546
|
+
/**
|
|
25547
|
+
* Set this to `true` or a config object to add a [ChatButton](https://bryntum.com/products/scheduler/docs/api/Core/widget/chat/ChatButton)
|
|
25548
|
+
*/
|
|
25549
|
+
chatButton?: boolean|ChatButtonConfig
|
|
25550
|
+
/**
|
|
25551
|
+
* Set to `true` to automatically console.log things that happen internally. AI responses and audio processing
|
|
25552
|
+
* for example.
|
|
25553
|
+
*/
|
|
25554
|
+
debugMode?: boolean
|
|
25555
|
+
/**
|
|
25556
|
+
* The date range to use for agent "conditions", when the user doesn't specify a given date range in the prompt.
|
|
25557
|
+
* Available options are:
|
|
25558
|
+
* ...
|
|
25559
|
+
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/AI#config-defaultRange)
|
|
25560
|
+
*/
|
|
25561
|
+
defaultRange?: string
|
|
25562
|
+
/**
|
|
25563
|
+
* An array of strings which will be circulated as waiting status texts when awaiting long AI responses
|
|
25564
|
+
* Defaults to `['Waiting', 'Waiting ...', 'Still waiting', 'Still waiting ...']`
|
|
25565
|
+
*/
|
|
25566
|
+
delayStatusTexts?: string[]
|
|
25567
|
+
/**
|
|
25568
|
+
* The plugin/feature `disabled` state.
|
|
25569
|
+
* ...
|
|
25570
|
+
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/AI#config-disabled)
|
|
25571
|
+
*/
|
|
25572
|
+
disabled?: boolean|'inert'
|
|
25573
|
+
/**
|
|
25574
|
+
* The URL to send feedback (thumbs up/thumbs down) to
|
|
25575
|
+
*/
|
|
25576
|
+
feedbackUrl?: string
|
|
25577
|
+
/**
|
|
25578
|
+
* Additional options to pass to fetch requests
|
|
25579
|
+
*/
|
|
25580
|
+
fetchOptions?: object
|
|
25581
|
+
/**
|
|
25582
|
+
* By default, data item which are targeted in an AI action will be highlighted in the UI. Set this to `false`
|
|
25583
|
+
* to prevent this behavior.
|
|
25584
|
+
*/
|
|
25585
|
+
highlightRelatedItems?: boolean
|
|
25586
|
+
/**
|
|
25587
|
+
* The listener set for this object.
|
|
25588
|
+
* ...
|
|
25589
|
+
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/AI#config-listeners)
|
|
25590
|
+
*/
|
|
25591
|
+
listeners?: AIListeners
|
|
25592
|
+
/**
|
|
25593
|
+
* Set to `false` to not manage chat history on the client
|
|
25594
|
+
*/
|
|
25595
|
+
manageChatHistory?: boolean
|
|
25596
|
+
/**
|
|
25597
|
+
* Max tokens setting (if applicable)
|
|
25598
|
+
*/
|
|
25599
|
+
max_tokens?: number
|
|
25600
|
+
/**
|
|
25601
|
+
* AI model name (if applicable)
|
|
25602
|
+
*/
|
|
25603
|
+
model?: string
|
|
25604
|
+
/**
|
|
25605
|
+
* Use this to provide more details of data models currently available for the AI agent to work with. Provide
|
|
25606
|
+
* an object with model class names as keys and configuration objects as values.
|
|
25607
|
+
* ...
|
|
25608
|
+
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/AI#config-models)
|
|
25609
|
+
*/
|
|
25610
|
+
models?: Record<string, AIModelConfiguration>
|
|
25611
|
+
/**
|
|
25612
|
+
* The URL to send text prompts to
|
|
25613
|
+
*/
|
|
25614
|
+
promptUrl?: string
|
|
25615
|
+
/**
|
|
25616
|
+
* Enables support for redoing data modifying actions performed by the AI. Shows a redo icon under the last
|
|
25617
|
+
* redoable message in the ChatPanel. Requires undo to be enabled.
|
|
25618
|
+
*/
|
|
25619
|
+
redo?: boolean
|
|
25620
|
+
/**
|
|
25621
|
+
* Set to `true` to always prompt the user for confirmation before allowing the AI to add records
|
|
25622
|
+
*/
|
|
25623
|
+
requireConfirmationOnAdds?: boolean
|
|
25624
|
+
/**
|
|
25625
|
+
* Set to `true` to always prompt the user for confirmation before allowing the AI to remove records
|
|
25626
|
+
*/
|
|
25627
|
+
requireConfirmationOnRemovals?: boolean
|
|
25628
|
+
/**
|
|
25629
|
+
* Set to `true` to always prompt the user for confirmation before allowing the AI to update records
|
|
25630
|
+
*/
|
|
25631
|
+
requireConfirmationOnUpdates?: boolean
|
|
25632
|
+
/**
|
|
25633
|
+
* A configuration object containing the user's preferred AI feature settings. If there is a matching AI feature
|
|
25634
|
+
* class config, the user setting will take precedence
|
|
25635
|
+
* JSON.
|
|
25636
|
+
*/
|
|
25637
|
+
settings?: AISettingsModelConfig|AISettingsModel
|
|
25638
|
+
/**
|
|
25639
|
+
* Set to `true` to upon creation, send a test prompt to verify the connection to the AI backend. If the test
|
|
25640
|
+
* fails, a warning icon will be shown on the chat panel.
|
|
25641
|
+
*/
|
|
25642
|
+
showNoConnectionIcon?: boolean
|
|
25643
|
+
/**
|
|
25644
|
+
* Temperature setting (if applicable). Overrides the default temperature set by the apiPlugin.
|
|
25645
|
+
*/
|
|
25646
|
+
temperature?: number
|
|
25647
|
+
/**
|
|
25648
|
+
* The URL to send text for speech synthesizing
|
|
25649
|
+
*/
|
|
25650
|
+
textToSpeechUrl?: string
|
|
25651
|
+
/**
|
|
25652
|
+
* A number of milliseconds a prompt is allowed to take before being aborted. Defaults to `60000` (1 minute).
|
|
25653
|
+
*/
|
|
25654
|
+
timeout?: number
|
|
25655
|
+
/**
|
|
25656
|
+
* Use this to add custom tools to the AI model's tool list or to remove existing tools. Provide an object
|
|
25657
|
+
* with the tool names as keys and configuration objects as values. Please note that modifying existing tools is
|
|
25658
|
+
* not supported, only removing them.
|
|
25659
|
+
* ...
|
|
25660
|
+
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/AI#config-tools)
|
|
25661
|
+
*/
|
|
25662
|
+
tools?: Record<string, AIToolConfig>
|
|
25663
|
+
/**
|
|
25664
|
+
* Use this to provide example prompt scenarios to "teach" the AI of more complex tasks. Must be configured as
|
|
25665
|
+
* an array containing arrays which contains the AI messages for the complete conversation.
|
|
25666
|
+
* ...
|
|
25667
|
+
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/AI#config-trainingData)
|
|
25668
|
+
*/
|
|
25669
|
+
trainingData?: any[]
|
|
25670
|
+
/**
|
|
25671
|
+
* The URL to send audio for transcribing
|
|
25672
|
+
*/
|
|
25673
|
+
transcribeUrl?: string
|
|
25674
|
+
/**
|
|
25675
|
+
* Enables support for undoing data modifying actions performed by the AI. Shows an undo icon under the last
|
|
25676
|
+
* undoable message in the ChatPanel.
|
|
25677
|
+
*/
|
|
25678
|
+
undo?: boolean
|
|
25679
|
+
/**
|
|
25680
|
+
* A configuration object containing the user's preferred AI feature settings. If there is a matching AI feature
|
|
25681
|
+
* class config, the user setting will take precedence
|
|
25682
|
+
* JSON.
|
|
25683
|
+
*/
|
|
25684
|
+
userSettings?: AISettingsModelConfig|CoreAISettingsModel
|
|
25685
|
+
/**
|
|
25686
|
+
* Experimental configuration of the AI verbosity. Valid values are `"1"`, `"2"` and `"3"`, where `"1"` is
|
|
25687
|
+
* lowest.
|
|
25688
|
+
*/
|
|
25689
|
+
verbosityLevel?: string
|
|
25690
|
+
/**
|
|
25691
|
+
* Configuration settings for voice activation
|
|
25692
|
+
*/
|
|
25693
|
+
voiceActivation?: AIVoiceActivationConfig
|
|
25694
|
+
/**
|
|
25695
|
+
* Forces voice only mode, which hides the chat panel and only shows a record chat button.
|
|
25696
|
+
*/
|
|
25697
|
+
voiceOnly?: boolean
|
|
25698
|
+
/**
|
|
25699
|
+
* Fires before an object is destroyed.
|
|
25700
|
+
* @param {object} event Event object
|
|
25701
|
+
* @param {Core.Base} event.source The Object that is being destroyed.
|
|
25702
|
+
*/
|
|
25703
|
+
onBeforeDestroy?: ((event: { source: Base }) => void)|string
|
|
25704
|
+
/**
|
|
25705
|
+
* Fires when any other event is fired from the object.
|
|
25706
|
+
* ...
|
|
25707
|
+
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/AI#event-catchAll)
|
|
25708
|
+
* @param {object} event Event object
|
|
25709
|
+
* @param {{[key: string]: any, type: string}} event.event The Object that contains event details
|
|
25710
|
+
* @param {string} event.event.type The type of the event which is caught by the listener
|
|
25711
|
+
*/
|
|
25712
|
+
onCatchAll?: ((event: {[key: string]: any, type: string}) => void)|string
|
|
25713
|
+
/**
|
|
25714
|
+
* Fires when an object is destroyed.
|
|
25715
|
+
* @param {object} event Event object
|
|
25716
|
+
* @param {Core.Base} event.source The Object that is being destroyed.
|
|
25717
|
+
*/
|
|
25718
|
+
onDestroy?: ((event: { source: Base }) => void)|string
|
|
25719
|
+
/**
|
|
25720
|
+
* Fired when the plugin/feature is disabled.
|
|
25721
|
+
* @param {object} event Event object
|
|
25722
|
+
* @param {Core.mixin.InstancePlugin} event.source
|
|
25723
|
+
*/
|
|
25724
|
+
onDisable?: ((event: { source: InstancePlugin }) => void)|string
|
|
25725
|
+
/**
|
|
25726
|
+
* Fired when the plugin/feature is enabled.
|
|
25727
|
+
* @param {object} event Event object
|
|
25728
|
+
* @param {Core.mixin.InstancePlugin} event.source
|
|
25729
|
+
*/
|
|
25730
|
+
onEnable?: ((event: { source: InstancePlugin }) => void)|string
|
|
25731
|
+
/**
|
|
25732
|
+
* Fired when the user changes it's settings via the settings panel
|
|
25733
|
+
* @param {object} event Event object
|
|
25734
|
+
* @param {Core.data.CoreAISettingsModel} event.userSettings The user settings record
|
|
25735
|
+
* @param {object} event.changes The changed properties and the new value
|
|
25736
|
+
*/
|
|
25737
|
+
onUserSettingsUpdate?: ((event: { userSettings: CoreAISettingsModel, changes: object }) => void)|string
|
|
25738
|
+
}
|
|
25739
|
+
|
|
25740
|
+
/**
|
|
25741
|
+
* This feature provides an AI agent for the Scheduler and SchedulerPro. It provides a chat panel that allows the user
|
|
25742
|
+
* to send messages to the agent and see the responses. Which allows the user to use natural language to interact with
|
|
25743
|
+
* the Scheduler in different ways. For example, the user can ask the agent to filter the data, sort it, or select
|
|
25744
|
+
* specific records. The agent can also perform data manipulation operations such as adding, updating, deleting records.
|
|
25745
|
+
* ...
|
|
25746
|
+
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/AI)
|
|
25747
|
+
*/
|
|
25748
|
+
export class AI extends GridAI {
|
|
25749
|
+
/**
|
|
25750
|
+
* Identifies an object as an instance of [AI](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/AI) class, or subclass thereof.
|
|
25751
|
+
*/
|
|
25752
|
+
static readonly isAI: boolean
|
|
25753
|
+
/**
|
|
25754
|
+
* Identifies an object as an instance of [AI](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/AI) class, or subclass thereof.
|
|
25755
|
+
*/
|
|
25756
|
+
readonly isAI: boolean
|
|
25757
|
+
/**
|
|
25758
|
+
* Fires before an object is destroyed.
|
|
25759
|
+
* @param {object} event Event object
|
|
25760
|
+
* @param {Core.Base} event.source The Object that is being destroyed.
|
|
25761
|
+
*/
|
|
25762
|
+
onBeforeDestroy: ((event: { source: Base }) => void)|string
|
|
25763
|
+
/**
|
|
25764
|
+
* Fires when any other event is fired from the object.
|
|
25765
|
+
* ...
|
|
25766
|
+
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/AI#event-catchAll)
|
|
25767
|
+
* @param {object} event Event object
|
|
25768
|
+
* @param {{[key: string]: any, type: string}} event.event The Object that contains event details
|
|
25769
|
+
* @param {string} event.event.type The type of the event which is caught by the listener
|
|
25770
|
+
*/
|
|
25771
|
+
onCatchAll: ((event: {[key: string]: any, type: string}) => void)|string
|
|
25772
|
+
/**
|
|
25773
|
+
* Fires when an object is destroyed.
|
|
25774
|
+
* @param {object} event Event object
|
|
25775
|
+
* @param {Core.Base} event.source The Object that is being destroyed.
|
|
25776
|
+
*/
|
|
25777
|
+
onDestroy: ((event: { source: Base }) => void)|string
|
|
25778
|
+
}
|
|
25779
|
+
|
|
25244
25780
|
/**
|
|
25245
25781
|
* Type with available listeners functions for [AbstractTimeRanges](https://bryntum.com/products/grid/docs/api/Scheduler/feature/AbstractTimeRanges) class.
|
|
25246
25782
|
* Could be used for callbacks typings in TypeScript application.
|
|
@@ -28781,11 +29317,11 @@ export class EventEdit extends EditBase {
|
|
|
28781
29317
|
/**
|
|
28782
29318
|
* Opens an editor for the passed event. This function is exposed on Scheduler and can be called as
|
|
28783
29319
|
* `scheduler.editEvent()`.
|
|
28784
|
-
* @param {Scheduler.model.EventModel} eventRecord Event to edit
|
|
29320
|
+
* @param {Scheduler.model.EventModel,string,number} eventRecord Event to edit or the id of the eventRecord. When a String or Number is passed, it must be the id of an event that exists in the Scheduler's event store.
|
|
28785
29321
|
* @param {Scheduler.model.ResourceModel} resourceRecord The Resource record for the event. This parameter is needed if the event is newly created for a resource and has not been assigned, or when using multi assignment.
|
|
28786
29322
|
* @param {HTMLElement} element Element to anchor editor to (defaults to events element)
|
|
28787
29323
|
*/
|
|
28788
|
-
editEvent(eventRecord: EventModel, resourceRecord?: ResourceModel, element?: HTMLElement): void;
|
|
29324
|
+
editEvent(eventRecord: EventModel|string|number, resourceRecord?: ResourceModel, element?: HTMLElement): void;
|
|
28789
29325
|
}
|
|
28790
29326
|
|
|
28791
29327
|
/**
|
|
@@ -30067,6 +30603,10 @@ type EventTooltipConfig = {
|
|
|
30067
30603
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/EventTooltip#config-bodyCls)
|
|
30068
30604
|
*/
|
|
30069
30605
|
bodyCls?: string|object
|
|
30606
|
+
/**
|
|
30607
|
+
* Set `true` to add a border to this container's element.
|
|
30608
|
+
*/
|
|
30609
|
+
border?: boolean
|
|
30070
30610
|
/**
|
|
30071
30611
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
30072
30612
|
* hierarchy when triggered.
|
|
@@ -30139,7 +30679,7 @@ type EventTooltipConfig = {
|
|
|
30139
30679
|
* ...
|
|
30140
30680
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/EventTooltip#config-color)
|
|
30141
30681
|
*/
|
|
30142
|
-
color?:
|
|
30682
|
+
color?: Color
|
|
30143
30683
|
/**
|
|
30144
30684
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
30145
30685
|
*/
|
|
@@ -32501,6 +33041,230 @@ export class Pan extends InstancePlugin {
|
|
|
32501
33041
|
constructor(config?: PanConfig);
|
|
32502
33042
|
}
|
|
32503
33043
|
|
|
33044
|
+
/**
|
|
33045
|
+
* Type with available listeners functions for [ResourceColumnReorder](https://bryntum.com/products/grid/docs/api/Scheduler/feature/ResourceColumnReorder) class.
|
|
33046
|
+
* Could be used for callbacks typings in TypeScript application.
|
|
33047
|
+
*/
|
|
33048
|
+
type ResourceColumnReorderListenersTypes = {
|
|
33049
|
+
/**
|
|
33050
|
+
* Fires before an object is destroyed.
|
|
33051
|
+
* @param {object} event Event object
|
|
33052
|
+
* @param {Core.Base} event.source The Object that is being destroyed.
|
|
33053
|
+
*/
|
|
33054
|
+
beforeDestroy: (event: { source: Base }) => void
|
|
33055
|
+
/**
|
|
33056
|
+
* Fires when any other event is fired from the object.
|
|
33057
|
+
* ...
|
|
33058
|
+
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/ResourceColumnReorder#event-catchAll)
|
|
33059
|
+
* @param {object} event Event object
|
|
33060
|
+
* @param {{[key: string]: any, type: string}} event.event The Object that contains event details
|
|
33061
|
+
* @param {string} event.event.type The type of the event which is caught by the listener
|
|
33062
|
+
*/
|
|
33063
|
+
catchAll: (event: {[key: string]: any, type: string}) => void
|
|
33064
|
+
/**
|
|
33065
|
+
* Fires when an object is destroyed.
|
|
33066
|
+
* @param {object} event Event object
|
|
33067
|
+
* @param {Core.Base} event.source The Object that is being destroyed.
|
|
33068
|
+
*/
|
|
33069
|
+
destroy: (event: { source: Base }) => void
|
|
33070
|
+
/**
|
|
33071
|
+
* Fired when the plugin/feature is disabled.
|
|
33072
|
+
* @param {object} event Event object
|
|
33073
|
+
* @param {Core.mixin.InstancePlugin} event.source
|
|
33074
|
+
*/
|
|
33075
|
+
disable: (event: { source: InstancePlugin }) => void
|
|
33076
|
+
/**
|
|
33077
|
+
* Fired when the plugin/feature is enabled.
|
|
33078
|
+
* @param {object} event Event object
|
|
33079
|
+
* @param {Core.mixin.InstancePlugin} event.source
|
|
33080
|
+
*/
|
|
33081
|
+
enable: (event: { source: InstancePlugin }) => void
|
|
33082
|
+
}
|
|
33083
|
+
|
|
33084
|
+
/**
|
|
33085
|
+
* Type with listeners options for [ResourceColumnReorder](https://bryntum.com/products/grid/docs/api/Scheduler/feature/ResourceColumnReorder) class.
|
|
33086
|
+
*/
|
|
33087
|
+
type ResourceColumnReorderListeners = {
|
|
33088
|
+
/**
|
|
33089
|
+
* The `this` object for listener methods
|
|
33090
|
+
*/
|
|
33091
|
+
thisObj?: object
|
|
33092
|
+
/**
|
|
33093
|
+
* Fires before an object is destroyed.
|
|
33094
|
+
* @param {object} event Event object
|
|
33095
|
+
* @param {Core.Base} event.source The Object that is being destroyed.
|
|
33096
|
+
*/
|
|
33097
|
+
beforeDestroy?: ((event: { source: Base }) => void)|string
|
|
33098
|
+
/**
|
|
33099
|
+
* Fires when any other event is fired from the object.
|
|
33100
|
+
* ...
|
|
33101
|
+
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/ResourceColumnReorder#event-catchAll)
|
|
33102
|
+
* @param {object} event Event object
|
|
33103
|
+
* @param {{[key: string]: any, type: string}} event.event The Object that contains event details
|
|
33104
|
+
* @param {string} event.event.type The type of the event which is caught by the listener
|
|
33105
|
+
*/
|
|
33106
|
+
catchAll?: ((event: {[key: string]: any, type: string}) => void)|string
|
|
33107
|
+
/**
|
|
33108
|
+
* Fires when an object is destroyed.
|
|
33109
|
+
* @param {object} event Event object
|
|
33110
|
+
* @param {Core.Base} event.source The Object that is being destroyed.
|
|
33111
|
+
*/
|
|
33112
|
+
destroy?: ((event: { source: Base }) => void)|string
|
|
33113
|
+
/**
|
|
33114
|
+
* Fired when the plugin/feature is disabled.
|
|
33115
|
+
* @param {object} event Event object
|
|
33116
|
+
* @param {Core.mixin.InstancePlugin} event.source
|
|
33117
|
+
*/
|
|
33118
|
+
disable?: ((event: { source: InstancePlugin }) => void)|string
|
|
33119
|
+
/**
|
|
33120
|
+
* Fired when the plugin/feature is enabled.
|
|
33121
|
+
* @param {object} event Event object
|
|
33122
|
+
* @param {Core.mixin.InstancePlugin} event.source
|
|
33123
|
+
*/
|
|
33124
|
+
enable?: ((event: { source: InstancePlugin }) => void)|string
|
|
33125
|
+
}
|
|
33126
|
+
|
|
33127
|
+
/**
|
|
33128
|
+
* Type with configuration options for [ResourceColumnReorder](https://bryntum.com/products/grid/docs/api/Scheduler/feature/ResourceColumnReorder) class.
|
|
33129
|
+
*/
|
|
33130
|
+
type ResourceColumnReorderConfig = {
|
|
33131
|
+
type?: 'resourceColumnReorder'|'resourcecolumnreorder'
|
|
33132
|
+
/**
|
|
33133
|
+
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
33134
|
+
* hierarchy when triggered.
|
|
33135
|
+
* ...
|
|
33136
|
+
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/ResourceColumnReorder#config-bubbleEvents)
|
|
33137
|
+
*/
|
|
33138
|
+
bubbleEvents?: object
|
|
33139
|
+
/**
|
|
33140
|
+
* Set to `true` to call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
|
|
33141
|
+
* ...
|
|
33142
|
+
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/ResourceColumnReorder#config-callOnFunctions)
|
|
33143
|
+
*/
|
|
33144
|
+
callOnFunctions?: boolean
|
|
33145
|
+
/**
|
|
33146
|
+
* By default, if an event handler throws an exception, the error propagates up the stack and the
|
|
33147
|
+
* application state is undefined. Code which follows the event handler will *not* be executed.
|
|
33148
|
+
* ...
|
|
33149
|
+
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/ResourceColumnReorder#config-catchEventHandlerExceptions)
|
|
33150
|
+
*/
|
|
33151
|
+
catchEventHandlerExceptions?: boolean
|
|
33152
|
+
/**
|
|
33153
|
+
* The widget which this plugin is to attach to.
|
|
33154
|
+
*/
|
|
33155
|
+
client?: Widget
|
|
33156
|
+
/**
|
|
33157
|
+
* The plugin/feature `disabled` state.
|
|
33158
|
+
* ...
|
|
33159
|
+
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/ResourceColumnReorder#config-disabled)
|
|
33160
|
+
*/
|
|
33161
|
+
disabled?: boolean|'inert'
|
|
33162
|
+
/**
|
|
33163
|
+
* The listener set for this object.
|
|
33164
|
+
* ...
|
|
33165
|
+
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/ResourceColumnReorder#config-listeners)
|
|
33166
|
+
*/
|
|
33167
|
+
listeners?: ResourceColumnReorderListeners
|
|
33168
|
+
/**
|
|
33169
|
+
* A class translations of which are used for translating this entity.
|
|
33170
|
+
* This is often used when translations of an item are defined on its container class.
|
|
33171
|
+
* For example:
|
|
33172
|
+
* ...
|
|
33173
|
+
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/ResourceColumnReorder#config-localeClass)
|
|
33174
|
+
*/
|
|
33175
|
+
localeClass?: typeof Base
|
|
33176
|
+
/**
|
|
33177
|
+
* Set to `false` to disable localization of this object.
|
|
33178
|
+
*/
|
|
33179
|
+
localizable?: boolean
|
|
33180
|
+
/**
|
|
33181
|
+
* List of properties which values should be translated automatically upon a locale applying.
|
|
33182
|
+
* In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
|
|
33183
|
+
* you could use 'localeKey' meta configuration.
|
|
33184
|
+
* Example:
|
|
33185
|
+
* ...
|
|
33186
|
+
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/ResourceColumnReorder#config-localizableProperties)
|
|
33187
|
+
*/
|
|
33188
|
+
localizableProperties?: string[]
|
|
33189
|
+
/**
|
|
33190
|
+
* Fires before an object is destroyed.
|
|
33191
|
+
* @param {object} event Event object
|
|
33192
|
+
* @param {Core.Base} event.source The Object that is being destroyed.
|
|
33193
|
+
*/
|
|
33194
|
+
onBeforeDestroy?: ((event: { source: Base }) => void)|string
|
|
33195
|
+
/**
|
|
33196
|
+
* Fires when any other event is fired from the object.
|
|
33197
|
+
* ...
|
|
33198
|
+
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/ResourceColumnReorder#event-catchAll)
|
|
33199
|
+
* @param {object} event Event object
|
|
33200
|
+
* @param {{[key: string]: any, type: string}} event.event The Object that contains event details
|
|
33201
|
+
* @param {string} event.event.type The type of the event which is caught by the listener
|
|
33202
|
+
*/
|
|
33203
|
+
onCatchAll?: ((event: {[key: string]: any, type: string}) => void)|string
|
|
33204
|
+
/**
|
|
33205
|
+
* Fires when an object is destroyed.
|
|
33206
|
+
* @param {object} event Event object
|
|
33207
|
+
* @param {Core.Base} event.source The Object that is being destroyed.
|
|
33208
|
+
*/
|
|
33209
|
+
onDestroy?: ((event: { source: Base }) => void)|string
|
|
33210
|
+
/**
|
|
33211
|
+
* Fired when the plugin/feature is disabled.
|
|
33212
|
+
* @param {object} event Event object
|
|
33213
|
+
* @param {Core.mixin.InstancePlugin} event.source
|
|
33214
|
+
*/
|
|
33215
|
+
onDisable?: ((event: { source: InstancePlugin }) => void)|string
|
|
33216
|
+
/**
|
|
33217
|
+
* Fired when the plugin/feature is enabled.
|
|
33218
|
+
* @param {object} event Event object
|
|
33219
|
+
* @param {Core.mixin.InstancePlugin} event.source
|
|
33220
|
+
*/
|
|
33221
|
+
onEnable?: ((event: { source: InstancePlugin }) => void)|string
|
|
33222
|
+
}
|
|
33223
|
+
|
|
33224
|
+
/**
|
|
33225
|
+
* Allows user to reorder resource columns in vertical mode by dragging them. The feature fires various events
|
|
33226
|
+
* during the drag operation (see events below). To get notified about the actual resource reorder, you can also
|
|
33227
|
+
* listen to the `change` event on the scheduler [ResourceStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/ResourceStore).
|
|
33228
|
+
* ...
|
|
33229
|
+
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/ResourceColumnReorder)
|
|
33230
|
+
*/
|
|
33231
|
+
export class ResourceColumnReorder extends InstancePlugin {
|
|
33232
|
+
/**
|
|
33233
|
+
* Identifies an object as an instance of [ResourceColumnReorder](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/ResourceColumnReorder) class, or subclass thereof.
|
|
33234
|
+
*/
|
|
33235
|
+
static readonly isResourceColumnReorder: boolean
|
|
33236
|
+
/**
|
|
33237
|
+
* Identifies an object as an instance of [ResourceColumnReorder](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/ResourceColumnReorder) class, or subclass thereof.
|
|
33238
|
+
*/
|
|
33239
|
+
readonly isResourceColumnReorder: boolean
|
|
33240
|
+
/**
|
|
33241
|
+
* Fires before an object is destroyed.
|
|
33242
|
+
* @param {object} event Event object
|
|
33243
|
+
* @param {Core.Base} event.source The Object that is being destroyed.
|
|
33244
|
+
*/
|
|
33245
|
+
onBeforeDestroy: ((event: { source: Base }) => void)|string
|
|
33246
|
+
/**
|
|
33247
|
+
* Fires when any other event is fired from the object.
|
|
33248
|
+
* ...
|
|
33249
|
+
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/ResourceColumnReorder#event-catchAll)
|
|
33250
|
+
* @param {object} event Event object
|
|
33251
|
+
* @param {{[key: string]: any, type: string}} event.event The Object that contains event details
|
|
33252
|
+
* @param {string} event.event.type The type of the event which is caught by the listener
|
|
33253
|
+
*/
|
|
33254
|
+
onCatchAll: ((event: {[key: string]: any, type: string}) => void)|string
|
|
33255
|
+
/**
|
|
33256
|
+
* Fires when an object is destroyed.
|
|
33257
|
+
* @param {object} event Event object
|
|
33258
|
+
* @param {Core.Base} event.source The Object that is being destroyed.
|
|
33259
|
+
*/
|
|
33260
|
+
onDestroy: ((event: { source: Base }) => void)|string
|
|
33261
|
+
/**
|
|
33262
|
+
* Creates an instance of the class using the supplied configuration
|
|
33263
|
+
* @param {ResourceColumnReorderConfig} config
|
|
33264
|
+
*/
|
|
33265
|
+
constructor(config?: ResourceColumnReorderConfig);
|
|
33266
|
+
}
|
|
33267
|
+
|
|
32504
33268
|
/**
|
|
32505
33269
|
* Type with available listeners functions for [ResourceMenu](https://bryntum.com/products/grid/docs/api/Scheduler/feature/ResourceMenu) class.
|
|
32506
33270
|
* Could be used for callbacks typings in TypeScript application.
|
|
@@ -35074,10 +35838,10 @@ export class SimpleEventEdit extends InstancePlugin {
|
|
|
35074
35838
|
/**
|
|
35075
35839
|
* Opens an Editor for the passed event. This function is exposed on Scheduler and can be called as
|
|
35076
35840
|
* `scheduler.editEvent()`.
|
|
35077
|
-
* @param {Scheduler.model.EventModel} eventRecord
|
|
35841
|
+
* @param {Scheduler.model.EventModel,string,number} eventRecord Event to edit or the id of the eventRecord. When a String or Number is passed, it must be the id of an event that exists in the Scheduler's event store.
|
|
35078
35842
|
* @param {Scheduler.model.ResourceModel} resourceRecord The Resource record for the event.
|
|
35079
35843
|
*/
|
|
35080
|
-
editEvent(eventRecord: EventModel, resourceRecord?: ResourceModel): Promise<void>;
|
|
35844
|
+
editEvent(eventRecord: EventModel|string|number, resourceRecord?: ResourceModel): Promise<void>;
|
|
35081
35845
|
}
|
|
35082
35846
|
|
|
35083
35847
|
/**
|
|
@@ -38741,6 +39505,10 @@ type TooltipBaseConfig = {
|
|
|
38741
39505
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/base/TooltipBase#config-bodyCls)
|
|
38742
39506
|
*/
|
|
38743
39507
|
bodyCls?: string|object
|
|
39508
|
+
/**
|
|
39509
|
+
* Set `true` to add a border to this container's element.
|
|
39510
|
+
*/
|
|
39511
|
+
border?: boolean
|
|
38744
39512
|
/**
|
|
38745
39513
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
38746
39514
|
* hierarchy when triggered.
|
|
@@ -38813,7 +39581,7 @@ type TooltipBaseConfig = {
|
|
|
38813
39581
|
* ...
|
|
38814
39582
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/base/TooltipBase#config-color)
|
|
38815
39583
|
*/
|
|
38816
|
-
color?:
|
|
39584
|
+
color?: Color
|
|
38817
39585
|
/**
|
|
38818
39586
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
38819
39587
|
*/
|
|
@@ -42975,6 +43743,10 @@ export class DependencyBaseModel extends Model {
|
|
|
42975
43743
|
* Dependency type, see static property [Type](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/DependencyBaseModel#property-Type-static)
|
|
42976
43744
|
*/
|
|
42977
43745
|
type: number
|
|
43746
|
+
/**
|
|
43747
|
+
* Returns the default dependency type value from the model's field definition.
|
|
43748
|
+
*/
|
|
43749
|
+
static getDefaultType(): number;
|
|
42978
43750
|
/**
|
|
42979
43751
|
* Returns dependency hard type, see [hardType](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/DependencyBaseModel#property-hardType).
|
|
42980
43752
|
*/
|
|
@@ -43894,6 +44666,12 @@ type ProjectModelConfig = {
|
|
|
43894
44666
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel)
|
|
43895
44667
|
*/
|
|
43896
44668
|
export class ProjectModel extends Model {
|
|
44669
|
+
/**
|
|
44670
|
+
* Class name getter.
|
|
44671
|
+
* Used when original ES6 class name is minified or mangled during production build.
|
|
44672
|
+
* Should be overridden in each class which extends Model or it descendants.
|
|
44673
|
+
*/
|
|
44674
|
+
static $name: string
|
|
43897
44675
|
/**
|
|
43898
44676
|
* An array containing all the *defined* fields for this Model class. This will include all superclass's
|
|
43899
44677
|
* defined fields.
|
|
@@ -44003,6 +44781,11 @@ export class ProjectModel extends Model {
|
|
|
44003
44781
|
* tasks.
|
|
44004
44782
|
*/
|
|
44005
44783
|
readonly children: boolean|object[]|Model[]
|
|
44784
|
+
/**
|
|
44785
|
+
* Returns the string value for display purposes of an instance of this Model class. Needs to be overridden in
|
|
44786
|
+
* subclasses.
|
|
44787
|
+
*/
|
|
44788
|
+
readonly classDisplayName: string
|
|
44006
44789
|
/**
|
|
44007
44790
|
* Returns a *copy* of the full configuration which was used to configure this object.
|
|
44008
44791
|
*/
|
|
@@ -45141,7 +45924,7 @@ export class ResourceModel extends GridRowModel {
|
|
|
45141
45924
|
*/
|
|
45142
45925
|
resourceMargin: number|ResourceMarginConfig
|
|
45143
45926
|
/**
|
|
45144
|
-
*
|
|
45927
|
+
* The base height of this resource, in px. When unset, Schedulers configured rowHeight is used.
|
|
45145
45928
|
*/
|
|
45146
45929
|
rowHeight: number
|
|
45147
45930
|
/**
|
|
@@ -46814,7 +47597,7 @@ type ResourceModelMixinClassConfig = {
|
|
|
46814
47597
|
*/
|
|
46815
47598
|
resourceMargin?: number|ResourceMarginConfig
|
|
46816
47599
|
/**
|
|
46817
|
-
*
|
|
47600
|
+
* The base height of this resource, in px. When unset, Schedulers configured rowHeight is used.
|
|
46818
47601
|
* ...
|
|
46819
47602
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/mixin/ResourceModelMixin#config-rowHeight)
|
|
46820
47603
|
*/
|
|
@@ -46907,7 +47690,7 @@ export class ResourceModelMixinClass {
|
|
|
46907
47690
|
*/
|
|
46908
47691
|
resourceMargin: number|ResourceMarginConfig
|
|
46909
47692
|
/**
|
|
46910
|
-
*
|
|
47693
|
+
* The base height of this resource, in px. When unset, Schedulers configured rowHeight is used.
|
|
46911
47694
|
*/
|
|
46912
47695
|
rowHeight: number
|
|
46913
47696
|
/**
|
|
@@ -50120,6 +50903,10 @@ type EventEditorConfig = {
|
|
|
50120
50903
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/EventEditor#config-bodyCls)
|
|
50121
50904
|
*/
|
|
50122
50905
|
bodyCls?: string|object
|
|
50906
|
+
/**
|
|
50907
|
+
* Set `true` to add a border to this container's element.
|
|
50908
|
+
*/
|
|
50909
|
+
border?: boolean
|
|
50123
50910
|
/**
|
|
50124
50911
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
50125
50912
|
* hierarchy when triggered.
|
|
@@ -50188,7 +50975,7 @@ type EventEditorConfig = {
|
|
|
50188
50975
|
* ...
|
|
50189
50976
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/EventEditor#config-color)
|
|
50190
50977
|
*/
|
|
50191
|
-
color?:
|
|
50978
|
+
color?: Color
|
|
50192
50979
|
/**
|
|
50193
50980
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
50194
50981
|
*/
|
|
@@ -51339,7 +52126,7 @@ type ResourceHeaderConfig = {
|
|
|
51339
52126
|
* ...
|
|
51340
52127
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/ResourceHeader#config-color)
|
|
51341
52128
|
*/
|
|
51342
|
-
color?:
|
|
52129
|
+
color?: Color
|
|
51343
52130
|
/**
|
|
51344
52131
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
51345
52132
|
*/
|
|
@@ -52077,6 +52864,14 @@ type SchedulerListenersTypes = {
|
|
|
52077
52864
|
* @param {any} event.value The value being set
|
|
52078
52865
|
*/
|
|
52079
52866
|
beforeCellRangeEdit: (event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void
|
|
52867
|
+
/**
|
|
52868
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
52869
|
+
* @param {object} event Event object
|
|
52870
|
+
* @param {Grid.view.GridBase} event.source The grid instance
|
|
52871
|
+
* @param {Grid.column.Column} event.column The column
|
|
52872
|
+
* @param {boolean} event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
52873
|
+
*/
|
|
52874
|
+
beforeColumnCollapseToggle: (event: { source: GridBase, column: Column, collapsed: boolean }) => void
|
|
52080
52875
|
/**
|
|
52081
52876
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
52082
52877
|
* @param {object} event Event object
|
|
@@ -52440,18 +53235,18 @@ type SchedulerListenersTypes = {
|
|
|
52440
53235
|
/**
|
|
52441
53236
|
* Fires before a row is rendered.
|
|
52442
53237
|
* @param {object} event Event object
|
|
52443
|
-
* @param {Grid.view.
|
|
52444
|
-
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
52445
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
52446
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
53238
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
53239
|
+
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
53240
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
53241
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
52447
53242
|
*/
|
|
52448
|
-
beforeRenderRow: (event: { source:
|
|
53243
|
+
beforeRenderRow: (event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void
|
|
52449
53244
|
/**
|
|
52450
53245
|
* Grid rows are about to be rendered
|
|
52451
53246
|
* @param {object} event Event object
|
|
52452
|
-
* @param {Grid.view.
|
|
53247
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
52453
53248
|
*/
|
|
52454
|
-
beforeRenderRows: (event: { source:
|
|
53249
|
+
beforeRenderRows: (event: { source: GridBase }) => void
|
|
52455
53250
|
/**
|
|
52456
53251
|
* This event fires before row collapse is started.
|
|
52457
53252
|
* ...
|
|
@@ -52700,6 +53495,14 @@ type SchedulerListenersTypes = {
|
|
|
52700
53495
|
* @param {Core.data.Model} event.record The record which has been collapsed.
|
|
52701
53496
|
*/
|
|
52702
53497
|
collapseNode: (event: { source: Grid, record: Model }) => void
|
|
53498
|
+
/**
|
|
53499
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
53500
|
+
* @param {object} event Event object
|
|
53501
|
+
* @param {Grid.view.GridBase} event.source The Grid instance
|
|
53502
|
+
* @param {Grid.column.Column} event.column The column being toggled
|
|
53503
|
+
* @param {boolean} event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
53504
|
+
*/
|
|
53505
|
+
columnCollapseToggle: (event: { source: GridBase, column: Column, collapsed: boolean }) => void
|
|
52703
53506
|
/**
|
|
52704
53507
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
52705
53508
|
* to indicate whether the drop position is valid or not.
|
|
@@ -52788,14 +53591,14 @@ type SchedulerListenersTypes = {
|
|
|
52788
53591
|
* ...
|
|
52789
53592
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/Scheduler#event-dataChange)
|
|
52790
53593
|
* @param {object} event Event object
|
|
52791
|
-
* @param {Grid.view.
|
|
53594
|
+
* @param {Grid.view.GridBase} event.source Owning grid
|
|
52792
53595
|
* @param {Core.data.Store} event.store The originating store
|
|
52793
53596
|
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
52794
53597
|
* @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
52795
53598
|
* @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
|
|
52796
53599
|
* @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
|
|
52797
53600
|
*/
|
|
52798
|
-
dataChange: (event: { source:
|
|
53601
|
+
dataChange: (event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void
|
|
52799
53602
|
/**
|
|
52800
53603
|
* Fired when the range of dates encapsulated by the UI changes. This will be when
|
|
52801
53604
|
* moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
|
|
@@ -53654,18 +54457,18 @@ type SchedulerListenersTypes = {
|
|
|
53654
54457
|
/**
|
|
53655
54458
|
* Fires after a row is rendered.
|
|
53656
54459
|
* @param {object} event Event object
|
|
53657
|
-
* @param {Grid.view.
|
|
53658
|
-
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
53659
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
53660
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
54460
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
54461
|
+
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
54462
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
54463
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
53661
54464
|
*/
|
|
53662
|
-
renderRow: (event: { source:
|
|
54465
|
+
renderRow: (event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void
|
|
53663
54466
|
/**
|
|
53664
54467
|
* Grid rows have been rendered
|
|
53665
54468
|
* @param {object} event Event object
|
|
53666
|
-
* @param {Grid.view.
|
|
54469
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
53667
54470
|
*/
|
|
53668
|
-
renderRows: (event: { source:
|
|
54471
|
+
renderRows: (event: { source: GridBase }) => void
|
|
53669
54472
|
/**
|
|
53670
54473
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
53671
54474
|
* @param {object} event Event object
|
|
@@ -53676,6 +54479,70 @@ type SchedulerListenersTypes = {
|
|
|
53676
54479
|
* @param {number} event.oldHeight The old height
|
|
53677
54480
|
*/
|
|
53678
54481
|
resize: (event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void
|
|
54482
|
+
/**
|
|
54483
|
+
* Fired before dragging starts, return `false` to prevent the drag operation.
|
|
54484
|
+
* @param {object} event Event object
|
|
54485
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
54486
|
+
* @param {object} event.context
|
|
54487
|
+
* @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
|
|
54488
|
+
* @param {MouseEvent,TouchEvent} event.event
|
|
54489
|
+
*/
|
|
54490
|
+
resourceColumnBeforeDragStart: (event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent|TouchEvent }) => Promise<boolean>|boolean|void
|
|
54491
|
+
/**
|
|
54492
|
+
* Fired before the drop is finalized. You can return `false` or a Promise that resolves to `false`
|
|
54493
|
+
* to cancel the drop operation.
|
|
54494
|
+
* @param {object} event Event object
|
|
54495
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
54496
|
+
* @param {object} event.context
|
|
54497
|
+
* @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
|
|
54498
|
+
* @param {Scheduler.model.ResourceModel} event.context.insertBefore The resource to insert before
|
|
54499
|
+
* @param {Core.data.Model} event.context.targetGroup When the resourceStore is grouped, the group header record of the target group
|
|
54500
|
+
* @param {MouseEvent} event.event
|
|
54501
|
+
*/
|
|
54502
|
+
resourceColumnBeforeDropFinalize: (event: { source: Scheduler, context: { resource: ResourceModel, insertBefore: ResourceModel, targetGroup: Model }, event: MouseEvent }) => Promise<boolean>|boolean|void
|
|
54503
|
+
/**
|
|
54504
|
+
* Fired while the resource column is being dragged. You can signal that the drop position is
|
|
54505
|
+
* valid or invalid by setting `context.valid = false;`
|
|
54506
|
+
* @param {object} event Event object
|
|
54507
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
54508
|
+
* @param {object} event.context
|
|
54509
|
+
* @param {boolean} event.context.valid Set this to `true` or `false` to indicate whether the drop position is valid
|
|
54510
|
+
* @param {Scheduler.model.ResourceModel} event.context.insertBefore The resource to insert before (`null` if inserting at last position)
|
|
54511
|
+
* @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
|
|
54512
|
+
* @param {Core.data.Model} event.context.targetGroup When the resourceStore is grouped, the group header record of the target group
|
|
54513
|
+
* @param {MouseEvent} event.event
|
|
54514
|
+
*/
|
|
54515
|
+
resourceColumnDrag: (event: { source: Scheduler, context: { valid: boolean, insertBefore: ResourceModel, resource: ResourceModel, targetGroup: Model }, event: MouseEvent }) => void
|
|
54516
|
+
/**
|
|
54517
|
+
* Fired when drag is aborted
|
|
54518
|
+
* @param {object} event Event object
|
|
54519
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
54520
|
+
* @param {object} event.context
|
|
54521
|
+
* @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
|
|
54522
|
+
* @param {MouseEvent} event.event
|
|
54523
|
+
*/
|
|
54524
|
+
resourceColumnDragAbort: (event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent }) => void
|
|
54525
|
+
/**
|
|
54526
|
+
* Fired when dragging starts.
|
|
54527
|
+
* @param {object} event Event object
|
|
54528
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
54529
|
+
* @param {object} event.context
|
|
54530
|
+
* @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
|
|
54531
|
+
* @param {MouseEvent,TouchEvent} event.event
|
|
54532
|
+
*/
|
|
54533
|
+
resourceColumnDragStart: (event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent|TouchEvent }) => void
|
|
54534
|
+
/**
|
|
54535
|
+
* Fired after drop
|
|
54536
|
+
* @param {object} event Event object
|
|
54537
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
54538
|
+
* @param {object} event.context
|
|
54539
|
+
* @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
|
|
54540
|
+
* @param {Scheduler.model.ResourceModel} event.context.insertBefore The resource that was inserted before
|
|
54541
|
+
* @param {Core.data.Model} event.context.targetGroup When the resourceStore is grouped, the group header record of the target group. The resource's group field has been updated if moved between groups.
|
|
54542
|
+
* @param {boolean} event.context.valid `true` if the drop was valid, `false` otherwise
|
|
54543
|
+
* @param {MouseEvent} event.event
|
|
54544
|
+
*/
|
|
54545
|
+
resourceColumnDrop: (event: { source: Scheduler, context: { resource: ResourceModel, insertBefore: ResourceModel, targetGroup: Model, valid: boolean }, event: MouseEvent }) => void
|
|
53679
54546
|
/**
|
|
53680
54547
|
* Fired when clicking a resource header cell
|
|
53681
54548
|
* @param {object} event Event object
|
|
@@ -54007,10 +54874,10 @@ type SchedulerListenersTypes = {
|
|
|
54007
54874
|
/**
|
|
54008
54875
|
* Grid has scrolled vertically
|
|
54009
54876
|
* @param {object} event Event object
|
|
54010
|
-
* @param {Grid.view.
|
|
54877
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance.
|
|
54011
54878
|
* @param {number} event.scrollTop The vertical scroll position.
|
|
54012
54879
|
*/
|
|
54013
|
-
scroll: (event: { source:
|
|
54880
|
+
scroll: (event: { source: GridBase, scrollTop: number }) => void
|
|
54014
54881
|
/**
|
|
54015
54882
|
* Fires on owner when the scroll button is clicked, return `false` to prevent default scroll behavior
|
|
54016
54883
|
* @param {object} event Event object
|
|
@@ -54114,17 +54981,17 @@ type SchedulerListenersTypes = {
|
|
|
54114
54981
|
/**
|
|
54115
54982
|
* Fires after a sub grid is collapsed.
|
|
54116
54983
|
* @param {object} event Event object
|
|
54117
|
-
* @param {Grid.view.
|
|
54984
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
54118
54985
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
54119
54986
|
*/
|
|
54120
|
-
subGridCollapse: (event: { source:
|
|
54987
|
+
subGridCollapse: (event: { source: GridBase, subGrid: SubGrid }) => void
|
|
54121
54988
|
/**
|
|
54122
54989
|
* Fires after a sub grid is expanded.
|
|
54123
54990
|
* @param {object} event Event object
|
|
54124
|
-
* @param {Grid.view.
|
|
54991
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
54125
54992
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
54126
54993
|
*/
|
|
54127
|
-
subGridExpand: (event: { source:
|
|
54994
|
+
subGridExpand: (event: { source: GridBase, subGrid: SubGrid }) => void
|
|
54128
54995
|
/**
|
|
54129
54996
|
* Triggered for click on a tick cell. Only triggered if the TreeSummary feature is configured with
|
|
54130
54997
|
* `[enableMouseEvents](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/TreeSummary#config-enableMouseEvents): true`.
|
|
@@ -54534,6 +55401,14 @@ type SchedulerListeners = {
|
|
|
54534
55401
|
* @param {any} event.value The value being set
|
|
54535
55402
|
*/
|
|
54536
55403
|
beforeCellRangeEdit?: ((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string
|
|
55404
|
+
/**
|
|
55405
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
55406
|
+
* @param {object} event Event object
|
|
55407
|
+
* @param {Grid.view.GridBase} event.source The grid instance
|
|
55408
|
+
* @param {Grid.column.Column} event.column The column
|
|
55409
|
+
* @param {boolean} event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
55410
|
+
*/
|
|
55411
|
+
beforeColumnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
54537
55412
|
/**
|
|
54538
55413
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
54539
55414
|
* @param {object} event Event object
|
|
@@ -54897,18 +55772,18 @@ type SchedulerListeners = {
|
|
|
54897
55772
|
/**
|
|
54898
55773
|
* Fires before a row is rendered.
|
|
54899
55774
|
* @param {object} event Event object
|
|
54900
|
-
* @param {Grid.view.
|
|
54901
|
-
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
54902
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
54903
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
55775
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
55776
|
+
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
55777
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
55778
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
54904
55779
|
*/
|
|
54905
|
-
beforeRenderRow?: ((event: { source:
|
|
55780
|
+
beforeRenderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
54906
55781
|
/**
|
|
54907
55782
|
* Grid rows are about to be rendered
|
|
54908
55783
|
* @param {object} event Event object
|
|
54909
|
-
* @param {Grid.view.
|
|
55784
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
54910
55785
|
*/
|
|
54911
|
-
beforeRenderRows?: ((event: { source:
|
|
55786
|
+
beforeRenderRows?: ((event: { source: GridBase }) => void)|string
|
|
54912
55787
|
/**
|
|
54913
55788
|
* This event fires before row collapse is started.
|
|
54914
55789
|
* ...
|
|
@@ -55157,6 +56032,14 @@ type SchedulerListeners = {
|
|
|
55157
56032
|
* @param {Core.data.Model} event.record The record which has been collapsed.
|
|
55158
56033
|
*/
|
|
55159
56034
|
collapseNode?: ((event: { source: Grid, record: Model }) => void)|string
|
|
56035
|
+
/**
|
|
56036
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
56037
|
+
* @param {object} event Event object
|
|
56038
|
+
* @param {Grid.view.GridBase} event.source The Grid instance
|
|
56039
|
+
* @param {Grid.column.Column} event.column The column being toggled
|
|
56040
|
+
* @param {boolean} event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
56041
|
+
*/
|
|
56042
|
+
columnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
55160
56043
|
/**
|
|
55161
56044
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
55162
56045
|
* to indicate whether the drop position is valid or not.
|
|
@@ -55245,14 +56128,14 @@ type SchedulerListeners = {
|
|
|
55245
56128
|
* ...
|
|
55246
56129
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/Scheduler#event-dataChange)
|
|
55247
56130
|
* @param {object} event Event object
|
|
55248
|
-
* @param {Grid.view.
|
|
56131
|
+
* @param {Grid.view.GridBase} event.source Owning grid
|
|
55249
56132
|
* @param {Core.data.Store} event.store The originating store
|
|
55250
56133
|
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
55251
56134
|
* @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
55252
56135
|
* @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
|
|
55253
56136
|
* @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
|
|
55254
56137
|
*/
|
|
55255
|
-
dataChange?: ((event: { source:
|
|
56138
|
+
dataChange?: ((event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string
|
|
55256
56139
|
/**
|
|
55257
56140
|
* Fired when the range of dates encapsulated by the UI changes. This will be when
|
|
55258
56141
|
* moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
|
|
@@ -56111,18 +56994,18 @@ type SchedulerListeners = {
|
|
|
56111
56994
|
/**
|
|
56112
56995
|
* Fires after a row is rendered.
|
|
56113
56996
|
* @param {object} event Event object
|
|
56114
|
-
* @param {Grid.view.
|
|
56115
|
-
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
56116
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
56117
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
56997
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
56998
|
+
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
56999
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
57000
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
56118
57001
|
*/
|
|
56119
|
-
renderRow?: ((event: { source:
|
|
57002
|
+
renderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
56120
57003
|
/**
|
|
56121
57004
|
* Grid rows have been rendered
|
|
56122
57005
|
* @param {object} event Event object
|
|
56123
|
-
* @param {Grid.view.
|
|
57006
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
56124
57007
|
*/
|
|
56125
|
-
renderRows?: ((event: { source:
|
|
57008
|
+
renderRows?: ((event: { source: GridBase }) => void)|string
|
|
56126
57009
|
/**
|
|
56127
57010
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
56128
57011
|
* @param {object} event Event object
|
|
@@ -56133,6 +57016,70 @@ type SchedulerListeners = {
|
|
|
56133
57016
|
* @param {number} event.oldHeight The old height
|
|
56134
57017
|
*/
|
|
56135
57018
|
resize?: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string
|
|
57019
|
+
/**
|
|
57020
|
+
* Fired before dragging starts, return `false` to prevent the drag operation.
|
|
57021
|
+
* @param {object} event Event object
|
|
57022
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
57023
|
+
* @param {object} event.context
|
|
57024
|
+
* @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
|
|
57025
|
+
* @param {MouseEvent,TouchEvent} event.event
|
|
57026
|
+
*/
|
|
57027
|
+
resourceColumnBeforeDragStart?: ((event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent|TouchEvent }) => Promise<boolean>|boolean|void)|string
|
|
57028
|
+
/**
|
|
57029
|
+
* Fired before the drop is finalized. You can return `false` or a Promise that resolves to `false`
|
|
57030
|
+
* to cancel the drop operation.
|
|
57031
|
+
* @param {object} event Event object
|
|
57032
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
57033
|
+
* @param {object} event.context
|
|
57034
|
+
* @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
|
|
57035
|
+
* @param {Scheduler.model.ResourceModel} event.context.insertBefore The resource to insert before
|
|
57036
|
+
* @param {Core.data.Model} event.context.targetGroup When the resourceStore is grouped, the group header record of the target group
|
|
57037
|
+
* @param {MouseEvent} event.event
|
|
57038
|
+
*/
|
|
57039
|
+
resourceColumnBeforeDropFinalize?: ((event: { source: Scheduler, context: { resource: ResourceModel, insertBefore: ResourceModel, targetGroup: Model }, event: MouseEvent }) => Promise<boolean>|boolean|void)|string
|
|
57040
|
+
/**
|
|
57041
|
+
* Fired while the resource column is being dragged. You can signal that the drop position is
|
|
57042
|
+
* valid or invalid by setting `context.valid = false;`
|
|
57043
|
+
* @param {object} event Event object
|
|
57044
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
57045
|
+
* @param {object} event.context
|
|
57046
|
+
* @param {boolean} event.context.valid Set this to `true` or `false` to indicate whether the drop position is valid
|
|
57047
|
+
* @param {Scheduler.model.ResourceModel} event.context.insertBefore The resource to insert before (`null` if inserting at last position)
|
|
57048
|
+
* @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
|
|
57049
|
+
* @param {Core.data.Model} event.context.targetGroup When the resourceStore is grouped, the group header record of the target group
|
|
57050
|
+
* @param {MouseEvent} event.event
|
|
57051
|
+
*/
|
|
57052
|
+
resourceColumnDrag?: ((event: { source: Scheduler, context: { valid: boolean, insertBefore: ResourceModel, resource: ResourceModel, targetGroup: Model }, event: MouseEvent }) => void)|string
|
|
57053
|
+
/**
|
|
57054
|
+
* Fired when drag is aborted
|
|
57055
|
+
* @param {object} event Event object
|
|
57056
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
57057
|
+
* @param {object} event.context
|
|
57058
|
+
* @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
|
|
57059
|
+
* @param {MouseEvent} event.event
|
|
57060
|
+
*/
|
|
57061
|
+
resourceColumnDragAbort?: ((event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent }) => void)|string
|
|
57062
|
+
/**
|
|
57063
|
+
* Fired when dragging starts.
|
|
57064
|
+
* @param {object} event Event object
|
|
57065
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
57066
|
+
* @param {object} event.context
|
|
57067
|
+
* @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
|
|
57068
|
+
* @param {MouseEvent,TouchEvent} event.event
|
|
57069
|
+
*/
|
|
57070
|
+
resourceColumnDragStart?: ((event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent|TouchEvent }) => void)|string
|
|
57071
|
+
/**
|
|
57072
|
+
* Fired after drop
|
|
57073
|
+
* @param {object} event Event object
|
|
57074
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
57075
|
+
* @param {object} event.context
|
|
57076
|
+
* @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
|
|
57077
|
+
* @param {Scheduler.model.ResourceModel} event.context.insertBefore The resource that was inserted before
|
|
57078
|
+
* @param {Core.data.Model} event.context.targetGroup When the resourceStore is grouped, the group header record of the target group. The resource's group field has been updated if moved between groups.
|
|
57079
|
+
* @param {boolean} event.context.valid `true` if the drop was valid, `false` otherwise
|
|
57080
|
+
* @param {MouseEvent} event.event
|
|
57081
|
+
*/
|
|
57082
|
+
resourceColumnDrop?: ((event: { source: Scheduler, context: { resource: ResourceModel, insertBefore: ResourceModel, targetGroup: Model, valid: boolean }, event: MouseEvent }) => void)|string
|
|
56136
57083
|
/**
|
|
56137
57084
|
* Fired when clicking a resource header cell
|
|
56138
57085
|
* @param {object} event Event object
|
|
@@ -56464,10 +57411,10 @@ type SchedulerListeners = {
|
|
|
56464
57411
|
/**
|
|
56465
57412
|
* Grid has scrolled vertically
|
|
56466
57413
|
* @param {object} event Event object
|
|
56467
|
-
* @param {Grid.view.
|
|
57414
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance.
|
|
56468
57415
|
* @param {number} event.scrollTop The vertical scroll position.
|
|
56469
57416
|
*/
|
|
56470
|
-
scroll?: ((event: { source:
|
|
57417
|
+
scroll?: ((event: { source: GridBase, scrollTop: number }) => void)|string
|
|
56471
57418
|
/**
|
|
56472
57419
|
* Fires on owner when the scroll button is clicked, return `false` to prevent default scroll behavior
|
|
56473
57420
|
* @param {object} event Event object
|
|
@@ -56571,17 +57518,17 @@ type SchedulerListeners = {
|
|
|
56571
57518
|
/**
|
|
56572
57519
|
* Fires after a sub grid is collapsed.
|
|
56573
57520
|
* @param {object} event Event object
|
|
56574
|
-
* @param {Grid.view.
|
|
57521
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
56575
57522
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
56576
57523
|
*/
|
|
56577
|
-
subGridCollapse?: ((event: { source:
|
|
57524
|
+
subGridCollapse?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
56578
57525
|
/**
|
|
56579
57526
|
* Fires after a sub grid is expanded.
|
|
56580
57527
|
* @param {object} event Event object
|
|
56581
|
-
* @param {Grid.view.
|
|
57528
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
56582
57529
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
56583
57530
|
*/
|
|
56584
|
-
subGridExpand?: ((event: { source:
|
|
57531
|
+
subGridExpand?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
56585
57532
|
/**
|
|
56586
57533
|
* Triggered for click on a tick cell. Only triggered if the TreeSummary feature is configured with
|
|
56587
57534
|
* `[enableMouseEvents](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/TreeSummary#config-enableMouseEvents): true`.
|
|
@@ -56828,6 +57775,7 @@ type SchedulerListeners = {
|
|
|
56828
57775
|
}
|
|
56829
57776
|
|
|
56830
57777
|
type SchedulerFeaturesType = {
|
|
57778
|
+
ai: AI
|
|
56831
57779
|
aiFilter: AIFilter
|
|
56832
57780
|
cellCopyPaste: CellCopyPaste
|
|
56833
57781
|
cellEdit: CellEdit
|
|
@@ -56873,6 +57821,7 @@ type SchedulerFeaturesType = {
|
|
|
56873
57821
|
print: Print
|
|
56874
57822
|
quickFind: QuickFind
|
|
56875
57823
|
regionResize: RegionResize
|
|
57824
|
+
resourceColumnReorder: ResourceColumnReorder
|
|
56876
57825
|
resourceMenu: ResourceMenu
|
|
56877
57826
|
resourceTimeRanges: ResourceTimeRanges
|
|
56878
57827
|
rowCopyPaste: RowCopyPaste
|
|
@@ -56901,6 +57850,7 @@ type SchedulerFeaturesType = {
|
|
|
56901
57850
|
}
|
|
56902
57851
|
|
|
56903
57852
|
type SchedulerFeaturesConfigType = {
|
|
57853
|
+
ai?: string|boolean|AIConfig
|
|
56904
57854
|
aiFilter?: string|boolean|AIFilterConfig
|
|
56905
57855
|
cellCopyPaste?: string|boolean|CellCopyPasteConfig
|
|
56906
57856
|
cellEdit?: string|boolean|CellEditConfig
|
|
@@ -56946,6 +57896,7 @@ type SchedulerFeaturesConfigType = {
|
|
|
56946
57896
|
print?: string|boolean|PrintConfig
|
|
56947
57897
|
quickFind?: string|boolean|QuickFindConfig
|
|
56948
57898
|
regionResize?: string|boolean|RegionResizeConfig
|
|
57899
|
+
resourceColumnReorder?: string|boolean|ResourceColumnReorderConfig
|
|
56949
57900
|
resourceMenu?: string|boolean|ResourceMenuConfig
|
|
56950
57901
|
resourceTimeRanges?: string|boolean|ResourceTimeRangesConfig
|
|
56951
57902
|
rowCopyPaste?: string|boolean|RowCopyPasteConfig
|
|
@@ -57102,6 +58053,10 @@ type SchedulerConfig = {
|
|
|
57102
58053
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/Scheduler#config-bodyCls)
|
|
57103
58054
|
*/
|
|
57104
58055
|
bodyCls?: string|object
|
|
58056
|
+
/**
|
|
58057
|
+
* Set `true` to add a border to this container's element.
|
|
58058
|
+
*/
|
|
58059
|
+
border?: boolean
|
|
57105
58060
|
/**
|
|
57106
58061
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
57107
58062
|
* hierarchy when triggered.
|
|
@@ -57167,7 +58122,7 @@ type SchedulerConfig = {
|
|
|
57167
58122
|
* ...
|
|
57168
58123
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/Scheduler#config-color)
|
|
57169
58124
|
*/
|
|
57170
|
-
color?:
|
|
58125
|
+
color?: Color
|
|
57171
58126
|
/**
|
|
57172
58127
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
57173
58128
|
*/
|
|
@@ -57668,6 +58623,10 @@ type SchedulerConfig = {
|
|
|
57668
58623
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/Scheduler#config-infiniteScroll)
|
|
57669
58624
|
*/
|
|
57670
58625
|
infiniteScroll?: boolean
|
|
58626
|
+
/**
|
|
58627
|
+
* Set to true for child nodes in a tree store to inherit their parent´s `eventColor`
|
|
58628
|
+
*/
|
|
58629
|
+
inheritEventColor?: boolean
|
|
57671
58630
|
/**
|
|
57672
58631
|
* Maximum duration (in milliseconds) for the initial animation controlled by [useInitialAnimation](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/mixin/SchedulerEventRendering#config-useInitialAnimation).
|
|
57673
58632
|
*/
|
|
@@ -57913,7 +58872,7 @@ type SchedulerConfig = {
|
|
|
57913
58872
|
* ...
|
|
57914
58873
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/Scheduler#config-partner)
|
|
57915
58874
|
*/
|
|
57916
|
-
partner?: TimelineBase
|
|
58875
|
+
partner?: TimelineBase|string
|
|
57917
58876
|
/**
|
|
57918
58877
|
* Set to `true` to include `startDate` and `endDate` params indicating the currently viewed date range in
|
|
57919
58878
|
* `EventStore` load requests (when loading using `AjaxStore` or `CrudManager` functionality).
|
|
@@ -58704,6 +59663,14 @@ type SchedulerConfig = {
|
|
|
58704
59663
|
* @param {any} event.value The value being set
|
|
58705
59664
|
*/
|
|
58706
59665
|
onBeforeCellRangeEdit?: ((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string
|
|
59666
|
+
/**
|
|
59667
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
59668
|
+
* @param {object} event Event object
|
|
59669
|
+
* @param {Grid.view.GridBase} event.source The grid instance
|
|
59670
|
+
* @param {Grid.column.Column} event.column The column
|
|
59671
|
+
* @param {boolean} event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
59672
|
+
*/
|
|
59673
|
+
onBeforeColumnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
58707
59674
|
/**
|
|
58708
59675
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
58709
59676
|
* @param {object} event Event object
|
|
@@ -59067,18 +60034,18 @@ type SchedulerConfig = {
|
|
|
59067
60034
|
/**
|
|
59068
60035
|
* Fires before a row is rendered.
|
|
59069
60036
|
* @param {object} event Event object
|
|
59070
|
-
* @param {Grid.view.
|
|
59071
|
-
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
59072
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
59073
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
60037
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
60038
|
+
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
60039
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
60040
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
59074
60041
|
*/
|
|
59075
|
-
onBeforeRenderRow?: ((event: { source:
|
|
60042
|
+
onBeforeRenderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
59076
60043
|
/**
|
|
59077
60044
|
* Grid rows are about to be rendered
|
|
59078
60045
|
* @param {object} event Event object
|
|
59079
|
-
* @param {Grid.view.
|
|
60046
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
59080
60047
|
*/
|
|
59081
|
-
onBeforeRenderRows?: ((event: { source:
|
|
60048
|
+
onBeforeRenderRows?: ((event: { source: GridBase }) => void)|string
|
|
59082
60049
|
/**
|
|
59083
60050
|
* This event fires before row collapse is started.
|
|
59084
60051
|
* ...
|
|
@@ -59327,6 +60294,14 @@ type SchedulerConfig = {
|
|
|
59327
60294
|
* @param {Core.data.Model} event.record The record which has been collapsed.
|
|
59328
60295
|
*/
|
|
59329
60296
|
onCollapseNode?: ((event: { source: Grid, record: Model }) => void)|string
|
|
60297
|
+
/**
|
|
60298
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
60299
|
+
* @param {object} event Event object
|
|
60300
|
+
* @param {Grid.view.GridBase} event.source The Grid instance
|
|
60301
|
+
* @param {Grid.column.Column} event.column The column being toggled
|
|
60302
|
+
* @param {boolean} event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
60303
|
+
*/
|
|
60304
|
+
onColumnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
59330
60305
|
/**
|
|
59331
60306
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
59332
60307
|
* to indicate whether the drop position is valid or not.
|
|
@@ -59415,14 +60390,14 @@ type SchedulerConfig = {
|
|
|
59415
60390
|
* ...
|
|
59416
60391
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/Scheduler#event-dataChange)
|
|
59417
60392
|
* @param {object} event Event object
|
|
59418
|
-
* @param {Grid.view.
|
|
60393
|
+
* @param {Grid.view.GridBase} event.source Owning grid
|
|
59419
60394
|
* @param {Core.data.Store} event.store The originating store
|
|
59420
60395
|
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
59421
60396
|
* @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
59422
60397
|
* @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
|
|
59423
60398
|
* @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
|
|
59424
60399
|
*/
|
|
59425
|
-
onDataChange?: ((event: { source:
|
|
60400
|
+
onDataChange?: ((event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string
|
|
59426
60401
|
/**
|
|
59427
60402
|
* Fired when the range of dates encapsulated by the UI changes. This will be when
|
|
59428
60403
|
* moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
|
|
@@ -60281,18 +61256,18 @@ type SchedulerConfig = {
|
|
|
60281
61256
|
/**
|
|
60282
61257
|
* Fires after a row is rendered.
|
|
60283
61258
|
* @param {object} event Event object
|
|
60284
|
-
* @param {Grid.view.
|
|
60285
|
-
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
60286
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
60287
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
61259
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
61260
|
+
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
61261
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
61262
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
60288
61263
|
*/
|
|
60289
|
-
onRenderRow?: ((event: { source:
|
|
61264
|
+
onRenderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
60290
61265
|
/**
|
|
60291
61266
|
* Grid rows have been rendered
|
|
60292
61267
|
* @param {object} event Event object
|
|
60293
|
-
* @param {Grid.view.
|
|
61268
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
60294
61269
|
*/
|
|
60295
|
-
onRenderRows?: ((event: { source:
|
|
61270
|
+
onRenderRows?: ((event: { source: GridBase }) => void)|string
|
|
60296
61271
|
/**
|
|
60297
61272
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
60298
61273
|
* @param {object} event Event object
|
|
@@ -60303,6 +61278,70 @@ type SchedulerConfig = {
|
|
|
60303
61278
|
* @param {number} event.oldHeight The old height
|
|
60304
61279
|
*/
|
|
60305
61280
|
onResize?: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string
|
|
61281
|
+
/**
|
|
61282
|
+
* Fired before dragging starts, return `false` to prevent the drag operation.
|
|
61283
|
+
* @param {object} event Event object
|
|
61284
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
61285
|
+
* @param {object} event.context
|
|
61286
|
+
* @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
|
|
61287
|
+
* @param {MouseEvent,TouchEvent} event.event
|
|
61288
|
+
*/
|
|
61289
|
+
onResourceColumnBeforeDragStart?: ((event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent|TouchEvent }) => Promise<boolean>|boolean|void)|string
|
|
61290
|
+
/**
|
|
61291
|
+
* Fired before the drop is finalized. You can return `false` or a Promise that resolves to `false`
|
|
61292
|
+
* to cancel the drop operation.
|
|
61293
|
+
* @param {object} event Event object
|
|
61294
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
61295
|
+
* @param {object} event.context
|
|
61296
|
+
* @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
|
|
61297
|
+
* @param {Scheduler.model.ResourceModel} event.context.insertBefore The resource to insert before
|
|
61298
|
+
* @param {Core.data.Model} event.context.targetGroup When the resourceStore is grouped, the group header record of the target group
|
|
61299
|
+
* @param {MouseEvent} event.event
|
|
61300
|
+
*/
|
|
61301
|
+
onResourceColumnBeforeDropFinalize?: ((event: { source: Scheduler, context: { resource: ResourceModel, insertBefore: ResourceModel, targetGroup: Model }, event: MouseEvent }) => Promise<boolean>|boolean|void)|string
|
|
61302
|
+
/**
|
|
61303
|
+
* Fired while the resource column is being dragged. You can signal that the drop position is
|
|
61304
|
+
* valid or invalid by setting `context.valid = false;`
|
|
61305
|
+
* @param {object} event Event object
|
|
61306
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
61307
|
+
* @param {object} event.context
|
|
61308
|
+
* @param {boolean} event.context.valid Set this to `true` or `false` to indicate whether the drop position is valid
|
|
61309
|
+
* @param {Scheduler.model.ResourceModel} event.context.insertBefore The resource to insert before (`null` if inserting at last position)
|
|
61310
|
+
* @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
|
|
61311
|
+
* @param {Core.data.Model} event.context.targetGroup When the resourceStore is grouped, the group header record of the target group
|
|
61312
|
+
* @param {MouseEvent} event.event
|
|
61313
|
+
*/
|
|
61314
|
+
onResourceColumnDrag?: ((event: { source: Scheduler, context: { valid: boolean, insertBefore: ResourceModel, resource: ResourceModel, targetGroup: Model }, event: MouseEvent }) => void)|string
|
|
61315
|
+
/**
|
|
61316
|
+
* Fired when drag is aborted
|
|
61317
|
+
* @param {object} event Event object
|
|
61318
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
61319
|
+
* @param {object} event.context
|
|
61320
|
+
* @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
|
|
61321
|
+
* @param {MouseEvent} event.event
|
|
61322
|
+
*/
|
|
61323
|
+
onResourceColumnDragAbort?: ((event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent }) => void)|string
|
|
61324
|
+
/**
|
|
61325
|
+
* Fired when dragging starts.
|
|
61326
|
+
* @param {object} event Event object
|
|
61327
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
61328
|
+
* @param {object} event.context
|
|
61329
|
+
* @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
|
|
61330
|
+
* @param {MouseEvent,TouchEvent} event.event
|
|
61331
|
+
*/
|
|
61332
|
+
onResourceColumnDragStart?: ((event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent|TouchEvent }) => void)|string
|
|
61333
|
+
/**
|
|
61334
|
+
* Fired after drop
|
|
61335
|
+
* @param {object} event Event object
|
|
61336
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
61337
|
+
* @param {object} event.context
|
|
61338
|
+
* @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
|
|
61339
|
+
* @param {Scheduler.model.ResourceModel} event.context.insertBefore The resource that was inserted before
|
|
61340
|
+
* @param {Core.data.Model} event.context.targetGroup When the resourceStore is grouped, the group header record of the target group. The resource's group field has been updated if moved between groups.
|
|
61341
|
+
* @param {boolean} event.context.valid `true` if the drop was valid, `false` otherwise
|
|
61342
|
+
* @param {MouseEvent} event.event
|
|
61343
|
+
*/
|
|
61344
|
+
onResourceColumnDrop?: ((event: { source: Scheduler, context: { resource: ResourceModel, insertBefore: ResourceModel, targetGroup: Model, valid: boolean }, event: MouseEvent }) => void)|string
|
|
60306
61345
|
/**
|
|
60307
61346
|
* Fired when clicking a resource header cell
|
|
60308
61347
|
* @param {object} event Event object
|
|
@@ -60634,10 +61673,10 @@ type SchedulerConfig = {
|
|
|
60634
61673
|
/**
|
|
60635
61674
|
* Grid has scrolled vertically
|
|
60636
61675
|
* @param {object} event Event object
|
|
60637
|
-
* @param {Grid.view.
|
|
61676
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance.
|
|
60638
61677
|
* @param {number} event.scrollTop The vertical scroll position.
|
|
60639
61678
|
*/
|
|
60640
|
-
onScroll?: ((event: { source:
|
|
61679
|
+
onScroll?: ((event: { source: GridBase, scrollTop: number }) => void)|string
|
|
60641
61680
|
/**
|
|
60642
61681
|
* Fires on owner when the scroll button is clicked, return `false` to prevent default scroll behavior
|
|
60643
61682
|
* @param {object} event Event object
|
|
@@ -60741,17 +61780,17 @@ type SchedulerConfig = {
|
|
|
60741
61780
|
/**
|
|
60742
61781
|
* Fires after a sub grid is collapsed.
|
|
60743
61782
|
* @param {object} event Event object
|
|
60744
|
-
* @param {Grid.view.
|
|
61783
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
60745
61784
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
60746
61785
|
*/
|
|
60747
|
-
onSubGridCollapse?: ((event: { source:
|
|
61786
|
+
onSubGridCollapse?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
60748
61787
|
/**
|
|
60749
61788
|
* Fires after a sub grid is expanded.
|
|
60750
61789
|
* @param {object} event Event object
|
|
60751
|
-
* @param {Grid.view.
|
|
61790
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
60752
61791
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
60753
61792
|
*/
|
|
60754
|
-
onSubGridExpand?: ((event: { source:
|
|
61793
|
+
onSubGridExpand?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
60755
61794
|
/**
|
|
60756
61795
|
* Triggered for click on a tick cell. Only triggered if the TreeSummary feature is configured with
|
|
60757
61796
|
* `[enableMouseEvents](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/TreeSummary#config-enableMouseEvents): true`.
|
|
@@ -61794,6 +62833,14 @@ type SchedulerBaseListenersTypes = {
|
|
|
61794
62833
|
* @param {any} event.value The value being set
|
|
61795
62834
|
*/
|
|
61796
62835
|
beforeCellRangeEdit: (event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void
|
|
62836
|
+
/**
|
|
62837
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
62838
|
+
* @param {object} event Event object
|
|
62839
|
+
* @param {Grid.view.GridBase} event.source The grid instance
|
|
62840
|
+
* @param {Grid.column.Column} event.column The column
|
|
62841
|
+
* @param {boolean} event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
62842
|
+
*/
|
|
62843
|
+
beforeColumnCollapseToggle: (event: { source: GridBase, column: Column, collapsed: boolean }) => void
|
|
61797
62844
|
/**
|
|
61798
62845
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
61799
62846
|
* @param {object} event Event object
|
|
@@ -62157,18 +63204,18 @@ type SchedulerBaseListenersTypes = {
|
|
|
62157
63204
|
/**
|
|
62158
63205
|
* Fires before a row is rendered.
|
|
62159
63206
|
* @param {object} event Event object
|
|
62160
|
-
* @param {Grid.view.
|
|
62161
|
-
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
62162
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
62163
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
63207
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
63208
|
+
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
63209
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
63210
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
62164
63211
|
*/
|
|
62165
|
-
beforeRenderRow: (event: { source:
|
|
63212
|
+
beforeRenderRow: (event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void
|
|
62166
63213
|
/**
|
|
62167
63214
|
* Grid rows are about to be rendered
|
|
62168
63215
|
* @param {object} event Event object
|
|
62169
|
-
* @param {Grid.view.
|
|
63216
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
62170
63217
|
*/
|
|
62171
|
-
beforeRenderRows: (event: { source:
|
|
63218
|
+
beforeRenderRows: (event: { source: GridBase }) => void
|
|
62172
63219
|
/**
|
|
62173
63220
|
* This event fires before row collapse is started.
|
|
62174
63221
|
* ...
|
|
@@ -62417,6 +63464,14 @@ type SchedulerBaseListenersTypes = {
|
|
|
62417
63464
|
* @param {Core.data.Model} event.record The record which has been collapsed.
|
|
62418
63465
|
*/
|
|
62419
63466
|
collapseNode: (event: { source: Grid, record: Model }) => void
|
|
63467
|
+
/**
|
|
63468
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
63469
|
+
* @param {object} event Event object
|
|
63470
|
+
* @param {Grid.view.GridBase} event.source The Grid instance
|
|
63471
|
+
* @param {Grid.column.Column} event.column The column being toggled
|
|
63472
|
+
* @param {boolean} event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
63473
|
+
*/
|
|
63474
|
+
columnCollapseToggle: (event: { source: GridBase, column: Column, collapsed: boolean }) => void
|
|
62420
63475
|
/**
|
|
62421
63476
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
62422
63477
|
* to indicate whether the drop position is valid or not.
|
|
@@ -62505,14 +63560,14 @@ type SchedulerBaseListenersTypes = {
|
|
|
62505
63560
|
* ...
|
|
62506
63561
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/SchedulerBase#event-dataChange)
|
|
62507
63562
|
* @param {object} event Event object
|
|
62508
|
-
* @param {Grid.view.
|
|
63563
|
+
* @param {Grid.view.GridBase} event.source Owning grid
|
|
62509
63564
|
* @param {Core.data.Store} event.store The originating store
|
|
62510
63565
|
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
62511
63566
|
* @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
62512
63567
|
* @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
|
|
62513
63568
|
* @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
|
|
62514
63569
|
*/
|
|
62515
|
-
dataChange: (event: { source:
|
|
63570
|
+
dataChange: (event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void
|
|
62516
63571
|
/**
|
|
62517
63572
|
* Fired when the range of dates encapsulated by the UI changes. This will be when
|
|
62518
63573
|
* moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
|
|
@@ -63371,18 +64426,18 @@ type SchedulerBaseListenersTypes = {
|
|
|
63371
64426
|
/**
|
|
63372
64427
|
* Fires after a row is rendered.
|
|
63373
64428
|
* @param {object} event Event object
|
|
63374
|
-
* @param {Grid.view.
|
|
63375
|
-
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
63376
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
63377
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
64429
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
64430
|
+
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
64431
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
64432
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
63378
64433
|
*/
|
|
63379
|
-
renderRow: (event: { source:
|
|
64434
|
+
renderRow: (event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void
|
|
63380
64435
|
/**
|
|
63381
64436
|
* Grid rows have been rendered
|
|
63382
64437
|
* @param {object} event Event object
|
|
63383
|
-
* @param {Grid.view.
|
|
64438
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
63384
64439
|
*/
|
|
63385
|
-
renderRows: (event: { source:
|
|
64440
|
+
renderRows: (event: { source: GridBase }) => void
|
|
63386
64441
|
/**
|
|
63387
64442
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
63388
64443
|
* @param {object} event Event object
|
|
@@ -63393,6 +64448,70 @@ type SchedulerBaseListenersTypes = {
|
|
|
63393
64448
|
* @param {number} event.oldHeight The old height
|
|
63394
64449
|
*/
|
|
63395
64450
|
resize: (event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void
|
|
64451
|
+
/**
|
|
64452
|
+
* Fired before dragging starts, return `false` to prevent the drag operation.
|
|
64453
|
+
* @param {object} event Event object
|
|
64454
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
64455
|
+
* @param {object} event.context
|
|
64456
|
+
* @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
|
|
64457
|
+
* @param {MouseEvent,TouchEvent} event.event
|
|
64458
|
+
*/
|
|
64459
|
+
resourceColumnBeforeDragStart: (event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent|TouchEvent }) => Promise<boolean>|boolean|void
|
|
64460
|
+
/**
|
|
64461
|
+
* Fired before the drop is finalized. You can return `false` or a Promise that resolves to `false`
|
|
64462
|
+
* to cancel the drop operation.
|
|
64463
|
+
* @param {object} event Event object
|
|
64464
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
64465
|
+
* @param {object} event.context
|
|
64466
|
+
* @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
|
|
64467
|
+
* @param {Scheduler.model.ResourceModel} event.context.insertBefore The resource to insert before
|
|
64468
|
+
* @param {Core.data.Model} event.context.targetGroup When the resourceStore is grouped, the group header record of the target group
|
|
64469
|
+
* @param {MouseEvent} event.event
|
|
64470
|
+
*/
|
|
64471
|
+
resourceColumnBeforeDropFinalize: (event: { source: Scheduler, context: { resource: ResourceModel, insertBefore: ResourceModel, targetGroup: Model }, event: MouseEvent }) => Promise<boolean>|boolean|void
|
|
64472
|
+
/**
|
|
64473
|
+
* Fired while the resource column is being dragged. You can signal that the drop position is
|
|
64474
|
+
* valid or invalid by setting `context.valid = false;`
|
|
64475
|
+
* @param {object} event Event object
|
|
64476
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
64477
|
+
* @param {object} event.context
|
|
64478
|
+
* @param {boolean} event.context.valid Set this to `true` or `false` to indicate whether the drop position is valid
|
|
64479
|
+
* @param {Scheduler.model.ResourceModel} event.context.insertBefore The resource to insert before (`null` if inserting at last position)
|
|
64480
|
+
* @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
|
|
64481
|
+
* @param {Core.data.Model} event.context.targetGroup When the resourceStore is grouped, the group header record of the target group
|
|
64482
|
+
* @param {MouseEvent} event.event
|
|
64483
|
+
*/
|
|
64484
|
+
resourceColumnDrag: (event: { source: Scheduler, context: { valid: boolean, insertBefore: ResourceModel, resource: ResourceModel, targetGroup: Model }, event: MouseEvent }) => void
|
|
64485
|
+
/**
|
|
64486
|
+
* Fired when drag is aborted
|
|
64487
|
+
* @param {object} event Event object
|
|
64488
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
64489
|
+
* @param {object} event.context
|
|
64490
|
+
* @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
|
|
64491
|
+
* @param {MouseEvent} event.event
|
|
64492
|
+
*/
|
|
64493
|
+
resourceColumnDragAbort: (event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent }) => void
|
|
64494
|
+
/**
|
|
64495
|
+
* Fired when dragging starts.
|
|
64496
|
+
* @param {object} event Event object
|
|
64497
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
64498
|
+
* @param {object} event.context
|
|
64499
|
+
* @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
|
|
64500
|
+
* @param {MouseEvent,TouchEvent} event.event
|
|
64501
|
+
*/
|
|
64502
|
+
resourceColumnDragStart: (event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent|TouchEvent }) => void
|
|
64503
|
+
/**
|
|
64504
|
+
* Fired after drop
|
|
64505
|
+
* @param {object} event Event object
|
|
64506
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
64507
|
+
* @param {object} event.context
|
|
64508
|
+
* @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
|
|
64509
|
+
* @param {Scheduler.model.ResourceModel} event.context.insertBefore The resource that was inserted before
|
|
64510
|
+
* @param {Core.data.Model} event.context.targetGroup When the resourceStore is grouped, the group header record of the target group. The resource's group field has been updated if moved between groups.
|
|
64511
|
+
* @param {boolean} event.context.valid `true` if the drop was valid, `false` otherwise
|
|
64512
|
+
* @param {MouseEvent} event.event
|
|
64513
|
+
*/
|
|
64514
|
+
resourceColumnDrop: (event: { source: Scheduler, context: { resource: ResourceModel, insertBefore: ResourceModel, targetGroup: Model, valid: boolean }, event: MouseEvent }) => void
|
|
63396
64515
|
/**
|
|
63397
64516
|
* Fired when clicking a resource header cell
|
|
63398
64517
|
* @param {object} event Event object
|
|
@@ -63724,10 +64843,10 @@ type SchedulerBaseListenersTypes = {
|
|
|
63724
64843
|
/**
|
|
63725
64844
|
* Grid has scrolled vertically
|
|
63726
64845
|
* @param {object} event Event object
|
|
63727
|
-
* @param {Grid.view.
|
|
64846
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance.
|
|
63728
64847
|
* @param {number} event.scrollTop The vertical scroll position.
|
|
63729
64848
|
*/
|
|
63730
|
-
scroll: (event: { source:
|
|
64849
|
+
scroll: (event: { source: GridBase, scrollTop: number }) => void
|
|
63731
64850
|
/**
|
|
63732
64851
|
* Fires on owner when the scroll button is clicked, return `false` to prevent default scroll behavior
|
|
63733
64852
|
* @param {object} event Event object
|
|
@@ -63831,17 +64950,17 @@ type SchedulerBaseListenersTypes = {
|
|
|
63831
64950
|
/**
|
|
63832
64951
|
* Fires after a sub grid is collapsed.
|
|
63833
64952
|
* @param {object} event Event object
|
|
63834
|
-
* @param {Grid.view.
|
|
64953
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
63835
64954
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
63836
64955
|
*/
|
|
63837
|
-
subGridCollapse: (event: { source:
|
|
64956
|
+
subGridCollapse: (event: { source: GridBase, subGrid: SubGrid }) => void
|
|
63838
64957
|
/**
|
|
63839
64958
|
* Fires after a sub grid is expanded.
|
|
63840
64959
|
* @param {object} event Event object
|
|
63841
|
-
* @param {Grid.view.
|
|
64960
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
63842
64961
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
63843
64962
|
*/
|
|
63844
|
-
subGridExpand: (event: { source:
|
|
64963
|
+
subGridExpand: (event: { source: GridBase, subGrid: SubGrid }) => void
|
|
63845
64964
|
/**
|
|
63846
64965
|
* Triggered for click on a tick cell. Only triggered if the TreeSummary feature is configured with
|
|
63847
64966
|
* `[enableMouseEvents](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/TreeSummary#config-enableMouseEvents): true`.
|
|
@@ -64251,6 +65370,14 @@ type SchedulerBaseListeners = {
|
|
|
64251
65370
|
* @param {any} event.value The value being set
|
|
64252
65371
|
*/
|
|
64253
65372
|
beforeCellRangeEdit?: ((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string
|
|
65373
|
+
/**
|
|
65374
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
65375
|
+
* @param {object} event Event object
|
|
65376
|
+
* @param {Grid.view.GridBase} event.source The grid instance
|
|
65377
|
+
* @param {Grid.column.Column} event.column The column
|
|
65378
|
+
* @param {boolean} event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
65379
|
+
*/
|
|
65380
|
+
beforeColumnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
64254
65381
|
/**
|
|
64255
65382
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
64256
65383
|
* @param {object} event Event object
|
|
@@ -64614,18 +65741,18 @@ type SchedulerBaseListeners = {
|
|
|
64614
65741
|
/**
|
|
64615
65742
|
* Fires before a row is rendered.
|
|
64616
65743
|
* @param {object} event Event object
|
|
64617
|
-
* @param {Grid.view.
|
|
64618
|
-
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
64619
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
64620
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
65744
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
65745
|
+
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
65746
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
65747
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
64621
65748
|
*/
|
|
64622
|
-
beforeRenderRow?: ((event: { source:
|
|
65749
|
+
beforeRenderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
64623
65750
|
/**
|
|
64624
65751
|
* Grid rows are about to be rendered
|
|
64625
65752
|
* @param {object} event Event object
|
|
64626
|
-
* @param {Grid.view.
|
|
65753
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
64627
65754
|
*/
|
|
64628
|
-
beforeRenderRows?: ((event: { source:
|
|
65755
|
+
beforeRenderRows?: ((event: { source: GridBase }) => void)|string
|
|
64629
65756
|
/**
|
|
64630
65757
|
* This event fires before row collapse is started.
|
|
64631
65758
|
* ...
|
|
@@ -64874,6 +66001,14 @@ type SchedulerBaseListeners = {
|
|
|
64874
66001
|
* @param {Core.data.Model} event.record The record which has been collapsed.
|
|
64875
66002
|
*/
|
|
64876
66003
|
collapseNode?: ((event: { source: Grid, record: Model }) => void)|string
|
|
66004
|
+
/**
|
|
66005
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
66006
|
+
* @param {object} event Event object
|
|
66007
|
+
* @param {Grid.view.GridBase} event.source The Grid instance
|
|
66008
|
+
* @param {Grid.column.Column} event.column The column being toggled
|
|
66009
|
+
* @param {boolean} event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
66010
|
+
*/
|
|
66011
|
+
columnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
64877
66012
|
/**
|
|
64878
66013
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
64879
66014
|
* to indicate whether the drop position is valid or not.
|
|
@@ -64962,14 +66097,14 @@ type SchedulerBaseListeners = {
|
|
|
64962
66097
|
* ...
|
|
64963
66098
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/SchedulerBase#event-dataChange)
|
|
64964
66099
|
* @param {object} event Event object
|
|
64965
|
-
* @param {Grid.view.
|
|
66100
|
+
* @param {Grid.view.GridBase} event.source Owning grid
|
|
64966
66101
|
* @param {Core.data.Store} event.store The originating store
|
|
64967
66102
|
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
64968
66103
|
* @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
64969
66104
|
* @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
|
|
64970
66105
|
* @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
|
|
64971
66106
|
*/
|
|
64972
|
-
dataChange?: ((event: { source:
|
|
66107
|
+
dataChange?: ((event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string
|
|
64973
66108
|
/**
|
|
64974
66109
|
* Fired when the range of dates encapsulated by the UI changes. This will be when
|
|
64975
66110
|
* moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
|
|
@@ -65828,18 +66963,18 @@ type SchedulerBaseListeners = {
|
|
|
65828
66963
|
/**
|
|
65829
66964
|
* Fires after a row is rendered.
|
|
65830
66965
|
* @param {object} event Event object
|
|
65831
|
-
* @param {Grid.view.
|
|
65832
|
-
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
65833
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
65834
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
66966
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
66967
|
+
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
66968
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
66969
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
65835
66970
|
*/
|
|
65836
|
-
renderRow?: ((event: { source:
|
|
66971
|
+
renderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
65837
66972
|
/**
|
|
65838
66973
|
* Grid rows have been rendered
|
|
65839
66974
|
* @param {object} event Event object
|
|
65840
|
-
* @param {Grid.view.
|
|
66975
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
65841
66976
|
*/
|
|
65842
|
-
renderRows?: ((event: { source:
|
|
66977
|
+
renderRows?: ((event: { source: GridBase }) => void)|string
|
|
65843
66978
|
/**
|
|
65844
66979
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
65845
66980
|
* @param {object} event Event object
|
|
@@ -65850,6 +66985,70 @@ type SchedulerBaseListeners = {
|
|
|
65850
66985
|
* @param {number} event.oldHeight The old height
|
|
65851
66986
|
*/
|
|
65852
66987
|
resize?: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string
|
|
66988
|
+
/**
|
|
66989
|
+
* Fired before dragging starts, return `false` to prevent the drag operation.
|
|
66990
|
+
* @param {object} event Event object
|
|
66991
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
66992
|
+
* @param {object} event.context
|
|
66993
|
+
* @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
|
|
66994
|
+
* @param {MouseEvent,TouchEvent} event.event
|
|
66995
|
+
*/
|
|
66996
|
+
resourceColumnBeforeDragStart?: ((event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent|TouchEvent }) => Promise<boolean>|boolean|void)|string
|
|
66997
|
+
/**
|
|
66998
|
+
* Fired before the drop is finalized. You can return `false` or a Promise that resolves to `false`
|
|
66999
|
+
* to cancel the drop operation.
|
|
67000
|
+
* @param {object} event Event object
|
|
67001
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
67002
|
+
* @param {object} event.context
|
|
67003
|
+
* @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
|
|
67004
|
+
* @param {Scheduler.model.ResourceModel} event.context.insertBefore The resource to insert before
|
|
67005
|
+
* @param {Core.data.Model} event.context.targetGroup When the resourceStore is grouped, the group header record of the target group
|
|
67006
|
+
* @param {MouseEvent} event.event
|
|
67007
|
+
*/
|
|
67008
|
+
resourceColumnBeforeDropFinalize?: ((event: { source: Scheduler, context: { resource: ResourceModel, insertBefore: ResourceModel, targetGroup: Model }, event: MouseEvent }) => Promise<boolean>|boolean|void)|string
|
|
67009
|
+
/**
|
|
67010
|
+
* Fired while the resource column is being dragged. You can signal that the drop position is
|
|
67011
|
+
* valid or invalid by setting `context.valid = false;`
|
|
67012
|
+
* @param {object} event Event object
|
|
67013
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
67014
|
+
* @param {object} event.context
|
|
67015
|
+
* @param {boolean} event.context.valid Set this to `true` or `false` to indicate whether the drop position is valid
|
|
67016
|
+
* @param {Scheduler.model.ResourceModel} event.context.insertBefore The resource to insert before (`null` if inserting at last position)
|
|
67017
|
+
* @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
|
|
67018
|
+
* @param {Core.data.Model} event.context.targetGroup When the resourceStore is grouped, the group header record of the target group
|
|
67019
|
+
* @param {MouseEvent} event.event
|
|
67020
|
+
*/
|
|
67021
|
+
resourceColumnDrag?: ((event: { source: Scheduler, context: { valid: boolean, insertBefore: ResourceModel, resource: ResourceModel, targetGroup: Model }, event: MouseEvent }) => void)|string
|
|
67022
|
+
/**
|
|
67023
|
+
* Fired when drag is aborted
|
|
67024
|
+
* @param {object} event Event object
|
|
67025
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
67026
|
+
* @param {object} event.context
|
|
67027
|
+
* @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
|
|
67028
|
+
* @param {MouseEvent} event.event
|
|
67029
|
+
*/
|
|
67030
|
+
resourceColumnDragAbort?: ((event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent }) => void)|string
|
|
67031
|
+
/**
|
|
67032
|
+
* Fired when dragging starts.
|
|
67033
|
+
* @param {object} event Event object
|
|
67034
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
67035
|
+
* @param {object} event.context
|
|
67036
|
+
* @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
|
|
67037
|
+
* @param {MouseEvent,TouchEvent} event.event
|
|
67038
|
+
*/
|
|
67039
|
+
resourceColumnDragStart?: ((event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent|TouchEvent }) => void)|string
|
|
67040
|
+
/**
|
|
67041
|
+
* Fired after drop
|
|
67042
|
+
* @param {object} event Event object
|
|
67043
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
67044
|
+
* @param {object} event.context
|
|
67045
|
+
* @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
|
|
67046
|
+
* @param {Scheduler.model.ResourceModel} event.context.insertBefore The resource that was inserted before
|
|
67047
|
+
* @param {Core.data.Model} event.context.targetGroup When the resourceStore is grouped, the group header record of the target group. The resource's group field has been updated if moved between groups.
|
|
67048
|
+
* @param {boolean} event.context.valid `true` if the drop was valid, `false` otherwise
|
|
67049
|
+
* @param {MouseEvent} event.event
|
|
67050
|
+
*/
|
|
67051
|
+
resourceColumnDrop?: ((event: { source: Scheduler, context: { resource: ResourceModel, insertBefore: ResourceModel, targetGroup: Model, valid: boolean }, event: MouseEvent }) => void)|string
|
|
65853
67052
|
/**
|
|
65854
67053
|
* Fired when clicking a resource header cell
|
|
65855
67054
|
* @param {object} event Event object
|
|
@@ -66181,10 +67380,10 @@ type SchedulerBaseListeners = {
|
|
|
66181
67380
|
/**
|
|
66182
67381
|
* Grid has scrolled vertically
|
|
66183
67382
|
* @param {object} event Event object
|
|
66184
|
-
* @param {Grid.view.
|
|
67383
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance.
|
|
66185
67384
|
* @param {number} event.scrollTop The vertical scroll position.
|
|
66186
67385
|
*/
|
|
66187
|
-
scroll?: ((event: { source:
|
|
67386
|
+
scroll?: ((event: { source: GridBase, scrollTop: number }) => void)|string
|
|
66188
67387
|
/**
|
|
66189
67388
|
* Fires on owner when the scroll button is clicked, return `false` to prevent default scroll behavior
|
|
66190
67389
|
* @param {object} event Event object
|
|
@@ -66288,17 +67487,17 @@ type SchedulerBaseListeners = {
|
|
|
66288
67487
|
/**
|
|
66289
67488
|
* Fires after a sub grid is collapsed.
|
|
66290
67489
|
* @param {object} event Event object
|
|
66291
|
-
* @param {Grid.view.
|
|
67490
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
66292
67491
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
66293
67492
|
*/
|
|
66294
|
-
subGridCollapse?: ((event: { source:
|
|
67493
|
+
subGridCollapse?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
66295
67494
|
/**
|
|
66296
67495
|
* Fires after a sub grid is expanded.
|
|
66297
67496
|
* @param {object} event Event object
|
|
66298
|
-
* @param {Grid.view.
|
|
67497
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
66299
67498
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
66300
67499
|
*/
|
|
66301
|
-
subGridExpand?: ((event: { source:
|
|
67500
|
+
subGridExpand?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
66302
67501
|
/**
|
|
66303
67502
|
* Triggered for click on a tick cell. Only triggered if the TreeSummary feature is configured with
|
|
66304
67503
|
* `[enableMouseEvents](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/TreeSummary#config-enableMouseEvents): true`.
|
|
@@ -66545,6 +67744,7 @@ type SchedulerBaseListeners = {
|
|
|
66545
67744
|
}
|
|
66546
67745
|
|
|
66547
67746
|
type SchedulerBaseFeaturesType = {
|
|
67747
|
+
ai: AI
|
|
66548
67748
|
aiFilter: AIFilter
|
|
66549
67749
|
cellCopyPaste: CellCopyPaste
|
|
66550
67750
|
cellEdit: CellEdit
|
|
@@ -66590,6 +67790,7 @@ type SchedulerBaseFeaturesType = {
|
|
|
66590
67790
|
print: Print
|
|
66591
67791
|
quickFind: QuickFind
|
|
66592
67792
|
regionResize: RegionResize
|
|
67793
|
+
resourceColumnReorder: ResourceColumnReorder
|
|
66593
67794
|
resourceMenu: ResourceMenu
|
|
66594
67795
|
resourceTimeRanges: ResourceTimeRanges
|
|
66595
67796
|
rowCopyPaste: RowCopyPaste
|
|
@@ -66618,6 +67819,7 @@ type SchedulerBaseFeaturesType = {
|
|
|
66618
67819
|
}
|
|
66619
67820
|
|
|
66620
67821
|
type SchedulerBaseFeaturesConfigType = {
|
|
67822
|
+
ai?: string|boolean|AIConfig
|
|
66621
67823
|
aiFilter?: string|boolean|AIFilterConfig
|
|
66622
67824
|
cellCopyPaste?: string|boolean|CellCopyPasteConfig
|
|
66623
67825
|
cellEdit?: string|boolean|CellEditConfig
|
|
@@ -66663,6 +67865,7 @@ type SchedulerBaseFeaturesConfigType = {
|
|
|
66663
67865
|
print?: string|boolean|PrintConfig
|
|
66664
67866
|
quickFind?: string|boolean|QuickFindConfig
|
|
66665
67867
|
regionResize?: string|boolean|RegionResizeConfig
|
|
67868
|
+
resourceColumnReorder?: string|boolean|ResourceColumnReorderConfig
|
|
66666
67869
|
resourceMenu?: string|boolean|ResourceMenuConfig
|
|
66667
67870
|
resourceTimeRanges?: string|boolean|ResourceTimeRangesConfig
|
|
66668
67871
|
rowCopyPaste?: string|boolean|RowCopyPasteConfig
|
|
@@ -66818,6 +68021,10 @@ type SchedulerBaseConfig = {
|
|
|
66818
68021
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/SchedulerBase#config-bodyCls)
|
|
66819
68022
|
*/
|
|
66820
68023
|
bodyCls?: string|object
|
|
68024
|
+
/**
|
|
68025
|
+
* Set `true` to add a border to this container's element.
|
|
68026
|
+
*/
|
|
68027
|
+
border?: boolean
|
|
66821
68028
|
/**
|
|
66822
68029
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
66823
68030
|
* hierarchy when triggered.
|
|
@@ -66883,7 +68090,7 @@ type SchedulerBaseConfig = {
|
|
|
66883
68090
|
* ...
|
|
66884
68091
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/SchedulerBase#config-color)
|
|
66885
68092
|
*/
|
|
66886
|
-
color?:
|
|
68093
|
+
color?: Color
|
|
66887
68094
|
/**
|
|
66888
68095
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
66889
68096
|
*/
|
|
@@ -67384,6 +68591,10 @@ type SchedulerBaseConfig = {
|
|
|
67384
68591
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/SchedulerBase#config-infiniteScroll)
|
|
67385
68592
|
*/
|
|
67386
68593
|
infiniteScroll?: boolean
|
|
68594
|
+
/**
|
|
68595
|
+
* Set to true for child nodes in a tree store to inherit their parent´s `eventColor`
|
|
68596
|
+
*/
|
|
68597
|
+
inheritEventColor?: boolean
|
|
67387
68598
|
/**
|
|
67388
68599
|
* Maximum duration (in milliseconds) for the initial animation controlled by [useInitialAnimation](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/mixin/SchedulerEventRendering#config-useInitialAnimation).
|
|
67389
68600
|
*/
|
|
@@ -67629,7 +68840,7 @@ type SchedulerBaseConfig = {
|
|
|
67629
68840
|
* ...
|
|
67630
68841
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/SchedulerBase#config-partner)
|
|
67631
68842
|
*/
|
|
67632
|
-
partner?: TimelineBase
|
|
68843
|
+
partner?: TimelineBase|string
|
|
67633
68844
|
/**
|
|
67634
68845
|
* Set to `true` to include `startDate` and `endDate` params indicating the currently viewed date range in
|
|
67635
68846
|
* `EventStore` load requests (when loading using `AjaxStore` or `CrudManager` functionality).
|
|
@@ -68420,6 +69631,14 @@ type SchedulerBaseConfig = {
|
|
|
68420
69631
|
* @param {any} event.value The value being set
|
|
68421
69632
|
*/
|
|
68422
69633
|
onBeforeCellRangeEdit?: ((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string
|
|
69634
|
+
/**
|
|
69635
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
69636
|
+
* @param {object} event Event object
|
|
69637
|
+
* @param {Grid.view.GridBase} event.source The grid instance
|
|
69638
|
+
* @param {Grid.column.Column} event.column The column
|
|
69639
|
+
* @param {boolean} event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
69640
|
+
*/
|
|
69641
|
+
onBeforeColumnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
68423
69642
|
/**
|
|
68424
69643
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
68425
69644
|
* @param {object} event Event object
|
|
@@ -68783,18 +70002,18 @@ type SchedulerBaseConfig = {
|
|
|
68783
70002
|
/**
|
|
68784
70003
|
* Fires before a row is rendered.
|
|
68785
70004
|
* @param {object} event Event object
|
|
68786
|
-
* @param {Grid.view.
|
|
68787
|
-
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
68788
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
68789
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
70005
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
70006
|
+
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
70007
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
70008
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
68790
70009
|
*/
|
|
68791
|
-
onBeforeRenderRow?: ((event: { source:
|
|
70010
|
+
onBeforeRenderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
68792
70011
|
/**
|
|
68793
70012
|
* Grid rows are about to be rendered
|
|
68794
70013
|
* @param {object} event Event object
|
|
68795
|
-
* @param {Grid.view.
|
|
70014
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
68796
70015
|
*/
|
|
68797
|
-
onBeforeRenderRows?: ((event: { source:
|
|
70016
|
+
onBeforeRenderRows?: ((event: { source: GridBase }) => void)|string
|
|
68798
70017
|
/**
|
|
68799
70018
|
* This event fires before row collapse is started.
|
|
68800
70019
|
* ...
|
|
@@ -69043,6 +70262,14 @@ type SchedulerBaseConfig = {
|
|
|
69043
70262
|
* @param {Core.data.Model} event.record The record which has been collapsed.
|
|
69044
70263
|
*/
|
|
69045
70264
|
onCollapseNode?: ((event: { source: Grid, record: Model }) => void)|string
|
|
70265
|
+
/**
|
|
70266
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
70267
|
+
* @param {object} event Event object
|
|
70268
|
+
* @param {Grid.view.GridBase} event.source The Grid instance
|
|
70269
|
+
* @param {Grid.column.Column} event.column The column being toggled
|
|
70270
|
+
* @param {boolean} event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
70271
|
+
*/
|
|
70272
|
+
onColumnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
69046
70273
|
/**
|
|
69047
70274
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
69048
70275
|
* to indicate whether the drop position is valid or not.
|
|
@@ -69131,14 +70358,14 @@ type SchedulerBaseConfig = {
|
|
|
69131
70358
|
* ...
|
|
69132
70359
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/SchedulerBase#event-dataChange)
|
|
69133
70360
|
* @param {object} event Event object
|
|
69134
|
-
* @param {Grid.view.
|
|
70361
|
+
* @param {Grid.view.GridBase} event.source Owning grid
|
|
69135
70362
|
* @param {Core.data.Store} event.store The originating store
|
|
69136
70363
|
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
69137
70364
|
* @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
69138
70365
|
* @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
|
|
69139
70366
|
* @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
|
|
69140
70367
|
*/
|
|
69141
|
-
onDataChange?: ((event: { source:
|
|
70368
|
+
onDataChange?: ((event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string
|
|
69142
70369
|
/**
|
|
69143
70370
|
* Fired when the range of dates encapsulated by the UI changes. This will be when
|
|
69144
70371
|
* moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
|
|
@@ -69997,18 +71224,18 @@ type SchedulerBaseConfig = {
|
|
|
69997
71224
|
/**
|
|
69998
71225
|
* Fires after a row is rendered.
|
|
69999
71226
|
* @param {object} event Event object
|
|
70000
|
-
* @param {Grid.view.
|
|
70001
|
-
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
70002
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
70003
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
71227
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
71228
|
+
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
71229
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
71230
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
70004
71231
|
*/
|
|
70005
|
-
onRenderRow?: ((event: { source:
|
|
71232
|
+
onRenderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
70006
71233
|
/**
|
|
70007
71234
|
* Grid rows have been rendered
|
|
70008
71235
|
* @param {object} event Event object
|
|
70009
|
-
* @param {Grid.view.
|
|
71236
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
70010
71237
|
*/
|
|
70011
|
-
onRenderRows?: ((event: { source:
|
|
71238
|
+
onRenderRows?: ((event: { source: GridBase }) => void)|string
|
|
70012
71239
|
/**
|
|
70013
71240
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
70014
71241
|
* @param {object} event Event object
|
|
@@ -70019,6 +71246,70 @@ type SchedulerBaseConfig = {
|
|
|
70019
71246
|
* @param {number} event.oldHeight The old height
|
|
70020
71247
|
*/
|
|
70021
71248
|
onResize?: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string
|
|
71249
|
+
/**
|
|
71250
|
+
* Fired before dragging starts, return `false` to prevent the drag operation.
|
|
71251
|
+
* @param {object} event Event object
|
|
71252
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
71253
|
+
* @param {object} event.context
|
|
71254
|
+
* @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
|
|
71255
|
+
* @param {MouseEvent,TouchEvent} event.event
|
|
71256
|
+
*/
|
|
71257
|
+
onResourceColumnBeforeDragStart?: ((event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent|TouchEvent }) => Promise<boolean>|boolean|void)|string
|
|
71258
|
+
/**
|
|
71259
|
+
* Fired before the drop is finalized. You can return `false` or a Promise that resolves to `false`
|
|
71260
|
+
* to cancel the drop operation.
|
|
71261
|
+
* @param {object} event Event object
|
|
71262
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
71263
|
+
* @param {object} event.context
|
|
71264
|
+
* @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
|
|
71265
|
+
* @param {Scheduler.model.ResourceModel} event.context.insertBefore The resource to insert before
|
|
71266
|
+
* @param {Core.data.Model} event.context.targetGroup When the resourceStore is grouped, the group header record of the target group
|
|
71267
|
+
* @param {MouseEvent} event.event
|
|
71268
|
+
*/
|
|
71269
|
+
onResourceColumnBeforeDropFinalize?: ((event: { source: Scheduler, context: { resource: ResourceModel, insertBefore: ResourceModel, targetGroup: Model }, event: MouseEvent }) => Promise<boolean>|boolean|void)|string
|
|
71270
|
+
/**
|
|
71271
|
+
* Fired while the resource column is being dragged. You can signal that the drop position is
|
|
71272
|
+
* valid or invalid by setting `context.valid = false;`
|
|
71273
|
+
* @param {object} event Event object
|
|
71274
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
71275
|
+
* @param {object} event.context
|
|
71276
|
+
* @param {boolean} event.context.valid Set this to `true` or `false` to indicate whether the drop position is valid
|
|
71277
|
+
* @param {Scheduler.model.ResourceModel} event.context.insertBefore The resource to insert before (`null` if inserting at last position)
|
|
71278
|
+
* @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
|
|
71279
|
+
* @param {Core.data.Model} event.context.targetGroup When the resourceStore is grouped, the group header record of the target group
|
|
71280
|
+
* @param {MouseEvent} event.event
|
|
71281
|
+
*/
|
|
71282
|
+
onResourceColumnDrag?: ((event: { source: Scheduler, context: { valid: boolean, insertBefore: ResourceModel, resource: ResourceModel, targetGroup: Model }, event: MouseEvent }) => void)|string
|
|
71283
|
+
/**
|
|
71284
|
+
* Fired when drag is aborted
|
|
71285
|
+
* @param {object} event Event object
|
|
71286
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
71287
|
+
* @param {object} event.context
|
|
71288
|
+
* @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
|
|
71289
|
+
* @param {MouseEvent} event.event
|
|
71290
|
+
*/
|
|
71291
|
+
onResourceColumnDragAbort?: ((event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent }) => void)|string
|
|
71292
|
+
/**
|
|
71293
|
+
* Fired when dragging starts.
|
|
71294
|
+
* @param {object} event Event object
|
|
71295
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
71296
|
+
* @param {object} event.context
|
|
71297
|
+
* @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
|
|
71298
|
+
* @param {MouseEvent,TouchEvent} event.event
|
|
71299
|
+
*/
|
|
71300
|
+
onResourceColumnDragStart?: ((event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent|TouchEvent }) => void)|string
|
|
71301
|
+
/**
|
|
71302
|
+
* Fired after drop
|
|
71303
|
+
* @param {object} event Event object
|
|
71304
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
71305
|
+
* @param {object} event.context
|
|
71306
|
+
* @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
|
|
71307
|
+
* @param {Scheduler.model.ResourceModel} event.context.insertBefore The resource that was inserted before
|
|
71308
|
+
* @param {Core.data.Model} event.context.targetGroup When the resourceStore is grouped, the group header record of the target group. The resource's group field has been updated if moved between groups.
|
|
71309
|
+
* @param {boolean} event.context.valid `true` if the drop was valid, `false` otherwise
|
|
71310
|
+
* @param {MouseEvent} event.event
|
|
71311
|
+
*/
|
|
71312
|
+
onResourceColumnDrop?: ((event: { source: Scheduler, context: { resource: ResourceModel, insertBefore: ResourceModel, targetGroup: Model, valid: boolean }, event: MouseEvent }) => void)|string
|
|
70022
71313
|
/**
|
|
70023
71314
|
* Fired when clicking a resource header cell
|
|
70024
71315
|
* @param {object} event Event object
|
|
@@ -70350,10 +71641,10 @@ type SchedulerBaseConfig = {
|
|
|
70350
71641
|
/**
|
|
70351
71642
|
* Grid has scrolled vertically
|
|
70352
71643
|
* @param {object} event Event object
|
|
70353
|
-
* @param {Grid.view.
|
|
71644
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance.
|
|
70354
71645
|
* @param {number} event.scrollTop The vertical scroll position.
|
|
70355
71646
|
*/
|
|
70356
|
-
onScroll?: ((event: { source:
|
|
71647
|
+
onScroll?: ((event: { source: GridBase, scrollTop: number }) => void)|string
|
|
70357
71648
|
/**
|
|
70358
71649
|
* Fires on owner when the scroll button is clicked, return `false` to prevent default scroll behavior
|
|
70359
71650
|
* @param {object} event Event object
|
|
@@ -70457,17 +71748,17 @@ type SchedulerBaseConfig = {
|
|
|
70457
71748
|
/**
|
|
70458
71749
|
* Fires after a sub grid is collapsed.
|
|
70459
71750
|
* @param {object} event Event object
|
|
70460
|
-
* @param {Grid.view.
|
|
71751
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
70461
71752
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
70462
71753
|
*/
|
|
70463
|
-
onSubGridCollapse?: ((event: { source:
|
|
71754
|
+
onSubGridCollapse?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
70464
71755
|
/**
|
|
70465
71756
|
* Fires after a sub grid is expanded.
|
|
70466
71757
|
* @param {object} event Event object
|
|
70467
|
-
* @param {Grid.view.
|
|
71758
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
70468
71759
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
70469
71760
|
*/
|
|
70470
|
-
onSubGridExpand?: ((event: { source:
|
|
71761
|
+
onSubGridExpand?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
70471
71762
|
/**
|
|
70472
71763
|
* Triggered for click on a tick cell. Only triggered if the TreeSummary feature is configured with
|
|
70473
71764
|
* `[enableMouseEvents](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/TreeSummary#config-enableMouseEvents): true`.
|
|
@@ -70985,6 +72276,10 @@ export class SchedulerBase extends TimelineBase {
|
|
|
70985
72276
|
* when the scroller comes close to the start/end edges.
|
|
70986
72277
|
*/
|
|
70987
72278
|
infiniteScroll: boolean
|
|
72279
|
+
/**
|
|
72280
|
+
* Set to true for child nodes in a tree store to inherit their parent´s `eventColor`
|
|
72281
|
+
*/
|
|
72282
|
+
inheritEventColor: boolean
|
|
70988
72283
|
/**
|
|
70989
72284
|
* Maximum duration (in milliseconds) for the initial animation controlled by [useInitialAnimation](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/mixin/SchedulerEventRendering#config-useInitialAnimation).
|
|
70990
72285
|
*/
|
|
@@ -72412,6 +73707,70 @@ export class SchedulerBase extends TimelineBase {
|
|
|
72412
73707
|
* @param {HTMLElement} event.element The event bar element
|
|
72413
73708
|
*/
|
|
72414
73709
|
onRenderEvent: ((event: { source: Scheduler, eventRecord: EventModel, resourceRecord: ResourceModel, assignmentRecord: AssignmentModel, renderData: object, isRepaint: boolean, isReusingElement: boolean, element: HTMLElement }) => void)|string
|
|
73710
|
+
/**
|
|
73711
|
+
* Fired before dragging starts, return `false` to prevent the drag operation.
|
|
73712
|
+
* @param {object} event Event object
|
|
73713
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
73714
|
+
* @param {object} event.context
|
|
73715
|
+
* @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
|
|
73716
|
+
* @param {MouseEvent,TouchEvent} event.event
|
|
73717
|
+
*/
|
|
73718
|
+
onResourceColumnBeforeDragStart: ((event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent|TouchEvent }) => Promise<boolean>|boolean|void)|string
|
|
73719
|
+
/**
|
|
73720
|
+
* Fired before the drop is finalized. You can return `false` or a Promise that resolves to `false`
|
|
73721
|
+
* to cancel the drop operation.
|
|
73722
|
+
* @param {object} event Event object
|
|
73723
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
73724
|
+
* @param {object} event.context
|
|
73725
|
+
* @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
|
|
73726
|
+
* @param {Scheduler.model.ResourceModel} event.context.insertBefore The resource to insert before
|
|
73727
|
+
* @param {Core.data.Model} event.context.targetGroup When the resourceStore is grouped, the group header record of the target group
|
|
73728
|
+
* @param {MouseEvent} event.event
|
|
73729
|
+
*/
|
|
73730
|
+
onResourceColumnBeforeDropFinalize: ((event: { source: Scheduler, context: { resource: ResourceModel, insertBefore: ResourceModel, targetGroup: Model }, event: MouseEvent }) => Promise<boolean>|boolean|void)|string
|
|
73731
|
+
/**
|
|
73732
|
+
* Fired while the resource column is being dragged. You can signal that the drop position is
|
|
73733
|
+
* valid or invalid by setting `context.valid = false;`
|
|
73734
|
+
* @param {object} event Event object
|
|
73735
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
73736
|
+
* @param {object} event.context
|
|
73737
|
+
* @param {boolean} event.context.valid Set this to `true` or `false` to indicate whether the drop position is valid
|
|
73738
|
+
* @param {Scheduler.model.ResourceModel} event.context.insertBefore The resource to insert before (`null` if inserting at last position)
|
|
73739
|
+
* @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
|
|
73740
|
+
* @param {Core.data.Model} event.context.targetGroup When the resourceStore is grouped, the group header record of the target group
|
|
73741
|
+
* @param {MouseEvent} event.event
|
|
73742
|
+
*/
|
|
73743
|
+
onResourceColumnDrag: ((event: { source: Scheduler, context: { valid: boolean, insertBefore: ResourceModel, resource: ResourceModel, targetGroup: Model }, event: MouseEvent }) => void)|string
|
|
73744
|
+
/**
|
|
73745
|
+
* Fired when drag is aborted
|
|
73746
|
+
* @param {object} event Event object
|
|
73747
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
73748
|
+
* @param {object} event.context
|
|
73749
|
+
* @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
|
|
73750
|
+
* @param {MouseEvent} event.event
|
|
73751
|
+
*/
|
|
73752
|
+
onResourceColumnDragAbort: ((event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent }) => void)|string
|
|
73753
|
+
/**
|
|
73754
|
+
* Fired when dragging starts.
|
|
73755
|
+
* @param {object} event Event object
|
|
73756
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
73757
|
+
* @param {object} event.context
|
|
73758
|
+
* @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
|
|
73759
|
+
* @param {MouseEvent,TouchEvent} event.event
|
|
73760
|
+
*/
|
|
73761
|
+
onResourceColumnDragStart: ((event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent|TouchEvent }) => void)|string
|
|
73762
|
+
/**
|
|
73763
|
+
* Fired after drop
|
|
73764
|
+
* @param {object} event Event object
|
|
73765
|
+
* @param {Scheduler.view.Scheduler} event.source
|
|
73766
|
+
* @param {object} event.context
|
|
73767
|
+
* @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
|
|
73768
|
+
* @param {Scheduler.model.ResourceModel} event.context.insertBefore The resource that was inserted before
|
|
73769
|
+
* @param {Core.data.Model} event.context.targetGroup When the resourceStore is grouped, the group header record of the target group. The resource's group field has been updated if moved between groups.
|
|
73770
|
+
* @param {boolean} event.context.valid `true` if the drop was valid, `false` otherwise
|
|
73771
|
+
* @param {MouseEvent} event.event
|
|
73772
|
+
*/
|
|
73773
|
+
onResourceColumnDrop: ((event: { source: Scheduler, context: { resource: ResourceModel, insertBefore: ResourceModel, targetGroup: Model, valid: boolean }, event: MouseEvent }) => void)|string
|
|
72415
73774
|
/**
|
|
72416
73775
|
* Fired when clicking a resource header cell
|
|
72417
73776
|
* @param {object} event Event object
|
|
@@ -73004,11 +74363,11 @@ export class SchedulerBase extends TimelineBase {
|
|
|
73004
74363
|
deselectEvents(events: EventModel[]): void;
|
|
73005
74364
|
/**
|
|
73006
74365
|
* Opens an editor UI to edit the passed event, or a config object for a new event.
|
|
73007
|
-
* @param {Scheduler.model.EventModel,EventModelConfig} eventRecord Event to edit
|
|
74366
|
+
* @param {Scheduler.model.EventModel,EventModelConfig,string,number} eventRecord Event to edit
|
|
73008
74367
|
* @param {Scheduler.model.ResourceModel} resourceRecord The Resource record for the event. This parameter is needed if the event is newly created for a resource and has not been assigned, or when using multi assignment.
|
|
73009
74368
|
* @param {HTMLElement} element Element to anchor editor to (defaults to events element)
|
|
73010
74369
|
*/
|
|
73011
|
-
editEvent(eventRecord: EventModel|EventModelConfig, resourceRecord?: ResourceModel, element?: HTMLElement): void;
|
|
74370
|
+
editEvent(eventRecord: EventModel|EventModelConfig|string|number, resourceRecord?: ResourceModel, element?: HTMLElement): void;
|
|
73012
74371
|
/**
|
|
73013
74372
|
* Gets the x or y coordinate relative to the scheduler element, or page coordinate (based on the 'local' flag)
|
|
73014
74373
|
* If the coordinate is not in the currently rendered view, -1 will be returned.
|
|
@@ -73065,6 +74424,24 @@ export class SchedulerBase extends TimelineBase {
|
|
|
73065
74424
|
* @param {Scheduler.model.ResourceModel} resourceRecord A resource record
|
|
73066
74425
|
*/
|
|
73067
74426
|
getElementsFromEventRecord(eventRecord: EventModel, resourceRecord?: ResourceModel): HTMLElement[];
|
|
74427
|
+
/**
|
|
74428
|
+
* Returns an array of events for the date range specified by the `startDate` and `endDate` options.
|
|
74429
|
+
* @param {object} options An options object determining which events to return
|
|
74430
|
+
*/
|
|
74431
|
+
getEvents(options: {
|
|
74432
|
+
date?: Date
|
|
74433
|
+
startDate: Date
|
|
74434
|
+
endDate?: Date
|
|
74435
|
+
resourceRecord?: ResourceModel
|
|
74436
|
+
filter?: Function
|
|
74437
|
+
ignoreFilters?: boolean
|
|
74438
|
+
includeOccurrences?: boolean
|
|
74439
|
+
allowPartial?: boolean
|
|
74440
|
+
startOnly?: boolean
|
|
74441
|
+
silent?: boolean
|
|
74442
|
+
onlyAssigned?: boolean
|
|
74443
|
+
dateMap?: boolean|Map<any, any>
|
|
74444
|
+
}): EventModel[]|Map<any, any>;
|
|
73068
74445
|
/**
|
|
73069
74446
|
* Determines width of a milestones label. How width is determined is decided by configuring
|
|
73070
74447
|
* [milestoneLayoutMode](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/mixin/SchedulerEventRendering#config-milestoneLayoutMode). Please note that text width is always determined using the events
|
|
@@ -73597,6 +74974,14 @@ type TimelineBaseListenersTypes = {
|
|
|
73597
74974
|
* @param {any} event.value The value being set
|
|
73598
74975
|
*/
|
|
73599
74976
|
beforeCellRangeEdit: (event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void
|
|
74977
|
+
/**
|
|
74978
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
74979
|
+
* @param {object} event Event object
|
|
74980
|
+
* @param {Grid.view.GridBase} event.source The grid instance
|
|
74981
|
+
* @param {Grid.column.Column} event.column The column
|
|
74982
|
+
* @param {boolean} event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
74983
|
+
*/
|
|
74984
|
+
beforeColumnCollapseToggle: (event: { source: GridBase, column: Column, collapsed: boolean }) => void
|
|
73600
74985
|
/**
|
|
73601
74986
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
73602
74987
|
* @param {object} event Event object
|
|
@@ -73721,18 +75106,18 @@ type TimelineBaseListenersTypes = {
|
|
|
73721
75106
|
/**
|
|
73722
75107
|
* Fires before a row is rendered.
|
|
73723
75108
|
* @param {object} event Event object
|
|
73724
|
-
* @param {Grid.view.
|
|
73725
|
-
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
73726
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
73727
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
75109
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
75110
|
+
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
75111
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
75112
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
73728
75113
|
*/
|
|
73729
|
-
beforeRenderRow: (event: { source:
|
|
75114
|
+
beforeRenderRow: (event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void
|
|
73730
75115
|
/**
|
|
73731
75116
|
* Grid rows are about to be rendered
|
|
73732
75117
|
* @param {object} event Event object
|
|
73733
|
-
* @param {Grid.view.
|
|
75118
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
73734
75119
|
*/
|
|
73735
|
-
beforeRenderRows: (event: { source:
|
|
75120
|
+
beforeRenderRows: (event: { source: GridBase }) => void
|
|
73736
75121
|
/**
|
|
73737
75122
|
* This event fires before row collapse is started.
|
|
73738
75123
|
* ...
|
|
@@ -73963,6 +75348,14 @@ type TimelineBaseListenersTypes = {
|
|
|
73963
75348
|
* @param {Core.data.Model} event.record The record which has been collapsed.
|
|
73964
75349
|
*/
|
|
73965
75350
|
collapseNode: (event: { source: Grid, record: Model }) => void
|
|
75351
|
+
/**
|
|
75352
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
75353
|
+
* @param {object} event Event object
|
|
75354
|
+
* @param {Grid.view.GridBase} event.source The Grid instance
|
|
75355
|
+
* @param {Grid.column.Column} event.column The column being toggled
|
|
75356
|
+
* @param {boolean} event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
75357
|
+
*/
|
|
75358
|
+
columnCollapseToggle: (event: { source: GridBase, column: Column, collapsed: boolean }) => void
|
|
73966
75359
|
/**
|
|
73967
75360
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
73968
75361
|
* to indicate whether the drop position is valid or not.
|
|
@@ -74044,14 +75437,14 @@ type TimelineBaseListenersTypes = {
|
|
|
74044
75437
|
* ...
|
|
74045
75438
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#event-dataChange)
|
|
74046
75439
|
* @param {object} event Event object
|
|
74047
|
-
* @param {Grid.view.
|
|
75440
|
+
* @param {Grid.view.GridBase} event.source Owning grid
|
|
74048
75441
|
* @param {Core.data.Store} event.store The originating store
|
|
74049
75442
|
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
74050
75443
|
* @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
74051
75444
|
* @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
|
|
74052
75445
|
* @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
|
|
74053
75446
|
*/
|
|
74054
|
-
dataChange: (event: { source:
|
|
75447
|
+
dataChange: (event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void
|
|
74055
75448
|
/**
|
|
74056
75449
|
* Fired when the range of dates encapsulated by the UI changes. This will be when
|
|
74057
75450
|
* moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
|
|
@@ -74394,18 +75787,18 @@ type TimelineBaseListenersTypes = {
|
|
|
74394
75787
|
/**
|
|
74395
75788
|
* Fires after a row is rendered.
|
|
74396
75789
|
* @param {object} event Event object
|
|
74397
|
-
* @param {Grid.view.
|
|
74398
|
-
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
74399
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
74400
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
75790
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
75791
|
+
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
75792
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
75793
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
74401
75794
|
*/
|
|
74402
|
-
renderRow: (event: { source:
|
|
75795
|
+
renderRow: (event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void
|
|
74403
75796
|
/**
|
|
74404
75797
|
* Grid rows have been rendered
|
|
74405
75798
|
* @param {object} event Event object
|
|
74406
|
-
* @param {Grid.view.
|
|
75799
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
74407
75800
|
*/
|
|
74408
|
-
renderRows: (event: { source:
|
|
75801
|
+
renderRows: (event: { source: GridBase }) => void
|
|
74409
75802
|
/**
|
|
74410
75803
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
74411
75804
|
* @param {object} event Event object
|
|
@@ -74465,10 +75858,10 @@ type TimelineBaseListenersTypes = {
|
|
|
74465
75858
|
/**
|
|
74466
75859
|
* Grid has scrolled vertically
|
|
74467
75860
|
* @param {object} event Event object
|
|
74468
|
-
* @param {Grid.view.
|
|
75861
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance.
|
|
74469
75862
|
* @param {number} event.scrollTop The vertical scroll position.
|
|
74470
75863
|
*/
|
|
74471
|
-
scroll: (event: { source:
|
|
75864
|
+
scroll: (event: { source: GridBase, scrollTop: number }) => void
|
|
74472
75865
|
/**
|
|
74473
75866
|
* The selection has been changed.
|
|
74474
75867
|
* @param {object} event Event object
|
|
@@ -74556,17 +75949,17 @@ type TimelineBaseListenersTypes = {
|
|
|
74556
75949
|
/**
|
|
74557
75950
|
* Fires after a sub grid is collapsed.
|
|
74558
75951
|
* @param {object} event Event object
|
|
74559
|
-
* @param {Grid.view.
|
|
75952
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
74560
75953
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
74561
75954
|
*/
|
|
74562
|
-
subGridCollapse: (event: { source:
|
|
75955
|
+
subGridCollapse: (event: { source: GridBase, subGrid: SubGrid }) => void
|
|
74563
75956
|
/**
|
|
74564
75957
|
* Fires after a sub grid is expanded.
|
|
74565
75958
|
* @param {object} event Event object
|
|
74566
|
-
* @param {Grid.view.
|
|
75959
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
74567
75960
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
74568
75961
|
*/
|
|
74569
|
-
subGridExpand: (event: { source:
|
|
75962
|
+
subGridExpand: (event: { source: GridBase, subGrid: SubGrid }) => void
|
|
74570
75963
|
/**
|
|
74571
75964
|
* Fired when the tick size changes.
|
|
74572
75965
|
* ...
|
|
@@ -74752,6 +76145,14 @@ type TimelineBaseListeners = {
|
|
|
74752
76145
|
* @param {any} event.value The value being set
|
|
74753
76146
|
*/
|
|
74754
76147
|
beforeCellRangeEdit?: ((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string
|
|
76148
|
+
/**
|
|
76149
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
76150
|
+
* @param {object} event Event object
|
|
76151
|
+
* @param {Grid.view.GridBase} event.source The grid instance
|
|
76152
|
+
* @param {Grid.column.Column} event.column The column
|
|
76153
|
+
* @param {boolean} event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
76154
|
+
*/
|
|
76155
|
+
beforeColumnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
74755
76156
|
/**
|
|
74756
76157
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
74757
76158
|
* @param {object} event Event object
|
|
@@ -74876,18 +76277,18 @@ type TimelineBaseListeners = {
|
|
|
74876
76277
|
/**
|
|
74877
76278
|
* Fires before a row is rendered.
|
|
74878
76279
|
* @param {object} event Event object
|
|
74879
|
-
* @param {Grid.view.
|
|
74880
|
-
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
74881
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
74882
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
76280
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
76281
|
+
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
76282
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
76283
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
74883
76284
|
*/
|
|
74884
|
-
beforeRenderRow?: ((event: { source:
|
|
76285
|
+
beforeRenderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
74885
76286
|
/**
|
|
74886
76287
|
* Grid rows are about to be rendered
|
|
74887
76288
|
* @param {object} event Event object
|
|
74888
|
-
* @param {Grid.view.
|
|
76289
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
74889
76290
|
*/
|
|
74890
|
-
beforeRenderRows?: ((event: { source:
|
|
76291
|
+
beforeRenderRows?: ((event: { source: GridBase }) => void)|string
|
|
74891
76292
|
/**
|
|
74892
76293
|
* This event fires before row collapse is started.
|
|
74893
76294
|
* ...
|
|
@@ -75118,6 +76519,14 @@ type TimelineBaseListeners = {
|
|
|
75118
76519
|
* @param {Core.data.Model} event.record The record which has been collapsed.
|
|
75119
76520
|
*/
|
|
75120
76521
|
collapseNode?: ((event: { source: Grid, record: Model }) => void)|string
|
|
76522
|
+
/**
|
|
76523
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
76524
|
+
* @param {object} event Event object
|
|
76525
|
+
* @param {Grid.view.GridBase} event.source The Grid instance
|
|
76526
|
+
* @param {Grid.column.Column} event.column The column being toggled
|
|
76527
|
+
* @param {boolean} event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
76528
|
+
*/
|
|
76529
|
+
columnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
75121
76530
|
/**
|
|
75122
76531
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
75123
76532
|
* to indicate whether the drop position is valid or not.
|
|
@@ -75199,14 +76608,14 @@ type TimelineBaseListeners = {
|
|
|
75199
76608
|
* ...
|
|
75200
76609
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#event-dataChange)
|
|
75201
76610
|
* @param {object} event Event object
|
|
75202
|
-
* @param {Grid.view.
|
|
76611
|
+
* @param {Grid.view.GridBase} event.source Owning grid
|
|
75203
76612
|
* @param {Core.data.Store} event.store The originating store
|
|
75204
76613
|
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
75205
76614
|
* @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
75206
76615
|
* @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
|
|
75207
76616
|
* @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
|
|
75208
76617
|
*/
|
|
75209
|
-
dataChange?: ((event: { source:
|
|
76618
|
+
dataChange?: ((event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string
|
|
75210
76619
|
/**
|
|
75211
76620
|
* Fired when the range of dates encapsulated by the UI changes. This will be when
|
|
75212
76621
|
* moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
|
|
@@ -75549,18 +76958,18 @@ type TimelineBaseListeners = {
|
|
|
75549
76958
|
/**
|
|
75550
76959
|
* Fires after a row is rendered.
|
|
75551
76960
|
* @param {object} event Event object
|
|
75552
|
-
* @param {Grid.view.
|
|
75553
|
-
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
75554
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
75555
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
76961
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
76962
|
+
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
76963
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
76964
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
75556
76965
|
*/
|
|
75557
|
-
renderRow?: ((event: { source:
|
|
76966
|
+
renderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
75558
76967
|
/**
|
|
75559
76968
|
* Grid rows have been rendered
|
|
75560
76969
|
* @param {object} event Event object
|
|
75561
|
-
* @param {Grid.view.
|
|
76970
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
75562
76971
|
*/
|
|
75563
|
-
renderRows?: ((event: { source:
|
|
76972
|
+
renderRows?: ((event: { source: GridBase }) => void)|string
|
|
75564
76973
|
/**
|
|
75565
76974
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
75566
76975
|
* @param {object} event Event object
|
|
@@ -75620,10 +77029,10 @@ type TimelineBaseListeners = {
|
|
|
75620
77029
|
/**
|
|
75621
77030
|
* Grid has scrolled vertically
|
|
75622
77031
|
* @param {object} event Event object
|
|
75623
|
-
* @param {Grid.view.
|
|
77032
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance.
|
|
75624
77033
|
* @param {number} event.scrollTop The vertical scroll position.
|
|
75625
77034
|
*/
|
|
75626
|
-
scroll?: ((event: { source:
|
|
77035
|
+
scroll?: ((event: { source: GridBase, scrollTop: number }) => void)|string
|
|
75627
77036
|
/**
|
|
75628
77037
|
* The selection has been changed.
|
|
75629
77038
|
* @param {object} event Event object
|
|
@@ -75711,17 +77120,17 @@ type TimelineBaseListeners = {
|
|
|
75711
77120
|
/**
|
|
75712
77121
|
* Fires after a sub grid is collapsed.
|
|
75713
77122
|
* @param {object} event Event object
|
|
75714
|
-
* @param {Grid.view.
|
|
77123
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
75715
77124
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
75716
77125
|
*/
|
|
75717
|
-
subGridCollapse?: ((event: { source:
|
|
77126
|
+
subGridCollapse?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
75718
77127
|
/**
|
|
75719
77128
|
* Fires after a sub grid is expanded.
|
|
75720
77129
|
* @param {object} event Event object
|
|
75721
|
-
* @param {Grid.view.
|
|
77130
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
75722
77131
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
75723
77132
|
*/
|
|
75724
|
-
subGridExpand?: ((event: { source:
|
|
77133
|
+
subGridExpand?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
75725
77134
|
/**
|
|
75726
77135
|
* Fired when the tick size changes.
|
|
75727
77136
|
* ...
|
|
@@ -75837,6 +77246,7 @@ type TimelineBaseListeners = {
|
|
|
75837
77246
|
}
|
|
75838
77247
|
|
|
75839
77248
|
type TimelineBaseFeaturesType = {
|
|
77249
|
+
ai: GridAI
|
|
75840
77250
|
aiFilter: AIFilter
|
|
75841
77251
|
cellCopyPaste: CellCopyPaste
|
|
75842
77252
|
cellEdit: CellEdit
|
|
@@ -75880,6 +77290,7 @@ type TimelineBaseFeaturesType = {
|
|
|
75880
77290
|
}
|
|
75881
77291
|
|
|
75882
77292
|
type TimelineBaseFeaturesConfigType = {
|
|
77293
|
+
ai?: string|boolean|GridAIConfig
|
|
75883
77294
|
aiFilter?: string|boolean|AIFilterConfig
|
|
75884
77295
|
cellCopyPaste?: string|boolean|CellCopyPasteConfig
|
|
75885
77296
|
cellEdit?: string|boolean|CellEditConfig
|
|
@@ -76006,6 +77417,10 @@ type TimelineBaseConfig = {
|
|
|
76006
77417
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-bodyCls)
|
|
76007
77418
|
*/
|
|
76008
77419
|
bodyCls?: string|object
|
|
77420
|
+
/**
|
|
77421
|
+
* Set `true` to add a border to this container's element.
|
|
77422
|
+
*/
|
|
77423
|
+
border?: boolean
|
|
76009
77424
|
/**
|
|
76010
77425
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
76011
77426
|
* hierarchy when triggered.
|
|
@@ -76071,7 +77486,7 @@ type TimelineBaseConfig = {
|
|
|
76071
77486
|
* ...
|
|
76072
77487
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-color)
|
|
76073
77488
|
*/
|
|
76074
|
-
color?:
|
|
77489
|
+
color?: Color
|
|
76075
77490
|
/**
|
|
76076
77491
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
76077
77492
|
*/
|
|
@@ -76536,7 +77951,7 @@ type TimelineBaseConfig = {
|
|
|
76536
77951
|
* ...
|
|
76537
77952
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-partner)
|
|
76538
77953
|
*/
|
|
76539
|
-
partner?: TimelineBase
|
|
77954
|
+
partner?: TimelineBase|string
|
|
76540
77955
|
/**
|
|
76541
77956
|
* Specify plugins (an array of classes) in config
|
|
76542
77957
|
*/
|
|
@@ -77007,6 +78422,14 @@ type TimelineBaseConfig = {
|
|
|
77007
78422
|
* @param {any} event.value The value being set
|
|
77008
78423
|
*/
|
|
77009
78424
|
onBeforeCellRangeEdit?: ((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string
|
|
78425
|
+
/**
|
|
78426
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
78427
|
+
* @param {object} event Event object
|
|
78428
|
+
* @param {Grid.view.GridBase} event.source The grid instance
|
|
78429
|
+
* @param {Grid.column.Column} event.column The column
|
|
78430
|
+
* @param {boolean} event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
78431
|
+
*/
|
|
78432
|
+
onBeforeColumnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
77010
78433
|
/**
|
|
77011
78434
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
77012
78435
|
* @param {object} event Event object
|
|
@@ -77131,18 +78554,18 @@ type TimelineBaseConfig = {
|
|
|
77131
78554
|
/**
|
|
77132
78555
|
* Fires before a row is rendered.
|
|
77133
78556
|
* @param {object} event Event object
|
|
77134
|
-
* @param {Grid.view.
|
|
77135
|
-
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
77136
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
77137
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
78557
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
78558
|
+
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
78559
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
78560
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
77138
78561
|
*/
|
|
77139
|
-
onBeforeRenderRow?: ((event: { source:
|
|
78562
|
+
onBeforeRenderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
77140
78563
|
/**
|
|
77141
78564
|
* Grid rows are about to be rendered
|
|
77142
78565
|
* @param {object} event Event object
|
|
77143
|
-
* @param {Grid.view.
|
|
78566
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
77144
78567
|
*/
|
|
77145
|
-
onBeforeRenderRows?: ((event: { source:
|
|
78568
|
+
onBeforeRenderRows?: ((event: { source: GridBase }) => void)|string
|
|
77146
78569
|
/**
|
|
77147
78570
|
* This event fires before row collapse is started.
|
|
77148
78571
|
* ...
|
|
@@ -77373,6 +78796,14 @@ type TimelineBaseConfig = {
|
|
|
77373
78796
|
* @param {Core.data.Model} event.record The record which has been collapsed.
|
|
77374
78797
|
*/
|
|
77375
78798
|
onCollapseNode?: ((event: { source: Grid, record: Model }) => void)|string
|
|
78799
|
+
/**
|
|
78800
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
78801
|
+
* @param {object} event Event object
|
|
78802
|
+
* @param {Grid.view.GridBase} event.source The Grid instance
|
|
78803
|
+
* @param {Grid.column.Column} event.column The column being toggled
|
|
78804
|
+
* @param {boolean} event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
78805
|
+
*/
|
|
78806
|
+
onColumnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
77376
78807
|
/**
|
|
77377
78808
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
77378
78809
|
* to indicate whether the drop position is valid or not.
|
|
@@ -77454,14 +78885,14 @@ type TimelineBaseConfig = {
|
|
|
77454
78885
|
* ...
|
|
77455
78886
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#event-dataChange)
|
|
77456
78887
|
* @param {object} event Event object
|
|
77457
|
-
* @param {Grid.view.
|
|
78888
|
+
* @param {Grid.view.GridBase} event.source Owning grid
|
|
77458
78889
|
* @param {Core.data.Store} event.store The originating store
|
|
77459
78890
|
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
77460
78891
|
* @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
77461
78892
|
* @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
|
|
77462
78893
|
* @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
|
|
77463
78894
|
*/
|
|
77464
|
-
onDataChange?: ((event: { source:
|
|
78895
|
+
onDataChange?: ((event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string
|
|
77465
78896
|
/**
|
|
77466
78897
|
* Fired when the range of dates encapsulated by the UI changes. This will be when
|
|
77467
78898
|
* moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
|
|
@@ -77804,18 +79235,18 @@ type TimelineBaseConfig = {
|
|
|
77804
79235
|
/**
|
|
77805
79236
|
* Fires after a row is rendered.
|
|
77806
79237
|
* @param {object} event Event object
|
|
77807
|
-
* @param {Grid.view.
|
|
77808
|
-
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
77809
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
77810
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
79238
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
79239
|
+
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
79240
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
79241
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
77811
79242
|
*/
|
|
77812
|
-
onRenderRow?: ((event: { source:
|
|
79243
|
+
onRenderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
77813
79244
|
/**
|
|
77814
79245
|
* Grid rows have been rendered
|
|
77815
79246
|
* @param {object} event Event object
|
|
77816
|
-
* @param {Grid.view.
|
|
79247
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
77817
79248
|
*/
|
|
77818
|
-
onRenderRows?: ((event: { source:
|
|
79249
|
+
onRenderRows?: ((event: { source: GridBase }) => void)|string
|
|
77819
79250
|
/**
|
|
77820
79251
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
77821
79252
|
* @param {object} event Event object
|
|
@@ -77875,10 +79306,10 @@ type TimelineBaseConfig = {
|
|
|
77875
79306
|
/**
|
|
77876
79307
|
* Grid has scrolled vertically
|
|
77877
79308
|
* @param {object} event Event object
|
|
77878
|
-
* @param {Grid.view.
|
|
79309
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance.
|
|
77879
79310
|
* @param {number} event.scrollTop The vertical scroll position.
|
|
77880
79311
|
*/
|
|
77881
|
-
onScroll?: ((event: { source:
|
|
79312
|
+
onScroll?: ((event: { source: GridBase, scrollTop: number }) => void)|string
|
|
77882
79313
|
/**
|
|
77883
79314
|
* The selection has been changed.
|
|
77884
79315
|
* @param {object} event Event object
|
|
@@ -77966,17 +79397,17 @@ type TimelineBaseConfig = {
|
|
|
77966
79397
|
/**
|
|
77967
79398
|
* Fires after a sub grid is collapsed.
|
|
77968
79399
|
* @param {object} event Event object
|
|
77969
|
-
* @param {Grid.view.
|
|
79400
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
77970
79401
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
77971
79402
|
*/
|
|
77972
|
-
onSubGridCollapse?: ((event: { source:
|
|
79403
|
+
onSubGridCollapse?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
77973
79404
|
/**
|
|
77974
79405
|
* Fires after a sub grid is expanded.
|
|
77975
79406
|
* @param {object} event Event object
|
|
77976
|
-
* @param {Grid.view.
|
|
79407
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
77977
79408
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
77978
79409
|
*/
|
|
77979
|
-
onSubGridExpand?: ((event: { source:
|
|
79410
|
+
onSubGridExpand?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
77980
79411
|
/**
|
|
77981
79412
|
* Fired when the tick size changes.
|
|
77982
79413
|
* ...
|
|
@@ -79067,6 +80498,14 @@ type TimelineHistogramListenersTypes = {
|
|
|
79067
80498
|
* @param {any} event.value The value being set
|
|
79068
80499
|
*/
|
|
79069
80500
|
beforeCellRangeEdit: (event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void
|
|
80501
|
+
/**
|
|
80502
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
80503
|
+
* @param {object} event Event object
|
|
80504
|
+
* @param {Grid.view.GridBase} event.source The grid instance
|
|
80505
|
+
* @param {Grid.column.Column} event.column The column
|
|
80506
|
+
* @param {boolean} event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
80507
|
+
*/
|
|
80508
|
+
beforeColumnCollapseToggle: (event: { source: GridBase, column: Column, collapsed: boolean }) => void
|
|
79070
80509
|
/**
|
|
79071
80510
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
79072
80511
|
* @param {object} event Event object
|
|
@@ -79227,18 +80666,18 @@ type TimelineHistogramListenersTypes = {
|
|
|
79227
80666
|
/**
|
|
79228
80667
|
* Fires before a row is rendered.
|
|
79229
80668
|
* @param {object} event Event object
|
|
79230
|
-
* @param {Grid.view.
|
|
79231
|
-
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
79232
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
79233
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
80669
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
80670
|
+
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
80671
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
80672
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
79234
80673
|
*/
|
|
79235
|
-
beforeRenderRow: (event: { source:
|
|
80674
|
+
beforeRenderRow: (event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void
|
|
79236
80675
|
/**
|
|
79237
80676
|
* Grid rows are about to be rendered
|
|
79238
80677
|
* @param {object} event Event object
|
|
79239
|
-
* @param {Grid.view.
|
|
80678
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
79240
80679
|
*/
|
|
79241
|
-
beforeRenderRows: (event: { source:
|
|
80680
|
+
beforeRenderRows: (event: { source: GridBase }) => void
|
|
79242
80681
|
/**
|
|
79243
80682
|
* This event fires before row collapse is started.
|
|
79244
80683
|
* ...
|
|
@@ -79469,6 +80908,14 @@ type TimelineHistogramListenersTypes = {
|
|
|
79469
80908
|
* @param {Core.data.Model} event.record The record which has been collapsed.
|
|
79470
80909
|
*/
|
|
79471
80910
|
collapseNode: (event: { source: Grid, record: Model }) => void
|
|
80911
|
+
/**
|
|
80912
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
80913
|
+
* @param {object} event Event object
|
|
80914
|
+
* @param {Grid.view.GridBase} event.source The Grid instance
|
|
80915
|
+
* @param {Grid.column.Column} event.column The column being toggled
|
|
80916
|
+
* @param {boolean} event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
80917
|
+
*/
|
|
80918
|
+
columnCollapseToggle: (event: { source: GridBase, column: Column, collapsed: boolean }) => void
|
|
79472
80919
|
/**
|
|
79473
80920
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
79474
80921
|
* to indicate whether the drop position is valid or not.
|
|
@@ -79557,14 +81004,14 @@ type TimelineHistogramListenersTypes = {
|
|
|
79557
81004
|
* ...
|
|
79558
81005
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineHistogram#event-dataChange)
|
|
79559
81006
|
* @param {object} event Event object
|
|
79560
|
-
* @param {Grid.view.
|
|
81007
|
+
* @param {Grid.view.GridBase} event.source Owning grid
|
|
79561
81008
|
* @param {Core.data.Store} event.store The originating store
|
|
79562
81009
|
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
79563
81010
|
* @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
79564
81011
|
* @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
|
|
79565
81012
|
* @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
|
|
79566
81013
|
*/
|
|
79567
|
-
dataChange: (event: { source:
|
|
81014
|
+
dataChange: (event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void
|
|
79568
81015
|
/**
|
|
79569
81016
|
* Fired when the range of dates encapsulated by the UI changes. This will be when
|
|
79570
81017
|
* moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
|
|
@@ -79918,18 +81365,18 @@ type TimelineHistogramListenersTypes = {
|
|
|
79918
81365
|
/**
|
|
79919
81366
|
* Fires after a row is rendered.
|
|
79920
81367
|
* @param {object} event Event object
|
|
79921
|
-
* @param {Grid.view.
|
|
79922
|
-
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
79923
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
79924
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
81368
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
81369
|
+
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
81370
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
81371
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
79925
81372
|
*/
|
|
79926
|
-
renderRow: (event: { source:
|
|
81373
|
+
renderRow: (event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void
|
|
79927
81374
|
/**
|
|
79928
81375
|
* Grid rows have been rendered
|
|
79929
81376
|
* @param {object} event Event object
|
|
79930
|
-
* @param {Grid.view.
|
|
81377
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
79931
81378
|
*/
|
|
79932
|
-
renderRows: (event: { source:
|
|
81379
|
+
renderRows: (event: { source: GridBase }) => void
|
|
79933
81380
|
/**
|
|
79934
81381
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
79935
81382
|
* @param {object} event Event object
|
|
@@ -80107,10 +81554,10 @@ type TimelineHistogramListenersTypes = {
|
|
|
80107
81554
|
/**
|
|
80108
81555
|
* Grid has scrolled vertically
|
|
80109
81556
|
* @param {object} event Event object
|
|
80110
|
-
* @param {Grid.view.
|
|
81557
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance.
|
|
80111
81558
|
* @param {number} event.scrollTop The vertical scroll position.
|
|
80112
81559
|
*/
|
|
80113
|
-
scroll: (event: { source:
|
|
81560
|
+
scroll: (event: { source: GridBase, scrollTop: number }) => void
|
|
80114
81561
|
/**
|
|
80115
81562
|
* The selection has been changed.
|
|
80116
81563
|
* @param {object} event Event object
|
|
@@ -80198,17 +81645,17 @@ type TimelineHistogramListenersTypes = {
|
|
|
80198
81645
|
/**
|
|
80199
81646
|
* Fires after a sub grid is collapsed.
|
|
80200
81647
|
* @param {object} event Event object
|
|
80201
|
-
* @param {Grid.view.
|
|
81648
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
80202
81649
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
80203
81650
|
*/
|
|
80204
|
-
subGridCollapse: (event: { source:
|
|
81651
|
+
subGridCollapse: (event: { source: GridBase, subGrid: SubGrid }) => void
|
|
80205
81652
|
/**
|
|
80206
81653
|
* Fires after a sub grid is expanded.
|
|
80207
81654
|
* @param {object} event Event object
|
|
80208
|
-
* @param {Grid.view.
|
|
81655
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
80209
81656
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
80210
81657
|
*/
|
|
80211
|
-
subGridExpand: (event: { source:
|
|
81658
|
+
subGridExpand: (event: { source: GridBase, subGrid: SubGrid }) => void
|
|
80212
81659
|
/**
|
|
80213
81660
|
* Fired when the tick size changes.
|
|
80214
81661
|
* ...
|
|
@@ -80448,6 +81895,14 @@ type TimelineHistogramListeners = {
|
|
|
80448
81895
|
* @param {any} event.value The value being set
|
|
80449
81896
|
*/
|
|
80450
81897
|
beforeCellRangeEdit?: ((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string
|
|
81898
|
+
/**
|
|
81899
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
81900
|
+
* @param {object} event Event object
|
|
81901
|
+
* @param {Grid.view.GridBase} event.source The grid instance
|
|
81902
|
+
* @param {Grid.column.Column} event.column The column
|
|
81903
|
+
* @param {boolean} event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
81904
|
+
*/
|
|
81905
|
+
beforeColumnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
80451
81906
|
/**
|
|
80452
81907
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
80453
81908
|
* @param {object} event Event object
|
|
@@ -80608,18 +82063,18 @@ type TimelineHistogramListeners = {
|
|
|
80608
82063
|
/**
|
|
80609
82064
|
* Fires before a row is rendered.
|
|
80610
82065
|
* @param {object} event Event object
|
|
80611
|
-
* @param {Grid.view.
|
|
80612
|
-
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
80613
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
80614
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
82066
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
82067
|
+
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
82068
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
82069
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
80615
82070
|
*/
|
|
80616
|
-
beforeRenderRow?: ((event: { source:
|
|
82071
|
+
beforeRenderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
80617
82072
|
/**
|
|
80618
82073
|
* Grid rows are about to be rendered
|
|
80619
82074
|
* @param {object} event Event object
|
|
80620
|
-
* @param {Grid.view.
|
|
82075
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
80621
82076
|
*/
|
|
80622
|
-
beforeRenderRows?: ((event: { source:
|
|
82077
|
+
beforeRenderRows?: ((event: { source: GridBase }) => void)|string
|
|
80623
82078
|
/**
|
|
80624
82079
|
* This event fires before row collapse is started.
|
|
80625
82080
|
* ...
|
|
@@ -80850,6 +82305,14 @@ type TimelineHistogramListeners = {
|
|
|
80850
82305
|
* @param {Core.data.Model} event.record The record which has been collapsed.
|
|
80851
82306
|
*/
|
|
80852
82307
|
collapseNode?: ((event: { source: Grid, record: Model }) => void)|string
|
|
82308
|
+
/**
|
|
82309
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
82310
|
+
* @param {object} event Event object
|
|
82311
|
+
* @param {Grid.view.GridBase} event.source The Grid instance
|
|
82312
|
+
* @param {Grid.column.Column} event.column The column being toggled
|
|
82313
|
+
* @param {boolean} event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
82314
|
+
*/
|
|
82315
|
+
columnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
80853
82316
|
/**
|
|
80854
82317
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
80855
82318
|
* to indicate whether the drop position is valid or not.
|
|
@@ -80938,14 +82401,14 @@ type TimelineHistogramListeners = {
|
|
|
80938
82401
|
* ...
|
|
80939
82402
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineHistogram#event-dataChange)
|
|
80940
82403
|
* @param {object} event Event object
|
|
80941
|
-
* @param {Grid.view.
|
|
82404
|
+
* @param {Grid.view.GridBase} event.source Owning grid
|
|
80942
82405
|
* @param {Core.data.Store} event.store The originating store
|
|
80943
82406
|
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
80944
82407
|
* @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
80945
82408
|
* @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
|
|
80946
82409
|
* @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
|
|
80947
82410
|
*/
|
|
80948
|
-
dataChange?: ((event: { source:
|
|
82411
|
+
dataChange?: ((event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string
|
|
80949
82412
|
/**
|
|
80950
82413
|
* Fired when the range of dates encapsulated by the UI changes. This will be when
|
|
80951
82414
|
* moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
|
|
@@ -81299,18 +82762,18 @@ type TimelineHistogramListeners = {
|
|
|
81299
82762
|
/**
|
|
81300
82763
|
* Fires after a row is rendered.
|
|
81301
82764
|
* @param {object} event Event object
|
|
81302
|
-
* @param {Grid.view.
|
|
81303
|
-
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
81304
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
81305
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
82765
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
82766
|
+
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
82767
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
82768
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
81306
82769
|
*/
|
|
81307
|
-
renderRow?: ((event: { source:
|
|
82770
|
+
renderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
81308
82771
|
/**
|
|
81309
82772
|
* Grid rows have been rendered
|
|
81310
82773
|
* @param {object} event Event object
|
|
81311
|
-
* @param {Grid.view.
|
|
82774
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
81312
82775
|
*/
|
|
81313
|
-
renderRows?: ((event: { source:
|
|
82776
|
+
renderRows?: ((event: { source: GridBase }) => void)|string
|
|
81314
82777
|
/**
|
|
81315
82778
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
81316
82779
|
* @param {object} event Event object
|
|
@@ -81488,10 +82951,10 @@ type TimelineHistogramListeners = {
|
|
|
81488
82951
|
/**
|
|
81489
82952
|
* Grid has scrolled vertically
|
|
81490
82953
|
* @param {object} event Event object
|
|
81491
|
-
* @param {Grid.view.
|
|
82954
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance.
|
|
81492
82955
|
* @param {number} event.scrollTop The vertical scroll position.
|
|
81493
82956
|
*/
|
|
81494
|
-
scroll?: ((event: { source:
|
|
82957
|
+
scroll?: ((event: { source: GridBase, scrollTop: number }) => void)|string
|
|
81495
82958
|
/**
|
|
81496
82959
|
* The selection has been changed.
|
|
81497
82960
|
* @param {object} event Event object
|
|
@@ -81579,17 +83042,17 @@ type TimelineHistogramListeners = {
|
|
|
81579
83042
|
/**
|
|
81580
83043
|
* Fires after a sub grid is collapsed.
|
|
81581
83044
|
* @param {object} event Event object
|
|
81582
|
-
* @param {Grid.view.
|
|
83045
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
81583
83046
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
81584
83047
|
*/
|
|
81585
|
-
subGridCollapse?: ((event: { source:
|
|
83048
|
+
subGridCollapse?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
81586
83049
|
/**
|
|
81587
83050
|
* Fires after a sub grid is expanded.
|
|
81588
83051
|
* @param {object} event Event object
|
|
81589
|
-
* @param {Grid.view.
|
|
83052
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
81590
83053
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
81591
83054
|
*/
|
|
81592
|
-
subGridExpand?: ((event: { source:
|
|
83055
|
+
subGridExpand?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
81593
83056
|
/**
|
|
81594
83057
|
* Fired when the tick size changes.
|
|
81595
83058
|
* ...
|
|
@@ -81759,6 +83222,7 @@ type TimelineHistogramListeners = {
|
|
|
81759
83222
|
}
|
|
81760
83223
|
|
|
81761
83224
|
type TimelineHistogramFeaturesType = {
|
|
83225
|
+
ai: GridAI
|
|
81762
83226
|
aiFilter: AIFilter
|
|
81763
83227
|
cellCopyPaste: CellCopyPaste
|
|
81764
83228
|
cellEdit: CellEdit
|
|
@@ -81811,6 +83275,7 @@ type TimelineHistogramFeaturesType = {
|
|
|
81811
83275
|
}
|
|
81812
83276
|
|
|
81813
83277
|
type TimelineHistogramFeaturesConfigType = {
|
|
83278
|
+
ai?: string|boolean|GridAIConfig
|
|
81814
83279
|
aiFilter?: string|boolean|AIFilterConfig
|
|
81815
83280
|
cellCopyPaste?: string|boolean|CellCopyPasteConfig
|
|
81816
83281
|
cellEdit?: string|boolean|CellEditConfig
|
|
@@ -81976,6 +83441,10 @@ type TimelineHistogramConfig = {
|
|
|
81976
83441
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineHistogram#config-bodyCls)
|
|
81977
83442
|
*/
|
|
81978
83443
|
bodyCls?: string|object
|
|
83444
|
+
/**
|
|
83445
|
+
* Set `true` to add a border to this container's element.
|
|
83446
|
+
*/
|
|
83447
|
+
border?: boolean
|
|
81979
83448
|
/**
|
|
81980
83449
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
81981
83450
|
* hierarchy when triggered.
|
|
@@ -82041,7 +83510,7 @@ type TimelineHistogramConfig = {
|
|
|
82041
83510
|
* ...
|
|
82042
83511
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineHistogram#config-color)
|
|
82043
83512
|
*/
|
|
82044
|
-
color?:
|
|
83513
|
+
color?: Color
|
|
82045
83514
|
/**
|
|
82046
83515
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
82047
83516
|
*/
|
|
@@ -82634,7 +84103,7 @@ type TimelineHistogramConfig = {
|
|
|
82634
84103
|
* ...
|
|
82635
84104
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineHistogram#config-partner)
|
|
82636
84105
|
*/
|
|
82637
|
-
partner?: TimelineBase
|
|
84106
|
+
partner?: TimelineBase|string
|
|
82638
84107
|
/**
|
|
82639
84108
|
* Specify plugins (an array of classes) in config
|
|
82640
84109
|
*/
|
|
@@ -83152,6 +84621,14 @@ type TimelineHistogramConfig = {
|
|
|
83152
84621
|
* @param {any} event.value The value being set
|
|
83153
84622
|
*/
|
|
83154
84623
|
onBeforeCellRangeEdit?: ((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string
|
|
84624
|
+
/**
|
|
84625
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
84626
|
+
* @param {object} event Event object
|
|
84627
|
+
* @param {Grid.view.GridBase} event.source The grid instance
|
|
84628
|
+
* @param {Grid.column.Column} event.column The column
|
|
84629
|
+
* @param {boolean} event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
84630
|
+
*/
|
|
84631
|
+
onBeforeColumnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
83155
84632
|
/**
|
|
83156
84633
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
83157
84634
|
* @param {object} event Event object
|
|
@@ -83312,18 +84789,18 @@ type TimelineHistogramConfig = {
|
|
|
83312
84789
|
/**
|
|
83313
84790
|
* Fires before a row is rendered.
|
|
83314
84791
|
* @param {object} event Event object
|
|
83315
|
-
* @param {Grid.view.
|
|
83316
|
-
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
83317
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
83318
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
84792
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
84793
|
+
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
84794
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
84795
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
83319
84796
|
*/
|
|
83320
|
-
onBeforeRenderRow?: ((event: { source:
|
|
84797
|
+
onBeforeRenderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
83321
84798
|
/**
|
|
83322
84799
|
* Grid rows are about to be rendered
|
|
83323
84800
|
* @param {object} event Event object
|
|
83324
|
-
* @param {Grid.view.
|
|
84801
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
83325
84802
|
*/
|
|
83326
|
-
onBeforeRenderRows?: ((event: { source:
|
|
84803
|
+
onBeforeRenderRows?: ((event: { source: GridBase }) => void)|string
|
|
83327
84804
|
/**
|
|
83328
84805
|
* This event fires before row collapse is started.
|
|
83329
84806
|
* ...
|
|
@@ -83554,6 +85031,14 @@ type TimelineHistogramConfig = {
|
|
|
83554
85031
|
* @param {Core.data.Model} event.record The record which has been collapsed.
|
|
83555
85032
|
*/
|
|
83556
85033
|
onCollapseNode?: ((event: { source: Grid, record: Model }) => void)|string
|
|
85034
|
+
/**
|
|
85035
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
85036
|
+
* @param {object} event Event object
|
|
85037
|
+
* @param {Grid.view.GridBase} event.source The Grid instance
|
|
85038
|
+
* @param {Grid.column.Column} event.column The column being toggled
|
|
85039
|
+
* @param {boolean} event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
85040
|
+
*/
|
|
85041
|
+
onColumnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
83557
85042
|
/**
|
|
83558
85043
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
83559
85044
|
* to indicate whether the drop position is valid or not.
|
|
@@ -83642,14 +85127,14 @@ type TimelineHistogramConfig = {
|
|
|
83642
85127
|
* ...
|
|
83643
85128
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineHistogram#event-dataChange)
|
|
83644
85129
|
* @param {object} event Event object
|
|
83645
|
-
* @param {Grid.view.
|
|
85130
|
+
* @param {Grid.view.GridBase} event.source Owning grid
|
|
83646
85131
|
* @param {Core.data.Store} event.store The originating store
|
|
83647
85132
|
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
83648
85133
|
* @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
83649
85134
|
* @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
|
|
83650
85135
|
* @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
|
|
83651
85136
|
*/
|
|
83652
|
-
onDataChange?: ((event: { source:
|
|
85137
|
+
onDataChange?: ((event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string
|
|
83653
85138
|
/**
|
|
83654
85139
|
* Fired when the range of dates encapsulated by the UI changes. This will be when
|
|
83655
85140
|
* moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
|
|
@@ -84003,18 +85488,18 @@ type TimelineHistogramConfig = {
|
|
|
84003
85488
|
/**
|
|
84004
85489
|
* Fires after a row is rendered.
|
|
84005
85490
|
* @param {object} event Event object
|
|
84006
|
-
* @param {Grid.view.
|
|
84007
|
-
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
84008
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
84009
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
85491
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
85492
|
+
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
85493
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
85494
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
84010
85495
|
*/
|
|
84011
|
-
onRenderRow?: ((event: { source:
|
|
85496
|
+
onRenderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
84012
85497
|
/**
|
|
84013
85498
|
* Grid rows have been rendered
|
|
84014
85499
|
* @param {object} event Event object
|
|
84015
|
-
* @param {Grid.view.
|
|
85500
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
84016
85501
|
*/
|
|
84017
|
-
onRenderRows?: ((event: { source:
|
|
85502
|
+
onRenderRows?: ((event: { source: GridBase }) => void)|string
|
|
84018
85503
|
/**
|
|
84019
85504
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
84020
85505
|
* @param {object} event Event object
|
|
@@ -84192,10 +85677,10 @@ type TimelineHistogramConfig = {
|
|
|
84192
85677
|
/**
|
|
84193
85678
|
* Grid has scrolled vertically
|
|
84194
85679
|
* @param {object} event Event object
|
|
84195
|
-
* @param {Grid.view.
|
|
85680
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance.
|
|
84196
85681
|
* @param {number} event.scrollTop The vertical scroll position.
|
|
84197
85682
|
*/
|
|
84198
|
-
onScroll?: ((event: { source:
|
|
85683
|
+
onScroll?: ((event: { source: GridBase, scrollTop: number }) => void)|string
|
|
84199
85684
|
/**
|
|
84200
85685
|
* The selection has been changed.
|
|
84201
85686
|
* @param {object} event Event object
|
|
@@ -84283,17 +85768,17 @@ type TimelineHistogramConfig = {
|
|
|
84283
85768
|
/**
|
|
84284
85769
|
* Fires after a sub grid is collapsed.
|
|
84285
85770
|
* @param {object} event Event object
|
|
84286
|
-
* @param {Grid.view.
|
|
85771
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
84287
85772
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
84288
85773
|
*/
|
|
84289
|
-
onSubGridCollapse?: ((event: { source:
|
|
85774
|
+
onSubGridCollapse?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
84290
85775
|
/**
|
|
84291
85776
|
* Fires after a sub grid is expanded.
|
|
84292
85777
|
* @param {object} event Event object
|
|
84293
|
-
* @param {Grid.view.
|
|
85778
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
84294
85779
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
84295
85780
|
*/
|
|
84296
|
-
onSubGridExpand?: ((event: { source:
|
|
85781
|
+
onSubGridExpand?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
84297
85782
|
/**
|
|
84298
85783
|
* Fired when the tick size changes.
|
|
84299
85784
|
* ...
|
|
@@ -86007,17 +87492,15 @@ export class TimelineHistogram extends TimelineHistogramBase {
|
|
|
86007
87492
|
static optionalL(text: string, templateData?: any): string;
|
|
86008
87493
|
/**
|
|
86009
87494
|
* Analogous to `document.querySelector`, finds the first Bryntum widget matching the passed
|
|
86010
|
-
* selector.
|
|
86011
|
-
*
|
|
86012
|
-
* @param {string,Function} selector A lowercased class name, or a filter function.
|
|
87495
|
+
* selector. Supported selector formats:
|
|
87496
|
+
* @param {Core.widget.Widget,string,Function} selector A widget instance, widget type, id selector (#id), attribute selector ([attr=value]), or filter function.
|
|
86013
87497
|
* @param {boolean} deep Specify `true` to search the prototype chain (requires supplying a string `selector`). For example 'widget' would then find a Grid
|
|
86014
87498
|
*/
|
|
86015
|
-
static query(selector: string|Function, deep?: boolean): Widget;
|
|
87499
|
+
static query(selector: Widget|string|Function, deep?: boolean): Widget;
|
|
86016
87500
|
/**
|
|
86017
|
-
* Analogous to document.querySelectorAll
|
|
86018
|
-
* selector.
|
|
86019
|
-
*
|
|
86020
|
-
* @param {string,Function} selector A lowercased class name, or a filter function.
|
|
87501
|
+
* Analogous to `document.querySelectorAll`, finds all Bryntum widgets matching the passed
|
|
87502
|
+
* selector. Supported selector formats:
|
|
87503
|
+
* @param {string,Function} selector A widget type, id selector (#id), attribute selector ([attr=value]), or filter function.
|
|
86021
87504
|
* @param {boolean} deep Specify `true` to search the prototype chain (requires supplying a string `selector`). For example 'widget' would then find a Grid
|
|
86022
87505
|
*/
|
|
86023
87506
|
static queryAll(selector: string|Function, deep?: boolean): Widget[];
|
|
@@ -87153,6 +88636,14 @@ type TimelineHistogramBaseListenersTypes = {
|
|
|
87153
88636
|
* @param {any} event.value The value being set
|
|
87154
88637
|
*/
|
|
87155
88638
|
beforeCellRangeEdit: (event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void
|
|
88639
|
+
/**
|
|
88640
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
88641
|
+
* @param {object} event Event object
|
|
88642
|
+
* @param {Grid.view.GridBase} event.source The grid instance
|
|
88643
|
+
* @param {Grid.column.Column} event.column The column
|
|
88644
|
+
* @param {boolean} event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
88645
|
+
*/
|
|
88646
|
+
beforeColumnCollapseToggle: (event: { source: GridBase, column: Column, collapsed: boolean }) => void
|
|
87156
88647
|
/**
|
|
87157
88648
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
87158
88649
|
* @param {object} event Event object
|
|
@@ -87307,18 +88798,18 @@ type TimelineHistogramBaseListenersTypes = {
|
|
|
87307
88798
|
/**
|
|
87308
88799
|
* Fires before a row is rendered.
|
|
87309
88800
|
* @param {object} event Event object
|
|
87310
|
-
* @param {Grid.view.
|
|
87311
|
-
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
87312
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
87313
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
88801
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
88802
|
+
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
88803
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
88804
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
87314
88805
|
*/
|
|
87315
|
-
beforeRenderRow: (event: { source:
|
|
88806
|
+
beforeRenderRow: (event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void
|
|
87316
88807
|
/**
|
|
87317
88808
|
* Grid rows are about to be rendered
|
|
87318
88809
|
* @param {object} event Event object
|
|
87319
|
-
* @param {Grid.view.
|
|
88810
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
87320
88811
|
*/
|
|
87321
|
-
beforeRenderRows: (event: { source:
|
|
88812
|
+
beforeRenderRows: (event: { source: GridBase }) => void
|
|
87322
88813
|
/**
|
|
87323
88814
|
* This event fires before row collapse is started.
|
|
87324
88815
|
* ...
|
|
@@ -87549,6 +89040,14 @@ type TimelineHistogramBaseListenersTypes = {
|
|
|
87549
89040
|
* @param {Core.data.Model} event.record The record which has been collapsed.
|
|
87550
89041
|
*/
|
|
87551
89042
|
collapseNode: (event: { source: Grid, record: Model }) => void
|
|
89043
|
+
/**
|
|
89044
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
89045
|
+
* @param {object} event Event object
|
|
89046
|
+
* @param {Grid.view.GridBase} event.source The Grid instance
|
|
89047
|
+
* @param {Grid.column.Column} event.column The column being toggled
|
|
89048
|
+
* @param {boolean} event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
89049
|
+
*/
|
|
89050
|
+
columnCollapseToggle: (event: { source: GridBase, column: Column, collapsed: boolean }) => void
|
|
87552
89051
|
/**
|
|
87553
89052
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
87554
89053
|
* to indicate whether the drop position is valid or not.
|
|
@@ -87630,14 +89129,14 @@ type TimelineHistogramBaseListenersTypes = {
|
|
|
87630
89129
|
* ...
|
|
87631
89130
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineHistogramBase#event-dataChange)
|
|
87632
89131
|
* @param {object} event Event object
|
|
87633
|
-
* @param {Grid.view.
|
|
89132
|
+
* @param {Grid.view.GridBase} event.source Owning grid
|
|
87634
89133
|
* @param {Core.data.Store} event.store The originating store
|
|
87635
89134
|
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
87636
89135
|
* @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
87637
89136
|
* @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
|
|
87638
89137
|
* @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
|
|
87639
89138
|
*/
|
|
87640
|
-
dataChange: (event: { source:
|
|
89139
|
+
dataChange: (event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void
|
|
87641
89140
|
/**
|
|
87642
89141
|
* Fired when the range of dates encapsulated by the UI changes. This will be when
|
|
87643
89142
|
* moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
|
|
@@ -87991,18 +89490,18 @@ type TimelineHistogramBaseListenersTypes = {
|
|
|
87991
89490
|
/**
|
|
87992
89491
|
* Fires after a row is rendered.
|
|
87993
89492
|
* @param {object} event Event object
|
|
87994
|
-
* @param {Grid.view.
|
|
87995
|
-
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
87996
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
87997
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
89493
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
89494
|
+
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
89495
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
89496
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
87998
89497
|
*/
|
|
87999
|
-
renderRow: (event: { source:
|
|
89498
|
+
renderRow: (event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void
|
|
88000
89499
|
/**
|
|
88001
89500
|
* Grid rows have been rendered
|
|
88002
89501
|
* @param {object} event Event object
|
|
88003
|
-
* @param {Grid.view.
|
|
89502
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
88004
89503
|
*/
|
|
88005
|
-
renderRows: (event: { source:
|
|
89504
|
+
renderRows: (event: { source: GridBase }) => void
|
|
88006
89505
|
/**
|
|
88007
89506
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
88008
89507
|
* @param {object} event Event object
|
|
@@ -88062,10 +89561,10 @@ type TimelineHistogramBaseListenersTypes = {
|
|
|
88062
89561
|
/**
|
|
88063
89562
|
* Grid has scrolled vertically
|
|
88064
89563
|
* @param {object} event Event object
|
|
88065
|
-
* @param {Grid.view.
|
|
89564
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance.
|
|
88066
89565
|
* @param {number} event.scrollTop The vertical scroll position.
|
|
88067
89566
|
*/
|
|
88068
|
-
scroll: (event: { source:
|
|
89567
|
+
scroll: (event: { source: GridBase, scrollTop: number }) => void
|
|
88069
89568
|
/**
|
|
88070
89569
|
* The selection has been changed.
|
|
88071
89570
|
* @param {object} event Event object
|
|
@@ -88153,17 +89652,17 @@ type TimelineHistogramBaseListenersTypes = {
|
|
|
88153
89652
|
/**
|
|
88154
89653
|
* Fires after a sub grid is collapsed.
|
|
88155
89654
|
* @param {object} event Event object
|
|
88156
|
-
* @param {Grid.view.
|
|
89655
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
88157
89656
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
88158
89657
|
*/
|
|
88159
|
-
subGridCollapse: (event: { source:
|
|
89658
|
+
subGridCollapse: (event: { source: GridBase, subGrid: SubGrid }) => void
|
|
88160
89659
|
/**
|
|
88161
89660
|
* Fires after a sub grid is expanded.
|
|
88162
89661
|
* @param {object} event Event object
|
|
88163
|
-
* @param {Grid.view.
|
|
89662
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
88164
89663
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
88165
89664
|
*/
|
|
88166
|
-
subGridExpand: (event: { source:
|
|
89665
|
+
subGridExpand: (event: { source: GridBase, subGrid: SubGrid }) => void
|
|
88167
89666
|
/**
|
|
88168
89667
|
* Fired when the tick size changes.
|
|
88169
89668
|
* ...
|
|
@@ -88349,6 +89848,14 @@ type TimelineHistogramBaseListeners = {
|
|
|
88349
89848
|
* @param {any} event.value The value being set
|
|
88350
89849
|
*/
|
|
88351
89850
|
beforeCellRangeEdit?: ((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string
|
|
89851
|
+
/**
|
|
89852
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
89853
|
+
* @param {object} event Event object
|
|
89854
|
+
* @param {Grid.view.GridBase} event.source The grid instance
|
|
89855
|
+
* @param {Grid.column.Column} event.column The column
|
|
89856
|
+
* @param {boolean} event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
89857
|
+
*/
|
|
89858
|
+
beforeColumnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
88352
89859
|
/**
|
|
88353
89860
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
88354
89861
|
* @param {object} event Event object
|
|
@@ -88503,18 +90010,18 @@ type TimelineHistogramBaseListeners = {
|
|
|
88503
90010
|
/**
|
|
88504
90011
|
* Fires before a row is rendered.
|
|
88505
90012
|
* @param {object} event Event object
|
|
88506
|
-
* @param {Grid.view.
|
|
88507
|
-
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
88508
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
88509
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
90013
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
90014
|
+
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
90015
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
90016
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
88510
90017
|
*/
|
|
88511
|
-
beforeRenderRow?: ((event: { source:
|
|
90018
|
+
beforeRenderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
88512
90019
|
/**
|
|
88513
90020
|
* Grid rows are about to be rendered
|
|
88514
90021
|
* @param {object} event Event object
|
|
88515
|
-
* @param {Grid.view.
|
|
90022
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
88516
90023
|
*/
|
|
88517
|
-
beforeRenderRows?: ((event: { source:
|
|
90024
|
+
beforeRenderRows?: ((event: { source: GridBase }) => void)|string
|
|
88518
90025
|
/**
|
|
88519
90026
|
* This event fires before row collapse is started.
|
|
88520
90027
|
* ...
|
|
@@ -88745,6 +90252,14 @@ type TimelineHistogramBaseListeners = {
|
|
|
88745
90252
|
* @param {Core.data.Model} event.record The record which has been collapsed.
|
|
88746
90253
|
*/
|
|
88747
90254
|
collapseNode?: ((event: { source: Grid, record: Model }) => void)|string
|
|
90255
|
+
/**
|
|
90256
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
90257
|
+
* @param {object} event Event object
|
|
90258
|
+
* @param {Grid.view.GridBase} event.source The Grid instance
|
|
90259
|
+
* @param {Grid.column.Column} event.column The column being toggled
|
|
90260
|
+
* @param {boolean} event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
90261
|
+
*/
|
|
90262
|
+
columnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
88748
90263
|
/**
|
|
88749
90264
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
88750
90265
|
* to indicate whether the drop position is valid or not.
|
|
@@ -88826,14 +90341,14 @@ type TimelineHistogramBaseListeners = {
|
|
|
88826
90341
|
* ...
|
|
88827
90342
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineHistogramBase#event-dataChange)
|
|
88828
90343
|
* @param {object} event Event object
|
|
88829
|
-
* @param {Grid.view.
|
|
90344
|
+
* @param {Grid.view.GridBase} event.source Owning grid
|
|
88830
90345
|
* @param {Core.data.Store} event.store The originating store
|
|
88831
90346
|
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
88832
90347
|
* @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
88833
90348
|
* @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
|
|
88834
90349
|
* @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
|
|
88835
90350
|
*/
|
|
88836
|
-
dataChange?: ((event: { source:
|
|
90351
|
+
dataChange?: ((event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string
|
|
88837
90352
|
/**
|
|
88838
90353
|
* Fired when the range of dates encapsulated by the UI changes. This will be when
|
|
88839
90354
|
* moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
|
|
@@ -89187,18 +90702,18 @@ type TimelineHistogramBaseListeners = {
|
|
|
89187
90702
|
/**
|
|
89188
90703
|
* Fires after a row is rendered.
|
|
89189
90704
|
* @param {object} event Event object
|
|
89190
|
-
* @param {Grid.view.
|
|
89191
|
-
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
89192
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
89193
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
90705
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
90706
|
+
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
90707
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
90708
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
89194
90709
|
*/
|
|
89195
|
-
renderRow?: ((event: { source:
|
|
90710
|
+
renderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
89196
90711
|
/**
|
|
89197
90712
|
* Grid rows have been rendered
|
|
89198
90713
|
* @param {object} event Event object
|
|
89199
|
-
* @param {Grid.view.
|
|
90714
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
89200
90715
|
*/
|
|
89201
|
-
renderRows?: ((event: { source:
|
|
90716
|
+
renderRows?: ((event: { source: GridBase }) => void)|string
|
|
89202
90717
|
/**
|
|
89203
90718
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
89204
90719
|
* @param {object} event Event object
|
|
@@ -89258,10 +90773,10 @@ type TimelineHistogramBaseListeners = {
|
|
|
89258
90773
|
/**
|
|
89259
90774
|
* Grid has scrolled vertically
|
|
89260
90775
|
* @param {object} event Event object
|
|
89261
|
-
* @param {Grid.view.
|
|
90776
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance.
|
|
89262
90777
|
* @param {number} event.scrollTop The vertical scroll position.
|
|
89263
90778
|
*/
|
|
89264
|
-
scroll?: ((event: { source:
|
|
90779
|
+
scroll?: ((event: { source: GridBase, scrollTop: number }) => void)|string
|
|
89265
90780
|
/**
|
|
89266
90781
|
* The selection has been changed.
|
|
89267
90782
|
* @param {object} event Event object
|
|
@@ -89349,17 +90864,17 @@ type TimelineHistogramBaseListeners = {
|
|
|
89349
90864
|
/**
|
|
89350
90865
|
* Fires after a sub grid is collapsed.
|
|
89351
90866
|
* @param {object} event Event object
|
|
89352
|
-
* @param {Grid.view.
|
|
90867
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
89353
90868
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
89354
90869
|
*/
|
|
89355
|
-
subGridCollapse?: ((event: { source:
|
|
90870
|
+
subGridCollapse?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
89356
90871
|
/**
|
|
89357
90872
|
* Fires after a sub grid is expanded.
|
|
89358
90873
|
* @param {object} event Event object
|
|
89359
|
-
* @param {Grid.view.
|
|
90874
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
89360
90875
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
89361
90876
|
*/
|
|
89362
|
-
subGridExpand?: ((event: { source:
|
|
90877
|
+
subGridExpand?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
89363
90878
|
/**
|
|
89364
90879
|
* Fired when the tick size changes.
|
|
89365
90880
|
* ...
|
|
@@ -89475,6 +90990,7 @@ type TimelineHistogramBaseListeners = {
|
|
|
89475
90990
|
}
|
|
89476
90991
|
|
|
89477
90992
|
type TimelineHistogramBaseFeaturesType = {
|
|
90993
|
+
ai: GridAI
|
|
89478
90994
|
aiFilter: AIFilter
|
|
89479
90995
|
cellCopyPaste: CellCopyPaste
|
|
89480
90996
|
cellEdit: CellEdit
|
|
@@ -89518,6 +91034,7 @@ type TimelineHistogramBaseFeaturesType = {
|
|
|
89518
91034
|
}
|
|
89519
91035
|
|
|
89520
91036
|
type TimelineHistogramBaseFeaturesConfigType = {
|
|
91037
|
+
ai?: string|boolean|GridAIConfig
|
|
89521
91038
|
aiFilter?: string|boolean|AIFilterConfig
|
|
89522
91039
|
cellCopyPaste?: string|boolean|CellCopyPasteConfig
|
|
89523
91040
|
cellEdit?: string|boolean|CellEditConfig
|
|
@@ -89657,6 +91174,10 @@ type TimelineHistogramBaseConfig = {
|
|
|
89657
91174
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineHistogramBase#config-bodyCls)
|
|
89658
91175
|
*/
|
|
89659
91176
|
bodyCls?: string|object
|
|
91177
|
+
/**
|
|
91178
|
+
* Set `true` to add a border to this container's element.
|
|
91179
|
+
*/
|
|
91180
|
+
border?: boolean
|
|
89660
91181
|
/**
|
|
89661
91182
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
89662
91183
|
* hierarchy when triggered.
|
|
@@ -89722,7 +91243,7 @@ type TimelineHistogramBaseConfig = {
|
|
|
89722
91243
|
* ...
|
|
89723
91244
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineHistogramBase#config-color)
|
|
89724
91245
|
*/
|
|
89725
|
-
color?:
|
|
91246
|
+
color?: Color
|
|
89726
91247
|
/**
|
|
89727
91248
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
89728
91249
|
*/
|
|
@@ -90291,7 +91812,7 @@ type TimelineHistogramBaseConfig = {
|
|
|
90291
91812
|
* ...
|
|
90292
91813
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineHistogramBase#config-partner)
|
|
90293
91814
|
*/
|
|
90294
|
-
partner?: TimelineBase
|
|
91815
|
+
partner?: TimelineBase|string
|
|
90295
91816
|
/**
|
|
90296
91817
|
* Specify plugins (an array of classes) in config
|
|
90297
91818
|
*/
|
|
@@ -90782,6 +92303,14 @@ type TimelineHistogramBaseConfig = {
|
|
|
90782
92303
|
* @param {any} event.value The value being set
|
|
90783
92304
|
*/
|
|
90784
92305
|
onBeforeCellRangeEdit?: ((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string
|
|
92306
|
+
/**
|
|
92307
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
92308
|
+
* @param {object} event Event object
|
|
92309
|
+
* @param {Grid.view.GridBase} event.source The grid instance
|
|
92310
|
+
* @param {Grid.column.Column} event.column The column
|
|
92311
|
+
* @param {boolean} event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
92312
|
+
*/
|
|
92313
|
+
onBeforeColumnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
90785
92314
|
/**
|
|
90786
92315
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
90787
92316
|
* @param {object} event Event object
|
|
@@ -90936,18 +92465,18 @@ type TimelineHistogramBaseConfig = {
|
|
|
90936
92465
|
/**
|
|
90937
92466
|
* Fires before a row is rendered.
|
|
90938
92467
|
* @param {object} event Event object
|
|
90939
|
-
* @param {Grid.view.
|
|
90940
|
-
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
90941
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
90942
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
92468
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
92469
|
+
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
92470
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
92471
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
90943
92472
|
*/
|
|
90944
|
-
onBeforeRenderRow?: ((event: { source:
|
|
92473
|
+
onBeforeRenderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
90945
92474
|
/**
|
|
90946
92475
|
* Grid rows are about to be rendered
|
|
90947
92476
|
* @param {object} event Event object
|
|
90948
|
-
* @param {Grid.view.
|
|
92477
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
90949
92478
|
*/
|
|
90950
|
-
onBeforeRenderRows?: ((event: { source:
|
|
92479
|
+
onBeforeRenderRows?: ((event: { source: GridBase }) => void)|string
|
|
90951
92480
|
/**
|
|
90952
92481
|
* This event fires before row collapse is started.
|
|
90953
92482
|
* ...
|
|
@@ -91178,6 +92707,14 @@ type TimelineHistogramBaseConfig = {
|
|
|
91178
92707
|
* @param {Core.data.Model} event.record The record which has been collapsed.
|
|
91179
92708
|
*/
|
|
91180
92709
|
onCollapseNode?: ((event: { source: Grid, record: Model }) => void)|string
|
|
92710
|
+
/**
|
|
92711
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
92712
|
+
* @param {object} event Event object
|
|
92713
|
+
* @param {Grid.view.GridBase} event.source The Grid instance
|
|
92714
|
+
* @param {Grid.column.Column} event.column The column being toggled
|
|
92715
|
+
* @param {boolean} event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
92716
|
+
*/
|
|
92717
|
+
onColumnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
91181
92718
|
/**
|
|
91182
92719
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
91183
92720
|
* to indicate whether the drop position is valid or not.
|
|
@@ -91259,14 +92796,14 @@ type TimelineHistogramBaseConfig = {
|
|
|
91259
92796
|
* ...
|
|
91260
92797
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineHistogramBase#event-dataChange)
|
|
91261
92798
|
* @param {object} event Event object
|
|
91262
|
-
* @param {Grid.view.
|
|
92799
|
+
* @param {Grid.view.GridBase} event.source Owning grid
|
|
91263
92800
|
* @param {Core.data.Store} event.store The originating store
|
|
91264
92801
|
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
91265
92802
|
* @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
91266
92803
|
* @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
|
|
91267
92804
|
* @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
|
|
91268
92805
|
*/
|
|
91269
|
-
onDataChange?: ((event: { source:
|
|
92806
|
+
onDataChange?: ((event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string
|
|
91270
92807
|
/**
|
|
91271
92808
|
* Fired when the range of dates encapsulated by the UI changes. This will be when
|
|
91272
92809
|
* moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
|
|
@@ -91620,18 +93157,18 @@ type TimelineHistogramBaseConfig = {
|
|
|
91620
93157
|
/**
|
|
91621
93158
|
* Fires after a row is rendered.
|
|
91622
93159
|
* @param {object} event Event object
|
|
91623
|
-
* @param {Grid.view.
|
|
91624
|
-
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
91625
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
91626
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
93160
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
93161
|
+
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
93162
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
93163
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
91627
93164
|
*/
|
|
91628
|
-
onRenderRow?: ((event: { source:
|
|
93165
|
+
onRenderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
91629
93166
|
/**
|
|
91630
93167
|
* Grid rows have been rendered
|
|
91631
93168
|
* @param {object} event Event object
|
|
91632
|
-
* @param {Grid.view.
|
|
93169
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
91633
93170
|
*/
|
|
91634
|
-
onRenderRows?: ((event: { source:
|
|
93171
|
+
onRenderRows?: ((event: { source: GridBase }) => void)|string
|
|
91635
93172
|
/**
|
|
91636
93173
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
91637
93174
|
* @param {object} event Event object
|
|
@@ -91691,10 +93228,10 @@ type TimelineHistogramBaseConfig = {
|
|
|
91691
93228
|
/**
|
|
91692
93229
|
* Grid has scrolled vertically
|
|
91693
93230
|
* @param {object} event Event object
|
|
91694
|
-
* @param {Grid.view.
|
|
93231
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance.
|
|
91695
93232
|
* @param {number} event.scrollTop The vertical scroll position.
|
|
91696
93233
|
*/
|
|
91697
|
-
onScroll?: ((event: { source:
|
|
93234
|
+
onScroll?: ((event: { source: GridBase, scrollTop: number }) => void)|string
|
|
91698
93235
|
/**
|
|
91699
93236
|
* The selection has been changed.
|
|
91700
93237
|
* @param {object} event Event object
|
|
@@ -91782,17 +93319,17 @@ type TimelineHistogramBaseConfig = {
|
|
|
91782
93319
|
/**
|
|
91783
93320
|
* Fires after a sub grid is collapsed.
|
|
91784
93321
|
* @param {object} event Event object
|
|
91785
|
-
* @param {Grid.view.
|
|
93322
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
91786
93323
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
91787
93324
|
*/
|
|
91788
|
-
onSubGridCollapse?: ((event: { source:
|
|
93325
|
+
onSubGridCollapse?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
91789
93326
|
/**
|
|
91790
93327
|
* Fires after a sub grid is expanded.
|
|
91791
93328
|
* @param {object} event Event object
|
|
91792
|
-
* @param {Grid.view.
|
|
93329
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
91793
93330
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
91794
93331
|
*/
|
|
91795
|
-
onSubGridExpand?: ((event: { source:
|
|
93332
|
+
onSubGridExpand?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
91796
93333
|
/**
|
|
91797
93334
|
* Fired when the tick size changes.
|
|
91798
93335
|
* ...
|
|
@@ -92753,6 +94290,10 @@ type SchedulerExportDialogConfig = {
|
|
|
92753
94290
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/export/SchedulerExportDialog#config-bodyCls)
|
|
92754
94291
|
*/
|
|
92755
94292
|
bodyCls?: string|object
|
|
94293
|
+
/**
|
|
94294
|
+
* Set `true` to add a border to this container's element.
|
|
94295
|
+
*/
|
|
94296
|
+
border?: boolean
|
|
92756
94297
|
/**
|
|
92757
94298
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
92758
94299
|
* hierarchy when triggered.
|
|
@@ -92825,7 +94366,7 @@ type SchedulerExportDialogConfig = {
|
|
|
92825
94366
|
* ...
|
|
92826
94367
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/export/SchedulerExportDialog#config-color)
|
|
92827
94368
|
*/
|
|
92828
|
-
color?:
|
|
94369
|
+
color?: Color
|
|
92829
94370
|
/**
|
|
92830
94371
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
92831
94372
|
*/
|
|
@@ -95761,6 +97302,14 @@ type TimelineHistogramGroupingClassListenersTypes = {
|
|
|
95761
97302
|
* @param {any} event.value The value being set
|
|
95762
97303
|
*/
|
|
95763
97304
|
beforeCellRangeEdit: (event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void
|
|
97305
|
+
/**
|
|
97306
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
97307
|
+
* @param {object} event Event object
|
|
97308
|
+
* @param {Grid.view.GridBase} event.source The grid instance
|
|
97309
|
+
* @param {Grid.column.Column} event.column The column
|
|
97310
|
+
* @param {boolean} event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
97311
|
+
*/
|
|
97312
|
+
beforeColumnCollapseToggle: (event: { source: GridBase, column: Column, collapsed: boolean }) => void
|
|
95764
97313
|
/**
|
|
95765
97314
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
95766
97315
|
* @param {object} event Event object
|
|
@@ -95915,18 +97464,18 @@ type TimelineHistogramGroupingClassListenersTypes = {
|
|
|
95915
97464
|
/**
|
|
95916
97465
|
* Fires before a row is rendered.
|
|
95917
97466
|
* @param {object} event Event object
|
|
95918
|
-
* @param {Grid.view.
|
|
95919
|
-
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
95920
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
95921
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
97467
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
97468
|
+
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
97469
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
97470
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
95922
97471
|
*/
|
|
95923
|
-
beforeRenderRow: (event: { source:
|
|
97472
|
+
beforeRenderRow: (event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void
|
|
95924
97473
|
/**
|
|
95925
97474
|
* Grid rows are about to be rendered
|
|
95926
97475
|
* @param {object} event Event object
|
|
95927
|
-
* @param {Grid.view.
|
|
97476
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
95928
97477
|
*/
|
|
95929
|
-
beforeRenderRows: (event: { source:
|
|
97478
|
+
beforeRenderRows: (event: { source: GridBase }) => void
|
|
95930
97479
|
/**
|
|
95931
97480
|
* This event fires before row collapse is started.
|
|
95932
97481
|
* ...
|
|
@@ -96157,6 +97706,14 @@ type TimelineHistogramGroupingClassListenersTypes = {
|
|
|
96157
97706
|
* @param {Core.data.Model} event.record The record which has been collapsed.
|
|
96158
97707
|
*/
|
|
96159
97708
|
collapseNode: (event: { source: Grid, record: Model }) => void
|
|
97709
|
+
/**
|
|
97710
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
97711
|
+
* @param {object} event Event object
|
|
97712
|
+
* @param {Grid.view.GridBase} event.source The Grid instance
|
|
97713
|
+
* @param {Grid.column.Column} event.column The column being toggled
|
|
97714
|
+
* @param {boolean} event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
97715
|
+
*/
|
|
97716
|
+
columnCollapseToggle: (event: { source: GridBase, column: Column, collapsed: boolean }) => void
|
|
96160
97717
|
/**
|
|
96161
97718
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
96162
97719
|
* to indicate whether the drop position is valid or not.
|
|
@@ -96238,14 +97795,14 @@ type TimelineHistogramGroupingClassListenersTypes = {
|
|
|
96238
97795
|
* ...
|
|
96239
97796
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/mixin/TimelineHistogramGrouping#event-dataChange)
|
|
96240
97797
|
* @param {object} event Event object
|
|
96241
|
-
* @param {Grid.view.
|
|
97798
|
+
* @param {Grid.view.GridBase} event.source Owning grid
|
|
96242
97799
|
* @param {Core.data.Store} event.store The originating store
|
|
96243
97800
|
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
96244
97801
|
* @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
96245
97802
|
* @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
|
|
96246
97803
|
* @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
|
|
96247
97804
|
*/
|
|
96248
|
-
dataChange: (event: { source:
|
|
97805
|
+
dataChange: (event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void
|
|
96249
97806
|
/**
|
|
96250
97807
|
* Fired when the range of dates encapsulated by the UI changes. This will be when
|
|
96251
97808
|
* moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
|
|
@@ -96599,18 +98156,18 @@ type TimelineHistogramGroupingClassListenersTypes = {
|
|
|
96599
98156
|
/**
|
|
96600
98157
|
* Fires after a row is rendered.
|
|
96601
98158
|
* @param {object} event Event object
|
|
96602
|
-
* @param {Grid.view.
|
|
96603
|
-
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
96604
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
96605
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
98159
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
98160
|
+
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
98161
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
98162
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
96606
98163
|
*/
|
|
96607
|
-
renderRow: (event: { source:
|
|
98164
|
+
renderRow: (event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void
|
|
96608
98165
|
/**
|
|
96609
98166
|
* Grid rows have been rendered
|
|
96610
98167
|
* @param {object} event Event object
|
|
96611
|
-
* @param {Grid.view.
|
|
98168
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
96612
98169
|
*/
|
|
96613
|
-
renderRows: (event: { source:
|
|
98170
|
+
renderRows: (event: { source: GridBase }) => void
|
|
96614
98171
|
/**
|
|
96615
98172
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
96616
98173
|
* @param {object} event Event object
|
|
@@ -96670,10 +98227,10 @@ type TimelineHistogramGroupingClassListenersTypes = {
|
|
|
96670
98227
|
/**
|
|
96671
98228
|
* Grid has scrolled vertically
|
|
96672
98229
|
* @param {object} event Event object
|
|
96673
|
-
* @param {Grid.view.
|
|
98230
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance.
|
|
96674
98231
|
* @param {number} event.scrollTop The vertical scroll position.
|
|
96675
98232
|
*/
|
|
96676
|
-
scroll: (event: { source:
|
|
98233
|
+
scroll: (event: { source: GridBase, scrollTop: number }) => void
|
|
96677
98234
|
/**
|
|
96678
98235
|
* The selection has been changed.
|
|
96679
98236
|
* @param {object} event Event object
|
|
@@ -96761,17 +98318,17 @@ type TimelineHistogramGroupingClassListenersTypes = {
|
|
|
96761
98318
|
/**
|
|
96762
98319
|
* Fires after a sub grid is collapsed.
|
|
96763
98320
|
* @param {object} event Event object
|
|
96764
|
-
* @param {Grid.view.
|
|
98321
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
96765
98322
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
96766
98323
|
*/
|
|
96767
|
-
subGridCollapse: (event: { source:
|
|
98324
|
+
subGridCollapse: (event: { source: GridBase, subGrid: SubGrid }) => void
|
|
96768
98325
|
/**
|
|
96769
98326
|
* Fires after a sub grid is expanded.
|
|
96770
98327
|
* @param {object} event Event object
|
|
96771
|
-
* @param {Grid.view.
|
|
98328
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
96772
98329
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
96773
98330
|
*/
|
|
96774
|
-
subGridExpand: (event: { source:
|
|
98331
|
+
subGridExpand: (event: { source: GridBase, subGrid: SubGrid }) => void
|
|
96775
98332
|
/**
|
|
96776
98333
|
* Fired when the tick size changes.
|
|
96777
98334
|
* ...
|
|
@@ -96957,6 +98514,14 @@ type TimelineHistogramGroupingClassListeners = {
|
|
|
96957
98514
|
* @param {any} event.value The value being set
|
|
96958
98515
|
*/
|
|
96959
98516
|
beforeCellRangeEdit?: ((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string
|
|
98517
|
+
/**
|
|
98518
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
98519
|
+
* @param {object} event Event object
|
|
98520
|
+
* @param {Grid.view.GridBase} event.source The grid instance
|
|
98521
|
+
* @param {Grid.column.Column} event.column The column
|
|
98522
|
+
* @param {boolean} event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
98523
|
+
*/
|
|
98524
|
+
beforeColumnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
96960
98525
|
/**
|
|
96961
98526
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
96962
98527
|
* @param {object} event Event object
|
|
@@ -97111,18 +98676,18 @@ type TimelineHistogramGroupingClassListeners = {
|
|
|
97111
98676
|
/**
|
|
97112
98677
|
* Fires before a row is rendered.
|
|
97113
98678
|
* @param {object} event Event object
|
|
97114
|
-
* @param {Grid.view.
|
|
97115
|
-
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
97116
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
97117
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
98679
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
98680
|
+
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
98681
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
98682
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
97118
98683
|
*/
|
|
97119
|
-
beforeRenderRow?: ((event: { source:
|
|
98684
|
+
beforeRenderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
97120
98685
|
/**
|
|
97121
98686
|
* Grid rows are about to be rendered
|
|
97122
98687
|
* @param {object} event Event object
|
|
97123
|
-
* @param {Grid.view.
|
|
98688
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
97124
98689
|
*/
|
|
97125
|
-
beforeRenderRows?: ((event: { source:
|
|
98690
|
+
beforeRenderRows?: ((event: { source: GridBase }) => void)|string
|
|
97126
98691
|
/**
|
|
97127
98692
|
* This event fires before row collapse is started.
|
|
97128
98693
|
* ...
|
|
@@ -97353,6 +98918,14 @@ type TimelineHistogramGroupingClassListeners = {
|
|
|
97353
98918
|
* @param {Core.data.Model} event.record The record which has been collapsed.
|
|
97354
98919
|
*/
|
|
97355
98920
|
collapseNode?: ((event: { source: Grid, record: Model }) => void)|string
|
|
98921
|
+
/**
|
|
98922
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
98923
|
+
* @param {object} event Event object
|
|
98924
|
+
* @param {Grid.view.GridBase} event.source The Grid instance
|
|
98925
|
+
* @param {Grid.column.Column} event.column The column being toggled
|
|
98926
|
+
* @param {boolean} event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
98927
|
+
*/
|
|
98928
|
+
columnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
97356
98929
|
/**
|
|
97357
98930
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
97358
98931
|
* to indicate whether the drop position is valid or not.
|
|
@@ -97434,14 +99007,14 @@ type TimelineHistogramGroupingClassListeners = {
|
|
|
97434
99007
|
* ...
|
|
97435
99008
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/mixin/TimelineHistogramGrouping#event-dataChange)
|
|
97436
99009
|
* @param {object} event Event object
|
|
97437
|
-
* @param {Grid.view.
|
|
99010
|
+
* @param {Grid.view.GridBase} event.source Owning grid
|
|
97438
99011
|
* @param {Core.data.Store} event.store The originating store
|
|
97439
99012
|
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
97440
99013
|
* @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
97441
99014
|
* @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
|
|
97442
99015
|
* @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
|
|
97443
99016
|
*/
|
|
97444
|
-
dataChange?: ((event: { source:
|
|
99017
|
+
dataChange?: ((event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string
|
|
97445
99018
|
/**
|
|
97446
99019
|
* Fired when the range of dates encapsulated by the UI changes. This will be when
|
|
97447
99020
|
* moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
|
|
@@ -97795,18 +99368,18 @@ type TimelineHistogramGroupingClassListeners = {
|
|
|
97795
99368
|
/**
|
|
97796
99369
|
* Fires after a row is rendered.
|
|
97797
99370
|
* @param {object} event Event object
|
|
97798
|
-
* @param {Grid.view.
|
|
97799
|
-
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
97800
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
97801
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
99371
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
99372
|
+
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
99373
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
99374
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
97802
99375
|
*/
|
|
97803
|
-
renderRow?: ((event: { source:
|
|
99376
|
+
renderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
97804
99377
|
/**
|
|
97805
99378
|
* Grid rows have been rendered
|
|
97806
99379
|
* @param {object} event Event object
|
|
97807
|
-
* @param {Grid.view.
|
|
99380
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
97808
99381
|
*/
|
|
97809
|
-
renderRows?: ((event: { source:
|
|
99382
|
+
renderRows?: ((event: { source: GridBase }) => void)|string
|
|
97810
99383
|
/**
|
|
97811
99384
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
97812
99385
|
* @param {object} event Event object
|
|
@@ -97866,10 +99439,10 @@ type TimelineHistogramGroupingClassListeners = {
|
|
|
97866
99439
|
/**
|
|
97867
99440
|
* Grid has scrolled vertically
|
|
97868
99441
|
* @param {object} event Event object
|
|
97869
|
-
* @param {Grid.view.
|
|
99442
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance.
|
|
97870
99443
|
* @param {number} event.scrollTop The vertical scroll position.
|
|
97871
99444
|
*/
|
|
97872
|
-
scroll?: ((event: { source:
|
|
99445
|
+
scroll?: ((event: { source: GridBase, scrollTop: number }) => void)|string
|
|
97873
99446
|
/**
|
|
97874
99447
|
* The selection has been changed.
|
|
97875
99448
|
* @param {object} event Event object
|
|
@@ -97957,17 +99530,17 @@ type TimelineHistogramGroupingClassListeners = {
|
|
|
97957
99530
|
/**
|
|
97958
99531
|
* Fires after a sub grid is collapsed.
|
|
97959
99532
|
* @param {object} event Event object
|
|
97960
|
-
* @param {Grid.view.
|
|
99533
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
97961
99534
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
97962
99535
|
*/
|
|
97963
|
-
subGridCollapse?: ((event: { source:
|
|
99536
|
+
subGridCollapse?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
97964
99537
|
/**
|
|
97965
99538
|
* Fires after a sub grid is expanded.
|
|
97966
99539
|
* @param {object} event Event object
|
|
97967
|
-
* @param {Grid.view.
|
|
99540
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
97968
99541
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
97969
99542
|
*/
|
|
97970
|
-
subGridExpand?: ((event: { source:
|
|
99543
|
+
subGridExpand?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
97971
99544
|
/**
|
|
97972
99545
|
* Fired when the tick size changes.
|
|
97973
99546
|
* ...
|
|
@@ -98083,6 +99656,7 @@ type TimelineHistogramGroupingClassListeners = {
|
|
|
98083
99656
|
}
|
|
98084
99657
|
|
|
98085
99658
|
type TimelineHistogramGroupingClassFeaturesType = {
|
|
99659
|
+
ai: GridAI
|
|
98086
99660
|
aiFilter: AIFilter
|
|
98087
99661
|
cellCopyPaste: CellCopyPaste
|
|
98088
99662
|
cellEdit: CellEdit
|
|
@@ -98126,6 +99700,7 @@ type TimelineHistogramGroupingClassFeaturesType = {
|
|
|
98126
99700
|
}
|
|
98127
99701
|
|
|
98128
99702
|
type TimelineHistogramGroupingClassFeaturesConfigType = {
|
|
99703
|
+
ai?: string|boolean|GridAIConfig
|
|
98129
99704
|
aiFilter?: string|boolean|AIFilterConfig
|
|
98130
99705
|
cellCopyPaste?: string|boolean|CellCopyPasteConfig
|
|
98131
99706
|
cellEdit?: string|boolean|CellEditConfig
|
|
@@ -98281,6 +99856,10 @@ type TimelineHistogramGroupingClassConfig = {
|
|
|
98281
99856
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/mixin/TimelineHistogramGrouping#config-bodyCls)
|
|
98282
99857
|
*/
|
|
98283
99858
|
bodyCls?: string|object
|
|
99859
|
+
/**
|
|
99860
|
+
* Set `true` to add a border to this container's element.
|
|
99861
|
+
*/
|
|
99862
|
+
border?: boolean
|
|
98284
99863
|
/**
|
|
98285
99864
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
98286
99865
|
* hierarchy when triggered.
|
|
@@ -98346,7 +99925,7 @@ type TimelineHistogramGroupingClassConfig = {
|
|
|
98346
99925
|
* ...
|
|
98347
99926
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/mixin/TimelineHistogramGrouping#config-color)
|
|
98348
99927
|
*/
|
|
98349
|
-
color?:
|
|
99928
|
+
color?: Color
|
|
98350
99929
|
/**
|
|
98351
99930
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
98352
99931
|
*/
|
|
@@ -98932,7 +100511,7 @@ type TimelineHistogramGroupingClassConfig = {
|
|
|
98932
100511
|
* ...
|
|
98933
100512
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/mixin/TimelineHistogramGrouping#config-partner)
|
|
98934
100513
|
*/
|
|
98935
|
-
partner?: TimelineBase
|
|
100514
|
+
partner?: TimelineBase|string
|
|
98936
100515
|
/**
|
|
98937
100516
|
* Specify plugins (an array of classes) in config
|
|
98938
100517
|
*/
|
|
@@ -99423,6 +101002,14 @@ type TimelineHistogramGroupingClassConfig = {
|
|
|
99423
101002
|
* @param {any} event.value The value being set
|
|
99424
101003
|
*/
|
|
99425
101004
|
onBeforeCellRangeEdit?: ((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string
|
|
101005
|
+
/**
|
|
101006
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
101007
|
+
* @param {object} event Event object
|
|
101008
|
+
* @param {Grid.view.GridBase} event.source The grid instance
|
|
101009
|
+
* @param {Grid.column.Column} event.column The column
|
|
101010
|
+
* @param {boolean} event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
101011
|
+
*/
|
|
101012
|
+
onBeforeColumnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
99426
101013
|
/**
|
|
99427
101014
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
99428
101015
|
* @param {object} event Event object
|
|
@@ -99577,18 +101164,18 @@ type TimelineHistogramGroupingClassConfig = {
|
|
|
99577
101164
|
/**
|
|
99578
101165
|
* Fires before a row is rendered.
|
|
99579
101166
|
* @param {object} event Event object
|
|
99580
|
-
* @param {Grid.view.
|
|
99581
|
-
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
99582
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
99583
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
101167
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
101168
|
+
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
101169
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
101170
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
99584
101171
|
*/
|
|
99585
|
-
onBeforeRenderRow?: ((event: { source:
|
|
101172
|
+
onBeforeRenderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
99586
101173
|
/**
|
|
99587
101174
|
* Grid rows are about to be rendered
|
|
99588
101175
|
* @param {object} event Event object
|
|
99589
|
-
* @param {Grid.view.
|
|
101176
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
99590
101177
|
*/
|
|
99591
|
-
onBeforeRenderRows?: ((event: { source:
|
|
101178
|
+
onBeforeRenderRows?: ((event: { source: GridBase }) => void)|string
|
|
99592
101179
|
/**
|
|
99593
101180
|
* This event fires before row collapse is started.
|
|
99594
101181
|
* ...
|
|
@@ -99819,6 +101406,14 @@ type TimelineHistogramGroupingClassConfig = {
|
|
|
99819
101406
|
* @param {Core.data.Model} event.record The record which has been collapsed.
|
|
99820
101407
|
*/
|
|
99821
101408
|
onCollapseNode?: ((event: { source: Grid, record: Model }) => void)|string
|
|
101409
|
+
/**
|
|
101410
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
101411
|
+
* @param {object} event Event object
|
|
101412
|
+
* @param {Grid.view.GridBase} event.source The Grid instance
|
|
101413
|
+
* @param {Grid.column.Column} event.column The column being toggled
|
|
101414
|
+
* @param {boolean} event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
101415
|
+
*/
|
|
101416
|
+
onColumnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
99822
101417
|
/**
|
|
99823
101418
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
99824
101419
|
* to indicate whether the drop position is valid or not.
|
|
@@ -99900,14 +101495,14 @@ type TimelineHistogramGroupingClassConfig = {
|
|
|
99900
101495
|
* ...
|
|
99901
101496
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/mixin/TimelineHistogramGrouping#event-dataChange)
|
|
99902
101497
|
* @param {object} event Event object
|
|
99903
|
-
* @param {Grid.view.
|
|
101498
|
+
* @param {Grid.view.GridBase} event.source Owning grid
|
|
99904
101499
|
* @param {Core.data.Store} event.store The originating store
|
|
99905
101500
|
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
99906
101501
|
* @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
99907
101502
|
* @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
|
|
99908
101503
|
* @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
|
|
99909
101504
|
*/
|
|
99910
|
-
onDataChange?: ((event: { source:
|
|
101505
|
+
onDataChange?: ((event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string
|
|
99911
101506
|
/**
|
|
99912
101507
|
* Fired when the range of dates encapsulated by the UI changes. This will be when
|
|
99913
101508
|
* moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
|
|
@@ -100261,18 +101856,18 @@ type TimelineHistogramGroupingClassConfig = {
|
|
|
100261
101856
|
/**
|
|
100262
101857
|
* Fires after a row is rendered.
|
|
100263
101858
|
* @param {object} event Event object
|
|
100264
|
-
* @param {Grid.view.
|
|
100265
|
-
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
100266
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
100267
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
101859
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
101860
|
+
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
101861
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
101862
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
100268
101863
|
*/
|
|
100269
|
-
onRenderRow?: ((event: { source:
|
|
101864
|
+
onRenderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
100270
101865
|
/**
|
|
100271
101866
|
* Grid rows have been rendered
|
|
100272
101867
|
* @param {object} event Event object
|
|
100273
|
-
* @param {Grid.view.
|
|
101868
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
100274
101869
|
*/
|
|
100275
|
-
onRenderRows?: ((event: { source:
|
|
101870
|
+
onRenderRows?: ((event: { source: GridBase }) => void)|string
|
|
100276
101871
|
/**
|
|
100277
101872
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
100278
101873
|
* @param {object} event Event object
|
|
@@ -100332,10 +101927,10 @@ type TimelineHistogramGroupingClassConfig = {
|
|
|
100332
101927
|
/**
|
|
100333
101928
|
* Grid has scrolled vertically
|
|
100334
101929
|
* @param {object} event Event object
|
|
100335
|
-
* @param {Grid.view.
|
|
101930
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance.
|
|
100336
101931
|
* @param {number} event.scrollTop The vertical scroll position.
|
|
100337
101932
|
*/
|
|
100338
|
-
onScroll?: ((event: { source:
|
|
101933
|
+
onScroll?: ((event: { source: GridBase, scrollTop: number }) => void)|string
|
|
100339
101934
|
/**
|
|
100340
101935
|
* The selection has been changed.
|
|
100341
101936
|
* @param {object} event Event object
|
|
@@ -100423,17 +102018,17 @@ type TimelineHistogramGroupingClassConfig = {
|
|
|
100423
102018
|
/**
|
|
100424
102019
|
* Fires after a sub grid is collapsed.
|
|
100425
102020
|
* @param {object} event Event object
|
|
100426
|
-
* @param {Grid.view.
|
|
102021
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
100427
102022
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
100428
102023
|
*/
|
|
100429
|
-
onSubGridCollapse?: ((event: { source:
|
|
102024
|
+
onSubGridCollapse?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
100430
102025
|
/**
|
|
100431
102026
|
* Fires after a sub grid is expanded.
|
|
100432
102027
|
* @param {object} event Event object
|
|
100433
|
-
* @param {Grid.view.
|
|
102028
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
100434
102029
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
100435
102030
|
*/
|
|
100436
|
-
onSubGridExpand?: ((event: { source:
|
|
102031
|
+
onSubGridExpand?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
100437
102032
|
/**
|
|
100438
102033
|
* Fired when the tick size changes.
|
|
100439
102034
|
* ...
|
|
@@ -102016,6 +103611,10 @@ type RecurrenceConfirmationPopupConfig = {
|
|
|
102016
103611
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/recurrence/RecurrenceConfirmationPopup#config-bodyCls)
|
|
102017
103612
|
*/
|
|
102018
103613
|
bodyCls?: string|object
|
|
103614
|
+
/**
|
|
103615
|
+
* Set `true` to add a border to this container's element.
|
|
103616
|
+
*/
|
|
103617
|
+
border?: boolean
|
|
102019
103618
|
/**
|
|
102020
103619
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
102021
103620
|
* hierarchy when triggered.
|
|
@@ -102084,7 +103683,7 @@ type RecurrenceConfirmationPopupConfig = {
|
|
|
102084
103683
|
* ...
|
|
102085
103684
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/recurrence/RecurrenceConfirmationPopup#config-color)
|
|
102086
103685
|
*/
|
|
102087
|
-
color?:
|
|
103686
|
+
color?: Color
|
|
102088
103687
|
/**
|
|
102089
103688
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
102090
103689
|
*/
|
|
@@ -103369,6 +104968,10 @@ type RecurrenceEditorConfig = {
|
|
|
103369
104968
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/recurrence/RecurrenceEditor#config-bodyCls)
|
|
103370
104969
|
*/
|
|
103371
104970
|
bodyCls?: string|object
|
|
104971
|
+
/**
|
|
104972
|
+
* Set `true` to add a border to this container's element.
|
|
104973
|
+
*/
|
|
104974
|
+
border?: boolean
|
|
103372
104975
|
/**
|
|
103373
104976
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
103374
104977
|
* hierarchy when triggered.
|
|
@@ -103437,7 +105040,7 @@ type RecurrenceEditorConfig = {
|
|
|
103437
105040
|
* ...
|
|
103438
105041
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/recurrence/RecurrenceEditor#config-color)
|
|
103439
105042
|
*/
|
|
103440
|
-
color?:
|
|
105043
|
+
color?: Color
|
|
103441
105044
|
/**
|
|
103442
105045
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
103443
105046
|
*/
|
|
@@ -104683,7 +106286,7 @@ type RecurrenceLegendButtonConfig = {
|
|
|
104683
106286
|
* ...
|
|
104684
106287
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/recurrence/RecurrenceLegendButton#config-color)
|
|
104685
106288
|
*/
|
|
104686
|
-
color?:
|
|
106289
|
+
color?: Color
|
|
104687
106290
|
/**
|
|
104688
106291
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
104689
106292
|
*/
|
|
@@ -105824,7 +107427,7 @@ type RecurrenceComboConfig = {
|
|
|
105824
107427
|
* ...
|
|
105825
107428
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/recurrence/field/RecurrenceCombo#config-color)
|
|
105826
107429
|
*/
|
|
105827
|
-
color?:
|
|
107430
|
+
color?: Color
|
|
105828
107431
|
/**
|
|
105829
107432
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
105830
107433
|
*/
|
|
@@ -107207,7 +108810,7 @@ type RecurrenceDaysComboConfig = {
|
|
|
107207
108810
|
* ...
|
|
107208
108811
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/recurrence/field/RecurrenceDaysCombo#config-color)
|
|
107209
108812
|
*/
|
|
107210
|
-
color?:
|
|
108813
|
+
color?: Color
|
|
107211
108814
|
/**
|
|
107212
108815
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
107213
108816
|
*/
|
|
@@ -108589,7 +110192,7 @@ type RecurrenceFrequencyComboConfig = {
|
|
|
108589
110192
|
* ...
|
|
108590
110193
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/recurrence/field/RecurrenceFrequencyCombo#config-color)
|
|
108591
110194
|
*/
|
|
108592
|
-
color?:
|
|
110195
|
+
color?: Color
|
|
108593
110196
|
/**
|
|
108594
110197
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
108595
110198
|
*/
|
|
@@ -109971,7 +111574,7 @@ type RecurrencePositionsComboConfig = {
|
|
|
109971
111574
|
* ...
|
|
109972
111575
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/recurrence/field/RecurrencePositionsCombo#config-color)
|
|
109973
111576
|
*/
|
|
109974
|
-
color?:
|
|
111577
|
+
color?: Color
|
|
109975
111578
|
/**
|
|
109976
111579
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
109977
111580
|
*/
|
|
@@ -111353,7 +112956,7 @@ type RecurrenceStopConditionComboConfig = {
|
|
|
111353
112956
|
* ...
|
|
111354
112957
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/recurrence/field/RecurrenceStopConditionCombo#config-color)
|
|
111355
112958
|
*/
|
|
111356
|
-
color?:
|
|
112959
|
+
color?: Color
|
|
111357
112960
|
/**
|
|
111358
112961
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
111359
112962
|
*/
|
|
@@ -112614,6 +114217,10 @@ type DayButtonsConfig = {
|
|
|
112614
114217
|
* Update assigned [record](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#config-record) automatically on field changes
|
|
112615
114218
|
*/
|
|
112616
114219
|
autoUpdateRecord?: boolean
|
|
114220
|
+
/**
|
|
114221
|
+
* Set `true` to add a border to this container's element.
|
|
114222
|
+
*/
|
|
114223
|
+
border?: boolean
|
|
112617
114224
|
/**
|
|
112618
114225
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
112619
114226
|
* hierarchy when triggered.
|
|
@@ -114946,7 +116553,7 @@ type EventColorPickerConfig = {
|
|
|
114946
116553
|
* ...
|
|
114947
116554
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorPicker#config-color)
|
|
114948
116555
|
*/
|
|
114949
|
-
color?:
|
|
116556
|
+
color?: Color
|
|
114950
116557
|
/**
|
|
114951
116558
|
* A callback function that will be called when the user selects a color in the picker.
|
|
114952
116559
|
* @param {object} event Object containing event data
|
|
@@ -116101,7 +117708,7 @@ type ProjectComboConfig = {
|
|
|
116101
117708
|
* ...
|
|
116102
117709
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ProjectCombo#config-color)
|
|
116103
117710
|
*/
|
|
116104
|
-
color?:
|
|
117711
|
+
color?: Color
|
|
116105
117712
|
/**
|
|
116106
117713
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
116107
117714
|
*/
|
|
@@ -117490,7 +119097,7 @@ type ResourceComboConfig = {
|
|
|
117490
119097
|
* ...
|
|
117491
119098
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceCombo#config-color)
|
|
117492
119099
|
*/
|
|
117493
|
-
color?:
|
|
119100
|
+
color?: Color
|
|
117494
119101
|
/**
|
|
117495
119102
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
117496
119103
|
*/
|
|
@@ -118842,7 +120449,7 @@ type ResourceFilterConfig = {
|
|
|
118842
120449
|
* ...
|
|
118843
120450
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-color)
|
|
118844
120451
|
*/
|
|
118845
|
-
color?:
|
|
120452
|
+
color?: Color
|
|
118846
120453
|
/**
|
|
118847
120454
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
118848
120455
|
*/
|
|
@@ -120047,6 +121654,10 @@ type SchedulerDatePickerConfig = {
|
|
|
120047
121654
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-bodyCls)
|
|
120048
121655
|
*/
|
|
120049
121656
|
bodyCls?: string|object
|
|
121657
|
+
/**
|
|
121658
|
+
* Set `true` to add a border to this container's element.
|
|
121659
|
+
*/
|
|
121660
|
+
border?: boolean
|
|
120050
121661
|
/**
|
|
120051
121662
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
120052
121663
|
* hierarchy when triggered.
|
|
@@ -120116,7 +121727,7 @@ type SchedulerDatePickerConfig = {
|
|
|
120116
121727
|
* ...
|
|
120117
121728
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-color)
|
|
120118
121729
|
*/
|
|
120119
|
-
color?:
|
|
121730
|
+
color?: Color
|
|
120120
121731
|
/**
|
|
120121
121732
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
120122
121733
|
*/
|
|
@@ -121460,6 +123071,10 @@ type UndoRedoConfig = {
|
|
|
121460
123071
|
* Update assigned [record](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#config-record) automatically on field changes
|
|
121461
123072
|
*/
|
|
121462
123073
|
autoUpdateRecord?: boolean
|
|
123074
|
+
/**
|
|
123075
|
+
* Set `true` to add a border to this container's element.
|
|
123076
|
+
*/
|
|
123077
|
+
border?: boolean
|
|
121463
123078
|
/**
|
|
121464
123079
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
121465
123080
|
* hierarchy when triggered.
|
|
@@ -122590,7 +124205,7 @@ type ViewPresetComboConfig = {
|
|
|
122590
124205
|
* ...
|
|
122591
124206
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-color)
|
|
122592
124207
|
*/
|
|
122593
|
-
color?:
|
|
124208
|
+
color?: Color
|
|
122594
124209
|
/**
|
|
122595
124210
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
122596
124211
|
*/
|