@bryntum/gantt-angular-thin 7.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/README.md +44 -0
  2. package/bryntum-gantt-angular-thin.d.ts +5 -0
  3. package/bundles/bryntum-gantt-angular-thin.umd.js +14832 -0
  4. package/bundles/bryntum-gantt-angular-thin.umd.js.map +1 -0
  5. package/esm2015/bryntum-gantt-angular-thin.js +5 -0
  6. package/esm2015/lib/bryntum-assignment-field.component.js +941 -0
  7. package/esm2015/lib/bryntum-assignment-grid.component.js +2111 -0
  8. package/esm2015/lib/bryntum-calendar-picker.component.js +933 -0
  9. package/esm2015/lib/bryntum-dependency-field.component.js +961 -0
  10. package/esm2015/lib/bryntum-gantt-base.component.js +4219 -0
  11. package/esm2015/lib/bryntum-gantt-project-model.component.js +923 -0
  12. package/esm2015/lib/bryntum-gantt.component.js +4223 -0
  13. package/esm2015/lib/gantt.module.js +54 -0
  14. package/esm2015/lib/wrapper.helper.js +74 -0
  15. package/esm2015/public-api.js +12 -0
  16. package/fesm2015/bryntum-gantt-angular-thin.js +14387 -0
  17. package/fesm2015/bryntum-gantt-angular-thin.js.map +1 -0
  18. package/lib/bryntum-assignment-field.component.d.ts +1225 -0
  19. package/lib/bryntum-assignment-grid.component.d.ts +2292 -0
  20. package/lib/bryntum-calendar-picker.component.d.ts +1200 -0
  21. package/lib/bryntum-dependency-field.component.d.ts +1241 -0
  22. package/lib/bryntum-gantt-base.component.d.ts +4468 -0
  23. package/lib/bryntum-gantt-project-model.component.d.ts +1106 -0
  24. package/lib/bryntum-gantt.component.d.ts +4470 -0
  25. package/lib/gantt.module.d.ts +13 -0
  26. package/lib/wrapper.helper.d.ts +26 -0
  27. package/package.json +33 -0
  28. package/public-api.d.ts +8 -0
@@ -0,0 +1,2292 @@
1
+ /**
2
+ * Angular wrapper for Bryntum AssignmentGrid
3
+ */
4
+ import { ElementRef, SimpleChanges, OnDestroy, OnInit } from '@angular/core';
5
+ import { AjaxStore, AjaxStoreConfig, DomConfig, FormulaProviderConfig, KeyMapConfig, Mask, MaskConfig, Model, ModelConfig, PagingToolbarConfig, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, ScrollManager, ScrollManagerConfig, Scroller, ScrollerConfig, StateProvider, Store, StoreConfig, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, Widget } from '@bryntum/core-thin';
6
+ import { AIFilter, AIFilterConfig, CellCopyPaste, CellCopyPasteConfig, CellEdit as GridCellEdit, CellEditConfig as GridCellEditConfig, CellMenu, CellMenuConfig, CellTooltip, CellTooltipConfig, Charts, ChartsConfig, ColumnAutoWidth, ColumnAutoWidthConfig, ColumnDragToolbar, ColumnDragToolbarConfig, ColumnPicker, ColumnPickerConfig, ColumnRename, ColumnRenameConfig, ColumnReorder, ColumnReorderConfig, ColumnResize, ColumnResizeConfig, ColumnStore, ColumnStoreConfig, EmptyTextDomConfig, ExcelExporter as GridExcelExporter, ExcelExporterConfig as GridExcelExporterConfig, FileDrop, FileDropConfig, FillHandle, FillHandleConfig, Filter, FilterBar, FilterBarConfig, FilterConfig, GridLocation, GridLocationConfig, GridSelectionMode, GridStateInfo, Group, GroupConfig, GroupSummary as GridGroupSummary, GroupSummaryConfig as GridGroupSummaryConfig, HeaderMenu, HeaderMenuConfig, LockRows as GridLockRows, LockRowsConfig as GridLockRowsConfig, MergeCells, MergeCellsConfig, NumberColumnConfig, PdfExport as GridPdfExport, PdfExportConfig as GridPdfExportConfig, PinColumns, PinColumnsConfig, PreserveScrollOptions, Print as GridPrint, PrintConfig as GridPrintConfig, QuickFind, QuickFindConfig, RegionResize, RegionResizeConfig, ResponsiveLevelConfig, RowCopyPaste, RowCopyPasteConfig, RowEdit, RowEditConfig, RowExpander, RowExpanderConfig, RowReorder as GridRowReorder, RowReorderConfig as GridRowReorderConfig, RowResize as GridRowResize, RowResizeConfig as GridRowResizeConfig, Search, SearchConfig, Sort, SortConfig, Split as GridSplit, SplitConfig as GridSplitConfig, StickyCells, StickyCellsConfig, Stripe, StripeConfig, SubGridConfig, Summary as GridSummary, SummaryConfig as GridSummaryConfig, Tree, TreeConfig, TreeGroup as GridTreeGroup, TreeGroupConfig as GridTreeGroupConfig } from '@bryntum/grid-thin';
7
+ import { AssignmentGrid, AssignmentGridListeners, GanttContainerItemConfig, GanttColumnConfig, ResourceAssignmentColumnConfig, TaskModel } from '@bryntum/gantt-thin';
8
+ import * as i0 from "@angular/core";
9
+ export declare type BryntumAssignmentGridProps = {
10
+ /**
11
+ * Element (or element id) to adopt as this Widget's encapsulating element. The widget's
12
+ * content will be placed inside this element.
13
+ * ...
14
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-adopt)
15
+ */
16
+ adopt?: HTMLElement | string;
17
+ /**
18
+ * When this widget is a child of a [Container](https://bryntum.com/products/gantt/docs/api/Core/widget/Container), it will by default be participating in a
19
+ * flexbox layout. This config allows you to set this widget's
20
+ * [align-self](https://developer.mozilla.org/en-US/docs/Web/CSS/align-self) style.
21
+ */
22
+ alignSelf?: string;
23
+ /**
24
+ * Set to `true` to animate row removals caused by filtering.
25
+ * @deprecated 7.0.0 Deprecated `animateFilterRemovals`. Use `transition.filterRemoval` instead
26
+ */
27
+ animateFilterRemovals?: boolean;
28
+ /**
29
+ * Controls if removing and inserting rows should be animated. Set to `false` to prevent those animations,
30
+ * removing the related delays.
31
+ * @deprecated 7.0.0 Deprecated `animateRemovingRows`. Use `transition.removeRecord` instead
32
+ */
33
+ animateRemovingRows?: boolean;
34
+ /**
35
+ * When the [Tree](https://bryntum.com/products/gantt/docs/api/Grid/feature/Tree) feature is in use and the Store is a tree store, this
36
+ * config may be set to `true` to visually animate branch node expand and collapse operations.
37
+ * *This is not supported in Scheduler and Gantt*
38
+ * @deprecated 7.0.0 Deprecated `animateTreeNodeToggle`. Use `transition.toggleTreeNode` instead
39
+ */
40
+ animateTreeNodeToggle?: boolean;
41
+ /**
42
+ * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
43
+ * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#property-element).
44
+ */
45
+ appendTo?: HTMLElement | string;
46
+ /**
47
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
48
+ * into an element which will be linked using the `aria-describedby` attribute.
49
+ * ...
50
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-ariaDescription)
51
+ */
52
+ ariaDescription?: string;
53
+ /**
54
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
55
+ * the `aria-label` attribute.
56
+ * ...
57
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-ariaLabel)
58
+ */
59
+ ariaLabel?: string;
60
+ /**
61
+ * Automatically set grids height to fit all rows (no scrolling in the grid). In general you should avoid
62
+ * using `autoHeight: true`, since it will bypass Grids virtual rendering and render all rows at once, which
63
+ * in a larger grid is really bad for performance.
64
+ */
65
+ autoHeight?: boolean;
66
+ /**
67
+ * A Config object representing the configuration of a [Toolbar](https://bryntum.com/products/gantt/docs/api/Core/widget/Toolbar),
68
+ * or array of config objects representing the child items of a Toolbar. Another way to add a bbar is to use [strips](https://bryntum.com/products/gantt/docs/api/Core/widget/Panel#config-strips).
69
+ * ...
70
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-bbar)
71
+ */
72
+ bbar?: (GanttContainerItemConfig | string)[] | ToolbarConfig | PagingToolbarConfig | null;
73
+ /**
74
+ * Custom CSS classes to add to the panel's body element.
75
+ * ...
76
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-bodyCls)
77
+ */
78
+ bodyCls?: string | object;
79
+ /**
80
+ * An object where property names with a truthy value indicate which events should bubble up the ownership
81
+ * hierarchy when triggered.
82
+ * ...
83
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-bubbleEvents)
84
+ */
85
+ bubbleEvents?: object;
86
+ /**
87
+ * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
88
+ * ...
89
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-callOnFunctions)
90
+ */
91
+ callOnFunctions?: boolean;
92
+ /**
93
+ * By default, if an event handler throws an exception, the error propagates up the stack and the
94
+ * application state is undefined. Code which follows the event handler will *not* be executed.
95
+ * ...
96
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-catchEventHandlerExceptions)
97
+ */
98
+ catchEventHandlerExceptions?: boolean;
99
+ /**
100
+ * Set to `false` to crop text in grid cells without ellipsis (...). When enabled, cells containing pure
101
+ * use `display : block`, instead of `display : flex` to allow ellipsis to work.
102
+ * <strong>NOTE</strong> Only supported in browsers that support `:has()` CSS selector
103
+ */
104
+ cellEllipsis?: boolean;
105
+ /**
106
+ * Custom CSS classes to add to element.
107
+ * May be specified as a space separated string, or as an object in which property names
108
+ * with truthy values are used as the class names:
109
+ * ...
110
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-cls)
111
+ */
112
+ cls?: string | object;
113
+ /**
114
+ * Controls whether the panel is collapsed (the body of the panel is hidden while only the header is
115
+ * visible). Only valid if the panel is [collapsible](https://bryntum.com/products/gantt/docs/api/Core/widget/Panel#config-collapsible).
116
+ */
117
+ collapsed?: boolean;
118
+ /**
119
+ * This config enables collapsibility for the panel. See [collapsed](https://bryntum.com/products/gantt/docs/api/Core/widget/Panel#config-collapsed).
120
+ * ...
121
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-collapsible)
122
+ */
123
+ collapsible?: boolean | PanelCollapserConfig | PanelCollapserOverlayConfig;
124
+ /**
125
+ * Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
126
+ * `style` block.
127
+ * ...
128
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-color)
129
+ */
130
+ color?: string;
131
+ /**
132
+ * Programmatic control over which column to start in when used in a grid layout.
133
+ */
134
+ column?: number;
135
+ /**
136
+ * Set to `false` to not show column lines. End result might be overruled by/differ between themes.
137
+ */
138
+ columnLines?: boolean;
139
+ /**
140
+ * Accepts column definitions for the grid during initialization. They will be used to create
141
+ * [Column](https://bryntum.com/products/gantt/docs/api/Grid/column/Column) instances that are added to a [ColumnStore](#Grid/data/ColumnStore).
142
+ * ...
143
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-columns)
144
+ */
145
+ columns?: ColumnStore | GanttColumnConfig[] | ColumnStoreConfig;
146
+ config?: object;
147
+ /**
148
+ * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#property-contentElement).
149
+ * May be specified as a space separated string, or as an object in which property names
150
+ * with truthy values are used as the class names:
151
+ * ...
152
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-contentElementCls)
153
+ */
154
+ contentElementCls?: string | object;
155
+ /**
156
+ * Event which is used to show context menus.
157
+ * Available options are: 'contextmenu', 'click', 'dblclick'.
158
+ */
159
+ contextMenuTriggerEvent?: 'contextmenu' | 'click' | 'dblclick';
160
+ /**
161
+ * Convenient shortcut to set data in grids store both during initialization and at runtime. Can also be
162
+ * used to retrieve data at runtime, although we do recommend interacting with Grids store instead using
163
+ * the [store](https://bryntum.com/products/gantt/docs/api/Grid/view/GridBase#property-store) property.
164
+ * ...
165
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-data)
166
+ */
167
+ data?: object[] | Model[] | ModelConfig[];
168
+ /**
169
+ * When this Widget configuration is used in the Grid's RowExpander feature's `widget` config, provide the
170
+ * field on the expanded record to use for populating this widget's store (if applicable)
171
+ */
172
+ dataField?: string;
173
+ /**
174
+ * Object to apply to elements dataset (each key will be used as a data-attribute on the element)
175
+ */
176
+ dataset?: Record<string, string>;
177
+ /**
178
+ * Region to which columns are added when they have none specified
179
+ */
180
+ defaultRegion?: string;
181
+ /**
182
+ * Set to `true` to destroy the store when the grid is destroyed.
183
+ */
184
+ destroyStore?: boolean;
185
+ /**
186
+ * Check for CSS compatibility issues when upgrading to v7. Performs the following checks:
187
+ * ...
188
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-detectCSSCompatibilityIssues)
189
+ */
190
+ detectCSSCompatibilityIssues?: boolean;
191
+ /**
192
+ * Disable or enable the widget. It is similar to [readOnly](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-readOnly) except a disabled widget
193
+ * cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
194
+ * ...
195
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-disabled)
196
+ */
197
+ disabled?: boolean | 'inert';
198
+ /**
199
+ * Set to `true` to not get a warning when calling [getState](https://bryntum.com/products/gantt/docs/api/Grid/view/GridBase#function-getState) when there is a column
200
+ * configured without an `id`. But the recommended action is to always configure columns with an `id` when
201
+ * using states.
202
+ */
203
+ disableGridColumnIdWarning?: boolean;
204
+ /**
205
+ * Set to `true` to not get a warning when using another base class than GridRowModel for your grid data. If
206
+ * you do, and would like to use the full feature set of the grid then include the fields from GridRowModel
207
+ * in your model definition.
208
+ */
209
+ disableGridRowModelWarning?: boolean;
210
+ /**
211
+ * Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/gantt/docs/api/Core/widget/Panel)
212
+ * [strips collection](https://bryntum.com/products/gantt/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
213
+ * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
214
+ * body. Such widgets are called "edge strips".
215
+ * ...
216
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-dock)
217
+ */
218
+ dock?: 'top' | 'bottom' | 'left' | 'right' | 'start' | 'end' | 'header' | 'pre-header' | object;
219
+ /**
220
+ * Make this Panel a docked drawer which slides out from one side of the browser viewport by default.
221
+ * ...
222
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-drawer)
223
+ * @param {'start','left','end','right','top','bottom'} side The side of the viewport to dock the drawer to. * `'start'` means the `inline-start` side. * `'end'` means the `inline-end` side.
224
+ * @param {string,number} size The size of the drawer in its collapsible axis.
225
+ * @param {boolean} inline If using the [appendTo](https://bryntum.com/products/gantt/docs/api/Core/widget/Panel#config-appendTo) config to place the drawer inside a host widget, this may be set to `true` to make the drawer inline within that host. Note that, if using this, the layout of the host element must have `flex-direction` set appropriately.
226
+ * @param {boolean,object} autoClose Specifies what user actions should automatically close the drawer. Defaults to closing when the user clicks outside of the drawer or when focus moves outside of the drawer.
227
+ * @param {boolean,string} autoClose.mousedown If the user clicks outside of the drawer, the drawer will automatically be hidden. If the value is a string, it is used as a CSS selector to filter clicks which should close the drawer.
228
+ * @param {boolean,string} autoClose.focusout If focus moves outside of the drawer, the drawer will automatically be hidden.
229
+ * @param {string} autoClose.mouseout Hides the drawer when the mouse leaves the drawer after the `autoCloseDelay` period.
230
+ * @param {number} autoCloseDelay When using `mouseout`, this is the delay in milliseconds
231
+ */
232
+ drawer?: boolean | {
233
+ side?: 'start' | 'left' | 'end' | 'right' | 'top' | 'bottom';
234
+ size?: string | number;
235
+ inline?: boolean;
236
+ autoClose: {
237
+ mousedown?: boolean | string;
238
+ focusout?: boolean | string;
239
+ mouseout?: string;
240
+ };
241
+ autoCloseDelay?: number;
242
+ };
243
+ /**
244
+ * An object specifying attributes to assign to the root element of this widget.
245
+ * Set `null` value to attribute to remove it.
246
+ * ...
247
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-elementAttributes)
248
+ */
249
+ elementAttributes?: Record<string, string | null>;
250
+ /**
251
+ * Text or HTML, or a [EmptyTextDomConfig](https://bryntum.com/products/gantt/docs/api/Grid/view/GridBase#typedef-EmptyTextDomConfig) block to display when there is no data to display in the grid.
252
+ * When using multiple Grid regions, provide the `region` property to decide where the text is shown.
253
+ * By default, it is shown in the first region.
254
+ * ...
255
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-emptyText)
256
+ */
257
+ emptyText?: string | EmptyTextDomConfig;
258
+ /**
259
+ * Configure this as `true` to allow elements within cells to be styled as `position: sticky`.
260
+ * ...
261
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-enableSticky)
262
+ */
263
+ enableSticky?: boolean;
264
+ /**
265
+ * Set to `true` to allow text selection in the grid cells. Note, this cannot be used simultaneously with the
266
+ * `RowReorder` feature.
267
+ */
268
+ enableTextSelection?: boolean;
269
+ /**
270
+ * Set to `true` to listen for CTRL-Z (CMD-Z on Mac OS) keyboard event and trigger undo (redo when SHIFT is
271
+ * pressed). Only applicable when using a [StateTrackingManager](https://bryntum.com/products/gantt/docs/api/Core/data/stm/StateTrackingManager).
272
+ */
273
+ enableUndoRedoKeys?: boolean;
274
+ extraData?: any;
275
+ /**
276
+ * Set to `true` to stretch the last column in a grid with all fixed width columns
277
+ * to fill extra available space if the grid's width is wider than the sum of all
278
+ * configured column widths.
279
+ */
280
+ fillLastColumn?: boolean;
281
+ /**
282
+ * Use fixed row height. Setting this to `true` will configure the underlying RowManager to use fixed row
283
+ * height, which sacrifices the ability to use rows with variable height to gain a fraction better
284
+ * performance.
285
+ * ...
286
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-fixedRowHeight)
287
+ */
288
+ fixedRowHeight?: boolean;
289
+ /**
290
+ * When this widget is a child of a [Container](https://bryntum.com/products/gantt/docs/api/Core/widget/Container), it will by default be participating in a
291
+ * flexbox layout. This config allows you to set this widget's
292
+ * [flex](https://developer.mozilla.org/en-US/docs/Web/CSS/flex) style.
293
+ * This may be configured as a single number or a `&lt;flex-grow&gt; &lt;flex-shrink&gt; &lt;flex-basis&gt;` format string.
294
+ * numeric-only values are interpreted as the `flex-grow` value.
295
+ */
296
+ flex?: number | string;
297
+ /**
298
+ * Config object of a footer. May contain a `dock`, `html` and a `cls` property. A footer is not a widget,
299
+ * but rather plain HTML that follows the last element of the panel's body and [strips](https://bryntum.com/products/gantt/docs/api/Core/widget/Panel#config-strips).
300
+ * ...
301
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-footer)
302
+ */
303
+ footer?: {
304
+ dock?: 'top' | 'right' | 'bottom' | 'left' | 'start' | 'end';
305
+ html?: string;
306
+ cls?: string;
307
+ } | string;
308
+ /**
309
+ * An object which names formula prefixes which will be applied to all columns configured with
310
+ * `formula : true`.
311
+ * ...
312
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-formulaProviders)
313
+ */
314
+ formulaProviders?: Record<string, FormulaProviderConfig>;
315
+ /**
316
+ * Refresh entire row when a record changes (`true`) or, if possible, only the cells affected (`false`).
317
+ * ...
318
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-fullRowRefresh)
319
+ */
320
+ fullRowRefresh?: boolean;
321
+ /**
322
+ * A function called for each row to determine its height. It is passed a [record](https://bryntum.com/products/gantt/docs/api/Core/data/Model) and
323
+ * expected to return the desired height of that records row. If the function returns a falsy value, Grids
324
+ * configured [rowHeight](https://bryntum.com/products/gantt/docs/api/Grid/view/GridBase#config-rowHeight) is used.
325
+ * ...
326
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-getRowHeight)
327
+ * @param {Core.data.Model} getRowHeight.record Record to determine row height for
328
+ * @returns {number} Desired row height
329
+ */
330
+ getRowHeight?: (getRowHeight: {
331
+ record: Model;
332
+ }) => number;
333
+ /**
334
+ * A config [object](https://bryntum.com/products/gantt/docs/api/Core/widget/Panel#typedef-PanelHeader) for the panel's header or a string in place of a `title`.
335
+ * ...
336
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-header)
337
+ */
338
+ header?: string | boolean | PanelHeader;
339
+ /**
340
+ * Widget's height, used to set element `style.height`. Either specify a valid height string or a number,
341
+ * which will get 'px' appended. We recommend using CSS as the primary way to control height, but in some
342
+ * cases this config is convenient.
343
+ */
344
+ height?: string | number;
345
+ /**
346
+ * Configure with true to make widget initially hidden.
347
+ */
348
+ hidden?: boolean;
349
+ /**
350
+ * Set to `true` to hide the footer elements
351
+ */
352
+ hideFooters?: boolean;
353
+ /**
354
+ * Set to `true` to hide the column header elements
355
+ */
356
+ hideHeaders?: boolean;
357
+ /**
358
+ * Set to `true` to hide the Grid's horizontal scrollbar(s)
359
+ */
360
+ hideHorizontalScrollbar?: boolean;
361
+ /**
362
+ * A CSS class to add to hovered row elements
363
+ */
364
+ hoverCls?: string;
365
+ /**
366
+ * An icon to show before the [title](https://bryntum.com/products/gantt/docs/api/Core/widget/Panel#config-title). Either pass a CSS class as a string, or pass a
367
+ * [DomConfig](https://bryntum.com/products/gantt/docs/api/Core/helper/DomHelper#typedef-DomConfig) object describing an element to represent the icon.
368
+ */
369
+ icon?: string | DomConfig;
370
+ /**
371
+ * Widget id, if not specified one will be generated. Also used for lookups through Widget.getById
372
+ */
373
+ id?: string;
374
+ /**
375
+ * Determines if the widgets read-only state should be controlled by its parent.
376
+ * ...
377
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-ignoreParentReadOnly)
378
+ */
379
+ ignoreParentReadOnly?: boolean;
380
+ /**
381
+ * Convenience setting to align input fields of child widgets. By default, the Field input element is
382
+ * placed immediately following the `label`. If you prefer to have all input fields aligned to the
383
+ * right, set this config to `'end'`.
384
+ * ...
385
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-inputFieldAlign)
386
+ */
387
+ inputFieldAlign?: 'start' | 'end';
388
+ /**
389
+ * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
390
+ */
391
+ insertBefore?: HTMLElement | string;
392
+ /**
393
+ * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
394
+ */
395
+ insertFirst?: HTMLElement | string;
396
+ /**
397
+ * See [Keyboard shortcuts](https://bryntum.com/products/gantt/docs/api/Grid/view/Grid#keyboard-shortcuts) for details
398
+ */
399
+ keyMap?: Record<string, KeyMapConfig>;
400
+ /**
401
+ * Convenience setting to use same label placement on all child widgets.
402
+ * ...
403
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-labelPosition)
404
+ */
405
+ labelPosition?: 'before' | 'above' | 'align-before' | 'auto' | null;
406
+ /**
407
+ * The listener set for this object.
408
+ * ...
409
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-listeners)
410
+ */
411
+ listeners?: AssignmentGridListeners;
412
+ /**
413
+ * A [Mask](https://bryntum.com/products/gantt/docs/api/Core/widget/Mask) config object, or a message to be shown when a store is performing a remote
414
+ * operation, or Crud Manager is loading data from the sever. Set to `null` to disable default load mask.
415
+ */
416
+ loadMask?: string | MaskConfig | null;
417
+ /**
418
+ * A [Mask](https://bryntum.com/products/gantt/docs/api/Core/widget/Mask) config object to adjust the [maskDefaults](#Core/widget/Widget#config-maskDefaults)
419
+ * when data is loading. The message and optional configuration from the
420
+ * [loadMask](https://bryntum.com/products/gantt/docs/api/Core/mixin/LoadMaskable#config-loadMask) config take priority over these options, just as they do
421
+ * for `maskDefaults`, respectively.
422
+ * ...
423
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-loadMaskDefaults)
424
+ */
425
+ loadMaskDefaults?: MaskConfig;
426
+ /**
427
+ * A [Mask](https://bryntum.com/products/gantt/docs/api/Core/widget/Mask) config object to adjust the [maskDefaults](#Core/widget/Widget#config-maskDefaults)
428
+ * when an error occurs loading data.
429
+ * ...
430
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-loadMaskError)
431
+ */
432
+ loadMaskError?: MaskConfig | Mask | boolean;
433
+ /**
434
+ * Set to `false` to disable localization of this object.
435
+ */
436
+ localizable?: boolean;
437
+ /**
438
+ * Time in ms until a longpress is triggered
439
+ */
440
+ longPressTime?: number;
441
+ /**
442
+ * Widget's margin. This may be configured as a single number or a `TRBL` format string.
443
+ * numeric-only values are interpreted as pixels.
444
+ */
445
+ margin?: number | string;
446
+ /**
447
+ * Grids change the `maskDefaults` to cover only their `body` element.
448
+ */
449
+ maskDefaults?: MaskConfig;
450
+ /**
451
+ * Set to `true` to apply the default mask to the widget. Alternatively, this can be the mask message or a
452
+ * [Mask](https://bryntum.com/products/gantt/docs/api/Core/widget/Mask) config object.
453
+ */
454
+ masked?: boolean | string | MaskConfig;
455
+ /**
456
+ * The element's maxHeight. Can be either a String or a Number (which will have 'px' appended). Note that
457
+ * like [height](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
458
+ */
459
+ maxHeight?: string | number;
460
+ /**
461
+ * The elements maxWidth. Can be either a String or a Number (which will have 'px' appended). Note that
462
+ * like [width](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
463
+ */
464
+ maxWidth?: string | number;
465
+ /**
466
+ * Grid's `min-height`. Defaults to `10em` to be sure that the Grid always has a height wherever it is
467
+ * inserted.
468
+ * ...
469
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-minHeight)
470
+ */
471
+ minHeight?: string | number;
472
+ /**
473
+ * The elements minWidth. Can be either a String or a Number (which will have 'px' appended). Note that
474
+ * like [width](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
475
+ */
476
+ minWidth?: string | number;
477
+ /**
478
+ * Grid monitors window resize by default.
479
+ */
480
+ monitorResize?: boolean;
481
+ /**
482
+ * The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
483
+ * [items](https://bryntum.com/products/gantt/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
484
+ * the owner is <strong>always</strong> the encapsulating Container.
485
+ * ...
486
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-owner)
487
+ */
488
+ owner?: Widget | any;
489
+ /**
490
+ * Specify plugins (an array of classes) in config
491
+ */
492
+ plugins?: Function[];
493
+ /**
494
+ * True to preserve focused cell after loading new data
495
+ */
496
+ preserveFocusOnDatasetChange?: boolean;
497
+ /**
498
+ * Preserve the grid's vertical scroll position when changesets are applied, as in the case of remote
499
+ * changes, or when stores are configured with [syncDataOnLoad](https://bryntum.com/products/gantt/docs/api/Core/data/Store#config-syncDataOnLoad).
500
+ */
501
+ preserveScroll?: PreserveScrollOptions | boolean;
502
+ /**
503
+ * Specify `true` to preserve vertical scroll position after store actions that trigger a `refresh` event,
504
+ * such as loading new data and filtering.
505
+ */
506
+ preserveScrollOnDatasetChange?: boolean;
507
+ /**
508
+ * Prevent tooltip from being displayed on touch devices. Useful for example for buttons that display a
509
+ * menu on click etc, since the tooltip would be displayed at the same time.
510
+ */
511
+ preventTooltipOnTouch?: boolean;
512
+ /**
513
+ * Event model to manipulate assignments of, the task should be part of a task store.
514
+ * Either task or [store](https://bryntum.com/products/gantt/docs/api/Grid/view/Grid#config-store) should be given.
515
+ */
516
+ projectEvent?: TaskModel;
517
+ /**
518
+ * Set to `true` to make the grid read-only, by disabling any UIs for modifying data.
519
+ * ...
520
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-readOnly)
521
+ */
522
+ readOnly?: boolean;
523
+ relayStoreEvents?: boolean;
524
+ /**
525
+ * Either a default `rendition` to apply to all child widgets, or a map of renditions keyed by child widget
526
+ * `type`.
527
+ * ...
528
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-rendition)
529
+ */
530
+ rendition?: string | Record<string, string> | null;
531
+ /**
532
+ * Configure this property to allow the widget/component to be resized. Pressing <kbd>Shift</kbd> while resizing will
533
+ * constrain the aspect ratio.
534
+ * ...
535
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-resizable)
536
+ */
537
+ resizable?: boolean | {
538
+ minWidth?: number;
539
+ maxWidth?: number;
540
+ minHeight?: number;
541
+ maxHeight?: number;
542
+ handles?: object;
543
+ };
544
+ /**
545
+ * Set to `false` to only measure cell contents when double-clicking the edge between column headers.
546
+ */
547
+ resizeToFitIncludesHeader?: boolean;
548
+ /**
549
+ * A [Column](https://bryntum.com/products/gantt/docs/api/Grid/column/Column) config object for the resource column. You can pass a `renderer` which
550
+ * gives you access to the `resource` record.
551
+ */
552
+ resourceColumn?: ResourceAssignmentColumnConfig;
553
+ /**
554
+ * "Break points" for which responsive config to use for columns and css.
555
+ * ...
556
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-responsiveLevels)
557
+ */
558
+ responsiveLevels?: Record<string, number | string | ResponsiveLevelConfig>;
559
+ /**
560
+ * Configure as `true` to have the component display a translucent ripple when its
561
+ * [focusElement](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#property-focusElement), or [element](#Core/widget/Widget#property-element) is tapped <em>if the
562
+ * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
563
+ * ...
564
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-ripple)
565
+ */
566
+ ripple?: boolean | {
567
+ delegate?: string;
568
+ color?: string;
569
+ radius?: number;
570
+ clip?: string;
571
+ };
572
+ /**
573
+ * If you are rendering this widget to a shadow root inside a web component, set this config to the shadowRoot. If not inside a web component, set it to `document.body`
574
+ */
575
+ rootElement?: ShadowRoot | HTMLElement;
576
+ /**
577
+ * Row height in pixels. This allows the default height for rows to be controlled. Note that it may be
578
+ * overriden by specifying a [rowHeight](https://bryntum.com/products/gantt/docs/api/Grid/data/GridRowModel#field-rowHeight) on a per record basis, or from
579
+ * a column [renderer](https://bryntum.com/products/gantt/docs/api/Grid/column/Column#config-renderer).
580
+ * ...
581
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-rowHeight)
582
+ */
583
+ rowHeight?: number;
584
+ /**
585
+ * Set to `false` to not show row lines. End result might be overruled by/differ between themes.
586
+ */
587
+ rowLines?: boolean;
588
+ /**
589
+ * This may be configured as `true` to make the widget's element use the `direction:rtl` style.
590
+ * ...
591
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-rtl)
592
+ */
593
+ rtl?: boolean;
594
+ /**
595
+ * Configures whether the grid is scrollable in the `Y` axis. This is used to configure a [Scroller](https://bryntum.com/products/gantt/docs/api/Core/helper/util/Scroller).
596
+ * See the [scrollerClass](https://bryntum.com/products/gantt/docs/api/Grid/view/GridBase#config-scrollerClass) config option.
597
+ * ...
598
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-scrollable)
599
+ */
600
+ scrollable?: boolean | ScrollerConfig | Scroller;
601
+ /**
602
+ * The class to instantiate to use as the [scrollable](https://bryntum.com/products/gantt/docs/api/Grid/view/GridBase#config-scrollable). Defaults to [Scroller](#Core/helper/util/Scroller).
603
+ */
604
+ scrollerClass?: typeof Scroller;
605
+ /**
606
+ * Configuration values for the [ScrollManager](https://bryntum.com/products/gantt/docs/api/Core/util/ScrollManager) class on initialization. Returns the
607
+ * [ScrollManager](https://bryntum.com/products/gantt/docs/api/Core/util/ScrollManager) at runtime.
608
+ */
609
+ scrollManager?: ScrollManagerConfig | ScrollManager;
610
+ /**
611
+ * Selection configuration settings, change these properties to control how selection works and what can be
612
+ * selected.
613
+ * ...
614
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-selectionMode)
615
+ */
616
+ selectionMode?: GridSelectionMode;
617
+ /**
618
+ * Configure as `true` to have the grid show a red "changed" tag in cells whose
619
+ * field value has changed and not yet been committed.
620
+ * ...
621
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-showDirty)
622
+ */
623
+ showDirty?: boolean | {
624
+ duringEdit?: boolean;
625
+ newRecord?: boolean;
626
+ };
627
+ /**
628
+ * Programmatic control over how many columns to span when used in a grid layout.
629
+ */
630
+ span?: number;
631
+ /**
632
+ * This value can be one of the following:
633
+ * ...
634
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-stateful)
635
+ */
636
+ stateful?: boolean | object | string[];
637
+ /**
638
+ * The events that, when fired by this component, should trigger it to save its state by calling
639
+ * [saveState](https://bryntum.com/products/gantt/docs/api/Core/mixin/State#function-saveState).
640
+ * ...
641
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-statefulEvents)
642
+ */
643
+ statefulEvents?: object | string[];
644
+ /**
645
+ * The key to use when saving this object's state in the [stateProvider](https://bryntum.com/products/gantt/docs/api/Core/mixin/State#config-stateProvider). If this config is
646
+ * not assigned, and [stateful](https://bryntum.com/products/gantt/docs/api/Core/mixin/State#config-stateful) is not set to `false`, the [id](#Core/widget/Widget#config-id)
647
+ * (if explicitly specified) will be used as the `stateId`.
648
+ * ...
649
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-stateId)
650
+ */
651
+ stateId?: string;
652
+ /**
653
+ * The `StateProvider` to use to save and restore this object's [state](https://bryntum.com/products/gantt/docs/api/Core/mixin/State#property-state). By default, `state`
654
+ * will be saved using the [default state provider](https://bryntum.com/products/gantt/docs/api/Core/state/StateProvider#property-instance-static).
655
+ * ...
656
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-stateProvider)
657
+ */
658
+ stateProvider?: StateProvider;
659
+ /**
660
+ * The properties of this settings object controls how grid is restored from state data.
661
+ * ...
662
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-stateSettings)
663
+ */
664
+ stateSettings?: {
665
+ restoreUnconfiguredColumns?: boolean;
666
+ };
667
+ /**
668
+ * Store that holds records to display in the grid, or a store config object. If the configuration contains
669
+ * a `readUrl`, an `AjaxStore` will be created.
670
+ * ...
671
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-store)
672
+ */
673
+ store?: Store | StoreConfig | AjaxStore | AjaxStoreConfig;
674
+ /**
675
+ * An object containing widgets keyed by name. By default (when no `type` is given), strips are
676
+ * [toolbars](https://bryntum.com/products/gantt/docs/api/Core/widget/Toolbar). If you want to pass an array, you can use
677
+ * the toolbar's [items](https://bryntum.com/products/gantt/docs/api/Core/widget/Container#config-items).
678
+ * ...
679
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-strips)
680
+ */
681
+ strips?: Record<string, GanttContainerItemConfig>;
682
+ /**
683
+ * An object containing sub grid configuration objects keyed by a `region` property.
684
+ * By default, grid has a 'locked' region (if configured with locked columns) and a 'normal' region.
685
+ * The 'normal' region defaults to use `flex: 1`.
686
+ * ...
687
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-subGridConfigs)
688
+ */
689
+ subGridConfigs?: Record<string, SubGridConfig>;
690
+ /**
691
+ * A [Mask](https://bryntum.com/products/gantt/docs/api/Core/widget/Mask) config object, or a message to be shown when Crud Manager
692
+ * is persisting changes on the server. Set to `null` to disable default sync mask.
693
+ * ...
694
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-syncMask)
695
+ */
696
+ syncMask?: string | MaskConfig | null;
697
+ /**
698
+ * A configuration for the [tab](https://bryntum.com/products/gantt/docs/api/Core/widget/Tab) created for this widget when it is placed in a
699
+ * [TabPanel](https://bryntum.com/products/gantt/docs/api/Core/widget/TabPanel). For example, this config can be used to control the icon of the `tab` for
700
+ * this widget:
701
+ * ...
702
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-tab)
703
+ */
704
+ tab?: boolean | TabConfig;
705
+ /**
706
+ * When this container is used as a tab in a TabPanel, these items are added to the
707
+ * [TabBar](https://bryntum.com/products/gantt/docs/api/Core/widget/TabBar) when this container is the active tab.
708
+ * ...
709
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-tabBarItems)
710
+ */
711
+ tabBarItems?: ToolbarItems[] | Widget[];
712
+ /**
713
+ * A Config object representing the configuration of a [Toolbar](https://bryntum.com/products/gantt/docs/api/Core/widget/Toolbar),
714
+ * or array of config objects representing the child items of a Toolbar.
715
+ * This creates a toolbar docked to the top of the panel immediately below the header.
716
+ * ...
717
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-tbar)
718
+ */
719
+ tbar?: (GanttContainerItemConfig | string)[] | ToolbarConfig | PagingToolbarConfig | null;
720
+ /**
721
+ * A title to display in the header or owning TabPanel. Causes creation and docking of a header
722
+ * to the top if no header is configured.
723
+ * ...
724
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-title)
725
+ */
726
+ title?: string;
727
+ /**
728
+ * The [tools](https://bryntum.com/products/gantt/docs/api/Core/widget/Tool) to add either before or after the `title` in the Panel header. Each
729
+ * property name is the reference by which an instantiated tool may be retrieved from the live
730
+ * `[tools](https://bryntum.com/products/gantt/docs/api/Core/widget/mixin/Toolable#property-tools)` property.
731
+ * ...
732
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-tools)
733
+ */
734
+ tools?: Record<string, ToolConfig> | null;
735
+ /**
736
+ * Configure UI transitions for various actions in the grid.
737
+ */
738
+ transition?: {
739
+ insertRecord?: boolean;
740
+ removeRecord?: boolean;
741
+ toggleColumn?: boolean;
742
+ expandCollapseColumn?: boolean;
743
+ toggleRegion?: boolean;
744
+ toggleTreeNode?: boolean;
745
+ toggleGroup?: boolean;
746
+ filterRemoval?: boolean;
747
+ };
748
+ /**
749
+ * Animation transition duration in milliseconds.
750
+ */
751
+ transitionDuration?: number;
752
+ type?: 'assignmentgrid';
753
+ /**
754
+ * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
755
+ * as a space separated string, an array of strings, or as an object in which property names with truthy
756
+ * values are used as the class names.
757
+ * ...
758
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#config-ui)
759
+ */
760
+ ui?: 'plain' | 'toolbar' | string | object;
761
+ /**
762
+ * A config object for the units column
763
+ */
764
+ unitsColumn?: NumberColumnConfig;
765
+ /**
766
+ * A widgets weight determines its position among siblings when added to a [Container](https://bryntum.com/products/gantt/docs/api/Core/widget/Container).
767
+ * Higher weights go further down.
768
+ */
769
+ weight?: number;
770
+ /**
771
+ * Widget's width, used to set element `style.width`. Either specify a valid width string or a number, which
772
+ * will get 'px' appended. We recommend using CSS as the primary way to control width, but in some cases
773
+ * this config is convenient.
774
+ */
775
+ width?: string | number;
776
+ /**
777
+ * AI-powered filter feature for Grid. Allows users to type natural language queries to filter grid data.
778
+ * ...
779
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/ai/AIFilter)
780
+ */
781
+ aiFilterFeature?: object | boolean | string | AIFilter | AIFilterConfig;
782
+ /**
783
+ * Allows using `[Ctrl/CMD + C]`, `[Ctrl/CMD + X]` and `[Ctrl/CMD + V]` to cut, copy and paste cell or cell ranges. Also
784
+ * makes cut, copy and paste actions available via the cell context menu.
785
+ * ...
786
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/CellCopyPaste)
787
+ */
788
+ cellCopyPasteFeature?: object | boolean | string | CellCopyPaste | CellCopyPasteConfig;
789
+ /**
790
+ * Adding this feature to the grid and other Bryntum products which are based on the Grid (i.e. Scheduler, SchedulerPro, and Gantt)
791
+ * enables cell editing. Any subclass of [Field](https://bryntum.com/products/gantt/docs/api/Core/widget/Field) can be used
792
+ * as editor for the [Column](https://bryntum.com/products/gantt/docs/api/Grid/column/Column). The most popular are:
793
+ * ...
794
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/CellEdit)
795
+ */
796
+ cellEditFeature?: object | boolean | string | GridCellEdit | GridCellEditConfig;
797
+ /**
798
+ * Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
799
+ * `SPACE` key when the cell is focused.
800
+ * ...
801
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/CellMenu)
802
+ */
803
+ cellMenuFeature?: object | boolean | string | CellMenu | CellMenuConfig;
804
+ /**
805
+ * Displays a tooltip when hovering cells.
806
+ * ...
807
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/CellTooltip)
808
+ */
809
+ cellTooltipFeature?: object | boolean | string | CellTooltip | CellTooltipConfig;
810
+ /**
811
+ * Adds interactive charting to a Grid. [Charts](https://bryntum.com/products/gantt/docs/api/Chart/widget/Chart) can be created from a selection of Grid data
812
+ * and updated in realtime as data changes. Supports many common chart types with extensive styling and customization
813
+ * options.
814
+ * ...
815
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/Charts)
816
+ */
817
+ chartsFeature?: object | boolean | string | Charts | ChartsConfig;
818
+ /**
819
+ * Enables the [autoWidth](https://bryntum.com/products/gantt/docs/api/Grid/column/Column#config-autoWidth) config for a grid's columns.
820
+ * ...
821
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/ColumnAutoWidth)
822
+ */
823
+ columnAutoWidthFeature?: object | boolean | string | ColumnAutoWidth | ColumnAutoWidthConfig;
824
+ /**
825
+ * Displays a toolbar while dragging column headers. Drop on a button in the toolbar to activate a certain function,
826
+ * for example to group by that column. This feature simplifies certain operations on touch devices.
827
+ * ...
828
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/ColumnDragToolbar)
829
+ */
830
+ columnDragToolbarFeature?: object | boolean | string | ColumnDragToolbar | ColumnDragToolbarConfig;
831
+ /**
832
+ * Displays a column picker (to show/hide columns) in the header context menu. Columns can be displayed in sub menus
833
+ * by region or tag. Grouped headers are displayed as menu hierarchies.
834
+ * ...
835
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/ColumnPicker)
836
+ */
837
+ columnPickerFeature?: object | boolean | string | ColumnPicker | ColumnPickerConfig;
838
+ /**
839
+ * Allows user to rename columns by either right-clicking column header or using keyboard shortcuts when column header
840
+ * is focused.
841
+ * ...
842
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/ColumnRename)
843
+ */
844
+ columnRenameFeature?: object | boolean | string | ColumnRename | ColumnRenameConfig;
845
+ /**
846
+ * Allows user to reorder columns by dragging headers. To get notified about column reorder listen to `change` event
847
+ * on [columns](https://bryntum.com/products/gantt/docs/api/Grid/data/ColumnStore) store.
848
+ * ...
849
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/ColumnReorder)
850
+ */
851
+ columnReorderFeature?: object | boolean | string | ColumnReorder | ColumnReorderConfig;
852
+ /**
853
+ * Enables user to resize columns by dragging a handle on the right hand side of the header. To get notified about column
854
+ * resize listen to `change` event on [columns](https://bryntum.com/products/gantt/docs/api/Grid/data/ColumnStore) store.
855
+ * ...
856
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/ColumnResize)
857
+ */
858
+ columnResizeFeature?: object | boolean | string | ColumnResize | ColumnResizeConfig;
859
+ /**
860
+ * A feature that allows exporting Grid data to Excel or CSV without involving the server. It uses
861
+ * [TableExporter](https://bryntum.com/products/gantt/docs/api/Grid/util/TableExporter) class as data provider, 3rd party provider to generate XLS files, and
862
+ * [Microsoft XML specification](https://msdn.microsoft.com/en-us/library/office/documentformat.openxml.spreadsheet.aspx).
863
+ * ...
864
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/experimental/ExcelExporter)
865
+ */
866
+ excelExporterFeature?: object | boolean | string | GridExcelExporter | GridExcelExporterConfig;
867
+ /**
868
+ * An experimental feature that lets users drop files on a Widget. The widget fires an event when a file is dropped onto it.
869
+ * In the event, you get access to the raw files as strings, that were parsed by calling `readAsBinaryString`.
870
+ * ...
871
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/experimental/FileDrop)
872
+ */
873
+ fileDropFeature?: object | boolean | string | FileDrop | FileDropConfig;
874
+ /**
875
+ * This feature adds a fill handle to a Grid range selection, which when dragged, fills the cells being dragged over
876
+ * with values based on the values in the original selected range. This is similar to functionality normally seen in
877
+ * various spreadsheet applications.
878
+ * ...
879
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/FillHandle)
880
+ */
881
+ fillHandleFeature?: object | boolean | string | FillHandle | FillHandleConfig;
882
+ /**
883
+ * Feature that allows filtering of the grid by settings filters on columns. The actual filtering is done by the store.
884
+ * For info on programmatically handling filters, see [StoreFilter](https://bryntum.com/products/gantt/docs/api/Core/data/mixin/StoreFilter).
885
+ * ...
886
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/Filter)
887
+ */
888
+ filterFeature?: object | boolean | string | Filter | FilterConfig;
889
+ /**
890
+ * Feature that allows filtering of the grid by entering filters on column headers.
891
+ * The actual filtering is done by the store.
892
+ * For info on programmatically handling filters, see [StoreFilter](https://bryntum.com/products/gantt/docs/api/Core/data/mixin/StoreFilter).
893
+ * ...
894
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/FilterBar)
895
+ */
896
+ filterBarFeature?: object | boolean | string | FilterBar | FilterBarConfig;
897
+ /**
898
+ * Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
899
+ * <kbd>shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
900
+ * one anywhere on grid). Use <kbd>shift</kbd> + <kbd>alt</kbd> + click, or the context menu, to remove a column
901
+ * grouper.
902
+ * ...
903
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/Group)
904
+ */
905
+ groupFeature?: object | boolean | string | Group | GroupConfig;
906
+ /**
907
+ * Displays a summary row as a group footer in a grouped grid. Uses the same configuration options on columns as
908
+ * [Summary](https://bryntum.com/products/gantt/docs/api/Grid/feature/Summary).
909
+ * ...
910
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/GroupSummary)
911
+ */
912
+ groupSummaryFeature?: object | boolean | string | GridGroupSummary | GridGroupSummaryConfig;
913
+ /**
914
+ * Right click column header or focus it and press SPACE key to show the context menu for headers.
915
+ * ...
916
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/HeaderMenu)
917
+ */
918
+ headerMenuFeature?: object | boolean | string | HeaderMenu | HeaderMenuConfig;
919
+ /**
920
+ * This feature allows records which satisfy a certain condition to be locked at the top of the grid.
921
+ * ...
922
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/LockRows)
923
+ */
924
+ lockRowsFeature?: object | boolean | string | GridLockRows | GridLockRowsConfig;
925
+ /**
926
+ * This feature merges cells that have the same value in sorted (or [optionally](https://bryntum.com/products/gantt/docs/api/Grid/feature/MergeCells#config-sortedOnly) any) columns
927
+ * configured to [mergeCells](https://bryntum.com/products/gantt/docs/api/Grid/column/Column#config-mergeCells).
928
+ * ...
929
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/MergeCells)
930
+ */
931
+ mergeCellsFeature?: object | boolean | string | MergeCells | MergeCellsConfig;
932
+ /**
933
+ * Generates PDF/PNG files from the Grid component.
934
+ * ...
935
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/export/PdfExport)
936
+ */
937
+ pdfExportFeature?: object | boolean | string | GridPdfExport | GridPdfExportConfig;
938
+ /**
939
+ * Allows pinning columns to the start or end region of the grid without any additional subGrid configurations.
940
+ * When pinning to a region that does not yet exist, the feature creates the required subGrid on the fly.
941
+ * ...
942
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/PinColumns)
943
+ */
944
+ pinColumnsFeature?: object | boolean | string | PinColumns | PinColumnsConfig;
945
+ /**
946
+ * Allows printing Grid contents using browser print dialog.
947
+ * ...
948
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/export/Print)
949
+ */
950
+ printFeature?: object | boolean | string | GridPrint | GridPrintConfig;
951
+ /**
952
+ * Feature that allows the user to search in a column by focusing a cell and typing. Navigate between hits using the
953
+ * keyboard, [f3] or [ctrl]/[cmd] + [g] moves to next, also pressing [shift] moves to previous.
954
+ * ...
955
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/QuickFind)
956
+ */
957
+ quickFindFeature?: object | boolean | string | QuickFind | QuickFindConfig;
958
+ /**
959
+ * Makes the splitter between grid [sections](https://bryntum.com/products/gantt/docs/api/Grid/view/SubGrid) draggable, to let users resize, and
960
+ * collapse/expand the sections.
961
+ * ...
962
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/RegionResize)
963
+ */
964
+ regionResizeFeature?: object | boolean | string | RegionResize | RegionResizeConfig;
965
+ /**
966
+ * Allow using [Ctrl/CMD + C/X] and [Ctrl/CMD + V] to copy/cut-and-paste rows. Also makes cut, copy and paste actions
967
+ * available via the cell context menu.
968
+ * ...
969
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/RowCopyPaste)
970
+ */
971
+ rowCopyPasteFeature?: object | boolean | string | RowCopyPaste | RowCopyPasteConfig;
972
+ /**
973
+ * This feature allows editing of entire rows in a grid in a docked panel which by default slides out from the right.
974
+ * ...
975
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/RowEdit)
976
+ */
977
+ rowEditFeature?: object | boolean | string | RowEdit | RowEditConfig;
978
+ /**
979
+ * Enables expanding of Grid rows by either row click or double click, or by adding a separate Grid column which renders
980
+ * a button that expands or collapses the row.
981
+ * ...
982
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/RowExpander)
983
+ */
984
+ rowExpanderFeature?: object | boolean | string | RowExpander | RowExpanderConfig;
985
+ /**
986
+ * Allows user to reorder rows by dragging them. To get notified about row reorder listen to `change` event
987
+ * on the grid [store](https://bryntum.com/products/gantt/docs/api/Core/data/Store).
988
+ * ...
989
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/RowReorder)
990
+ */
991
+ rowReorderFeature?: object | boolean | string | GridRowReorder | GridRowReorderConfig;
992
+ /**
993
+ * Enables user to change row height by dragging the bottom row border. After a resize operation, the [rowHeight](https://bryntum.com/products/gantt/docs/api/Grid/data/GridRowModel#field-rowHeight)
994
+ * field of the record is updated (when [applyToAllRows](https://bryntum.com/products/gantt/docs/api/Grid/feature/RowResize#config-applyToAllRows) is `false`).
995
+ * ...
996
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/RowResize)
997
+ */
998
+ rowResizeFeature?: object | boolean | string | GridRowResize | GridRowResizeConfig;
999
+ /**
1000
+ * <div class="external-example vertical" data-file="Grid/feature/Search.js"></div>
1001
+ * ...
1002
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/Search)
1003
+ */
1004
+ searchFeature?: object | boolean | string | Search | SearchConfig;
1005
+ /**
1006
+ * Allows sorting of grid by clicking (or tapping) headers, also displays which columns grid is sorted by (numbered if
1007
+ * using multisort). Use modifier keys for multisorting: [Ctrl/CMD + click] to add sorter, [Ctrl/CMD + Alt + click] to remove sorter.
1008
+ * The actual sorting is done by the store, see [Store.sort()](https://bryntum.com/products/gantt/docs/api/Core/data/mixin/StoreSort#function-sort).
1009
+ * ...
1010
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/Sort)
1011
+ */
1012
+ sortFeature?: object | boolean | string | Sort | SortConfig;
1013
+ /**
1014
+ * This feature allows splitting the Grid into multiple views, either by using the cell context menu, or
1015
+ * programmatically by calling [split()](https://bryntum.com/products/gantt/docs/api/Grid/feature/Split#function-split).
1016
+ * ...
1017
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/Split)
1018
+ */
1019
+ splitFeature?: object | boolean | string | GridSplit | GridSplitConfig;
1020
+ /**
1021
+ * A feature which pins configurable content from a grid row to the top of the grid
1022
+ * while the row scrolls off the top but is still visible.
1023
+ * ...
1024
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/StickyCells)
1025
+ */
1026
+ stickyCellsFeature?: object | boolean | string | StickyCells | StickyCellsConfig;
1027
+ /**
1028
+ * Stripes rows by adding alternating CSS classes to all row elements (`b-even` and `b-odd`).
1029
+ * ...
1030
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/Stripe)
1031
+ */
1032
+ stripeFeature?: object | boolean | string | Stripe | StripeConfig;
1033
+ /**
1034
+ * Displays a summary row in the grid footer.
1035
+ * ...
1036
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/GridSummary)
1037
+ */
1038
+ summaryFeature?: object | boolean | string | GridSummary | GridSummaryConfig;
1039
+ /**
1040
+ * Feature that makes the grid work more like a tree. Included by default in [TreeGrid](https://bryntum.com/products/gantt/docs/api/Grid/view/TreeGrid). Requires
1041
+ * exactly one [TreeColumn](https://bryntum.com/products/gantt/docs/api/Grid/column/TreeColumn) among grids columns. That column will have its renderer replaced with a
1042
+ * tree renderer that adds padding and icon to give the appearance of a tree. The original renderer is preserved and
1043
+ * also called.
1044
+ * ...
1045
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/Tree)
1046
+ */
1047
+ treeFeature?: object | boolean | string | Tree | TreeConfig;
1048
+ /**
1049
+ * A feature that allows transforming a flat dataset (or the leaves of a hierarchical) into a tree by specifying a
1050
+ * record field per parent level. Parents are generated based on each leaf's value for those fields.
1051
+ * ...
1052
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Grid/feature/TreeGroup)
1053
+ */
1054
+ treeGroupFeature?: object | boolean | string | GridTreeGroup | GridTreeGroupConfig;
1055
+ };
1056
+ export declare class BryntumAssignmentGridComponent implements OnInit, OnDestroy {
1057
+ static instanceClass: typeof AssignmentGrid;
1058
+ static instanceName: string;
1059
+ private static bryntumEvents;
1060
+ private static bryntumFeatureNames;
1061
+ private static bryntumConfigs;
1062
+ private static bryntumConfigsOnly;
1063
+ private static bryntumProps;
1064
+ private elementRef;
1065
+ instance: AssignmentGrid;
1066
+ private bryntumConfig;
1067
+ constructor(element: ElementRef);
1068
+ adopt: HTMLElement | string;
1069
+ animateFilterRemovals: boolean;
1070
+ animateRemovingRows: boolean;
1071
+ ariaDescription: string;
1072
+ ariaLabel: string;
1073
+ autoHeight: boolean;
1074
+ bbar: (GanttContainerItemConfig | string)[] | ToolbarConfig | PagingToolbarConfig | null;
1075
+ bodyCls: string | object;
1076
+ bubbleEvents: object;
1077
+ collapsible: boolean | PanelCollapserConfig | PanelCollapserOverlayConfig;
1078
+ color: string;
1079
+ config: object;
1080
+ contentElementCls: string | object;
1081
+ contextMenuTriggerEvent: 'contextmenu' | 'click' | 'dblclick';
1082
+ dataField: string;
1083
+ defaultRegion: string;
1084
+ destroyStore: boolean;
1085
+ detectCSSCompatibilityIssues: boolean;
1086
+ disableGridColumnIdWarning: boolean;
1087
+ disableGridRowModelWarning: boolean;
1088
+ dock: 'top' | 'bottom' | 'left' | 'right' | 'start' | 'end' | 'header' | 'pre-header' | object;
1089
+ drawer: boolean | {
1090
+ side?: 'start' | 'left' | 'end' | 'right' | 'top' | 'bottom';
1091
+ size?: string | number;
1092
+ inline?: boolean;
1093
+ autoClose: {
1094
+ mousedown?: boolean | string;
1095
+ focusout?: boolean | string;
1096
+ mouseout?: string;
1097
+ };
1098
+ autoCloseDelay?: number;
1099
+ };
1100
+ elementAttributes: Record<string, string | null>;
1101
+ enableSticky: boolean;
1102
+ enableTextSelection: boolean;
1103
+ fillLastColumn: boolean;
1104
+ fixedRowHeight: boolean;
1105
+ footer: {
1106
+ dock?: 'top' | 'right' | 'bottom' | 'left' | 'start' | 'end';
1107
+ html?: string;
1108
+ cls?: string;
1109
+ } | string;
1110
+ formulaProviders: Record<string, FormulaProviderConfig>;
1111
+ fullRowRefresh: boolean;
1112
+ getRowHeight: (getRowHeight: {
1113
+ record: Model;
1114
+ }) => number;
1115
+ header: string | boolean | PanelHeader;
1116
+ hideHorizontalScrollbar: boolean;
1117
+ hoverCls: string;
1118
+ icon: string | DomConfig;
1119
+ ignoreParentReadOnly: boolean;
1120
+ listeners: AssignmentGridListeners;
1121
+ loadMask: string | MaskConfig | null;
1122
+ loadMaskDefaults: MaskConfig;
1123
+ loadMaskError: MaskConfig | Mask | boolean;
1124
+ localizable: boolean;
1125
+ maskDefaults: MaskConfig;
1126
+ masked: boolean | string | MaskConfig;
1127
+ monitorResize: boolean;
1128
+ owner: Widget | any;
1129
+ plugins: Function[];
1130
+ preserveFocusOnDatasetChange: boolean;
1131
+ preserveScrollOnDatasetChange: boolean;
1132
+ preventTooltipOnTouch: boolean;
1133
+ projectEvent: TaskModel;
1134
+ relayStoreEvents: boolean;
1135
+ resizable: boolean | {
1136
+ minWidth?: number;
1137
+ maxWidth?: number;
1138
+ minHeight?: number;
1139
+ maxHeight?: number;
1140
+ handles?: object;
1141
+ };
1142
+ resizeToFitIncludesHeader: boolean;
1143
+ resourceColumn: ResourceAssignmentColumnConfig;
1144
+ responsiveLevels: Record<string, number | string | ResponsiveLevelConfig>;
1145
+ ripple: boolean | {
1146
+ delegate?: string;
1147
+ color?: string;
1148
+ radius?: number;
1149
+ clip?: string;
1150
+ };
1151
+ rootElement: ShadowRoot | HTMLElement;
1152
+ scrollerClass: typeof Scroller;
1153
+ scrollManager: ScrollManagerConfig | ScrollManager;
1154
+ showDirty: boolean | {
1155
+ duringEdit?: boolean;
1156
+ newRecord?: boolean;
1157
+ };
1158
+ stateful: boolean | object | string[];
1159
+ statefulEvents: object | string[];
1160
+ stateId: string;
1161
+ stateProvider: StateProvider;
1162
+ strips: Record<string, GanttContainerItemConfig>;
1163
+ subGridConfigs: Record<string, SubGridConfig>;
1164
+ syncMask: string | MaskConfig | null;
1165
+ tab: boolean | TabConfig;
1166
+ tabBarItems: ToolbarItems[] | Widget[];
1167
+ tbar: (GanttContainerItemConfig | string)[] | ToolbarConfig | PagingToolbarConfig | null;
1168
+ type: 'assignmentgrid';
1169
+ ui: 'plain' | 'toolbar' | string | object;
1170
+ unitsColumn: NumberColumnConfig;
1171
+ weight: number;
1172
+ alignSelf: string;
1173
+ animateTreeNodeToggle: boolean;
1174
+ appendTo: HTMLElement | string;
1175
+ callOnFunctions: boolean;
1176
+ catchEventHandlerExceptions: boolean;
1177
+ cellEllipsis: boolean;
1178
+ cls: string | object;
1179
+ collapsed: boolean;
1180
+ column: number;
1181
+ columnLines: boolean;
1182
+ columns: ColumnStore | GanttColumnConfig[] | ColumnStoreConfig;
1183
+ data: object[] | Model[] | ModelConfig[];
1184
+ dataset: object | Record<string, string>;
1185
+ disabled: boolean | 'inert';
1186
+ emptyText: string | EmptyTextDomConfig;
1187
+ enableUndoRedoKeys: boolean;
1188
+ extraData: any;
1189
+ flex: number | string;
1190
+ height: number | string;
1191
+ hidden: boolean;
1192
+ hideFooters: boolean;
1193
+ hideHeaders: boolean;
1194
+ id: string;
1195
+ inputFieldAlign: 'start' | 'end';
1196
+ insertBefore: HTMLElement | string;
1197
+ insertFirst: HTMLElement | string;
1198
+ keyMap: Record<string, KeyMapConfig>;
1199
+ labelPosition: 'before' | 'above' | 'align-before' | 'auto' | null;
1200
+ longPressTime: number;
1201
+ margin: number | string;
1202
+ maxHeight: string | number;
1203
+ maxWidth: string | number;
1204
+ minHeight: string | number;
1205
+ minWidth: string | number;
1206
+ preserveScroll: PreserveScrollOptions | boolean;
1207
+ readOnly: boolean;
1208
+ rendition: string | Record<string, string> | null;
1209
+ rowHeight: number;
1210
+ rowLines: boolean;
1211
+ rtl: boolean;
1212
+ scrollable: Scroller | boolean | ScrollerConfig;
1213
+ selectionMode: GridSelectionMode;
1214
+ span: number;
1215
+ stateSettings: {
1216
+ restoreUnconfiguredColumns?: boolean;
1217
+ };
1218
+ store: Store | StoreConfig | AjaxStore | AjaxStoreConfig;
1219
+ title: string;
1220
+ tools: Record<string, Tool | ToolConfig> | null | Record<string, Tool> | Record<string, ToolConfig>;
1221
+ transition: {
1222
+ insertRecord?: boolean;
1223
+ removeRecord?: boolean;
1224
+ toggleColumn?: boolean;
1225
+ expandCollapseColumn?: boolean;
1226
+ toggleRegion?: boolean;
1227
+ toggleTreeNode?: boolean;
1228
+ toggleGroup?: boolean;
1229
+ filterRemoval?: boolean;
1230
+ };
1231
+ transitionDuration: number;
1232
+ width: number | string;
1233
+ focusVisible: boolean;
1234
+ hasChanges: boolean;
1235
+ originalStore: Store;
1236
+ parent: Widget;
1237
+ selectedCell: GridLocation | GridLocationConfig;
1238
+ selectedCells: GridLocation[] | GridLocationConfig[];
1239
+ selectedRecord: Model;
1240
+ selectedRecords: Model[] | number[];
1241
+ selectedRows: Model[] | number[];
1242
+ state: GridStateInfo;
1243
+ tooltip: string | TooltipConfig;
1244
+ aiFilterFeature: object | boolean | string | AIFilter | AIFilterConfig;
1245
+ cellCopyPasteFeature: object | boolean | string | CellCopyPaste | CellCopyPasteConfig;
1246
+ cellEditFeature: object | boolean | string | GridCellEdit | GridCellEditConfig;
1247
+ cellMenuFeature: object | boolean | string | CellMenu | CellMenuConfig;
1248
+ cellTooltipFeature: object | boolean | string | CellTooltip | CellTooltipConfig;
1249
+ chartsFeature: object | boolean | string | Charts | ChartsConfig;
1250
+ columnAutoWidthFeature: object | boolean | string | ColumnAutoWidth | ColumnAutoWidthConfig;
1251
+ columnDragToolbarFeature: object | boolean | string | ColumnDragToolbar | ColumnDragToolbarConfig;
1252
+ columnPickerFeature: object | boolean | string | ColumnPicker | ColumnPickerConfig;
1253
+ columnRenameFeature: object | boolean | string | ColumnRename | ColumnRenameConfig;
1254
+ columnReorderFeature: object | boolean | string | ColumnReorder | ColumnReorderConfig;
1255
+ columnResizeFeature: object | boolean | string | ColumnResize | ColumnResizeConfig;
1256
+ excelExporterFeature: object | boolean | string | GridExcelExporter | GridExcelExporterConfig;
1257
+ fileDropFeature: object | boolean | string | FileDrop | FileDropConfig;
1258
+ fillHandleFeature: object | boolean | string | FillHandle | FillHandleConfig;
1259
+ filterFeature: object | boolean | string | Filter | FilterConfig;
1260
+ filterBarFeature: object | boolean | string | FilterBar | FilterBarConfig;
1261
+ groupFeature: object | boolean | string | Group | GroupConfig;
1262
+ groupSummaryFeature: object | boolean | string | GridGroupSummary | GridGroupSummaryConfig;
1263
+ headerMenuFeature: object | boolean | string | HeaderMenu | HeaderMenuConfig;
1264
+ lockRowsFeature: object | boolean | string | GridLockRows | GridLockRowsConfig;
1265
+ mergeCellsFeature: object | boolean | string | MergeCells | MergeCellsConfig;
1266
+ pdfExportFeature: object | boolean | string | GridPdfExport | GridPdfExportConfig;
1267
+ pinColumnsFeature: object | boolean | string | PinColumns | PinColumnsConfig;
1268
+ printFeature: object | boolean | string | GridPrint | GridPrintConfig;
1269
+ quickFindFeature: object | boolean | string | QuickFind | QuickFindConfig;
1270
+ regionResizeFeature: object | boolean | string | RegionResize | RegionResizeConfig;
1271
+ rowCopyPasteFeature: object | boolean | string | RowCopyPaste | RowCopyPasteConfig;
1272
+ rowEditFeature: object | boolean | string | RowEdit | RowEditConfig;
1273
+ rowExpanderFeature: object | boolean | string | RowExpander | RowExpanderConfig;
1274
+ rowReorderFeature: object | boolean | string | GridRowReorder | GridRowReorderConfig;
1275
+ rowResizeFeature: object | boolean | string | GridRowResize | GridRowResizeConfig;
1276
+ searchFeature: object | boolean | string | Search | SearchConfig;
1277
+ sortFeature: object | boolean | string | Sort | SortConfig;
1278
+ splitFeature: object | boolean | string | GridSplit | GridSplitConfig;
1279
+ stickyCellsFeature: object | boolean | string | StickyCells | StickyCellsConfig;
1280
+ stripeFeature: object | boolean | string | Stripe | StripeConfig;
1281
+ summaryFeature: object | boolean | string | GridSummary | GridSummaryConfig;
1282
+ treeFeature: object | boolean | string | Tree | TreeConfig;
1283
+ treeGroupFeature: object | boolean | string | GridTreeGroup | GridTreeGroupConfig;
1284
+ /**
1285
+ * Fires on the owning Grid before the cell editing is canceled, return `false` to prevent cancellation.
1286
+ * @param {object} event Event object
1287
+ * @param {Grid.view.Grid} event.source Owner grid
1288
+ * @param {Grid.util.GridLocation} event.editorContext Editing context
1289
+ */
1290
+ onBeforeCancelCellEdit: any;
1291
+ /**
1292
+ * Fires on the owning Grid before the row editing is canceled, return false to signal that the value is invalid and editing should not be finalized.
1293
+ * ...
1294
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#event-beforeCancelRowEdit)
1295
+ * @param {object} event Event object
1296
+ * @param {Grid.view.Grid} event.grid Target grid
1297
+ * @param {RowEditorContext} event.editorContext Editing context
1298
+ */
1299
+ onBeforeCancelRowEdit: any;
1300
+ /**
1301
+ * Fires on the owning Grid before editing starts, return `false` to prevent editing
1302
+ * @param {object} event Event object
1303
+ * @param {Grid.view.Grid} event.source Owner grid
1304
+ * @param {CellEditorContext} event.editorContext Editing context
1305
+ */
1306
+ onBeforeCellEditStart: any;
1307
+ /**
1308
+ * Fires on the owning Grid before deleting a range of selected cell values by pressing `Backspace` or `Del`
1309
+ * buttons while [autoEdit](https://bryntum.com/products/gantt/docs/api/Grid/feature/CellEdit#config-autoEdit) is set to `true`. Return `false` to prevent editing.
1310
+ * @param {object} event Event object
1311
+ * @param {Grid.view.Grid} event.source Owner grid
1312
+ * @param {(Grid.util.GridLocation|Core.data.Model)[]} event.gridSelection An array of cell selectors or records that will have their values deleted (the records themselves will not get deleted, only visible column values).
1313
+ */
1314
+ onBeforeCellRangeDelete: any;
1315
+ /**
1316
+ * Fires for each selected record on the owning Grid before editing a range of selected cell values
1317
+ * @param {object} event Event object
1318
+ * @param {Core.data.Model} event.record Current selected record from the range
1319
+ * @param {string} event.field The field being changed
1320
+ * @param {any} event.value The value being set
1321
+ */
1322
+ onBeforeCellRangeEdit: any;
1323
+ /**
1324
+ * This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
1325
+ * @param {object} event Event object
1326
+ * @param {Grid.view.Grid} event.source The grid instance.
1327
+ * @param {Grid.column.Column} event.column The dragged column.
1328
+ * @param {Event} event.event The browser event.
1329
+ */
1330
+ onBeforeColumnDragStart: any;
1331
+ /**
1332
+ * This event is fired when a column is dropped, and you can return false from a listener to abort the operation.
1333
+ * @param {object} event Event object
1334
+ * @param {Grid.view.Grid} event.source The grid instance.
1335
+ * @param {Grid.column.Column} event.column The dragged column.
1336
+ * @param {Grid.column.Column} event.insertBefore The column before which the dragged column will be inserted.
1337
+ * @param {Grid.column.Column} event.newParent The new parent column.
1338
+ * @param {Event} event.event The browser event.
1339
+ * @param {string} event.region The region where the column was dropped.
1340
+ */
1341
+ onBeforeColumnDropFinalize: any;
1342
+ /**
1343
+ * This event is fired prior to starting a column resize gesture. The resize is canceled if a listener returns
1344
+ * `false`.
1345
+ * @param {object} event Event object
1346
+ * @param {Grid.view.Grid} event.source The grid instance
1347
+ * @param {Grid.column.Column} event.column The column
1348
+ * @param {Event} event.domEvent The browser event
1349
+ */
1350
+ onBeforeColumnResize: any;
1351
+ /**
1352
+ * Fires on the owning Grid before a copy action is performed, return `false` to prevent the action
1353
+ * @param {object} event Event object
1354
+ * @param {Grid.view.Grid} event.source Owner grid
1355
+ * @param {Grid.util.GridLocation[]} event.cells The cells about to be copied or cut
1356
+ * @param {string} event.data The string data about to be copied or cut
1357
+ * @param {boolean} event.isCut `true` if this is a cut action
1358
+ * @param {string} event.entityName 'cell' to distinguish this event from other beforeCopy events
1359
+ */
1360
+ onBeforeCopy: any;
1361
+ /**
1362
+ * Fires on the owning Grid before CSV export starts. Return `false` to cancel the export.
1363
+ * @param {object} event Event object
1364
+ * @param {ExportConfig} event.config Export config
1365
+ * @param {Grid.column.Column[]} event.columns An array of columns to export
1366
+ * @param {Core.data.Model[]} event.rows An array of records to export
1367
+ * @param {string} event.lineDelimiter The CSV delimiter to separate lines
1368
+ * @param {string} event.columnDelimiter The CSV delimiter to separate values on one line
1369
+ */
1370
+ onBeforeCSVExport: any;
1371
+ /**
1372
+ * Fires before an object is destroyed.
1373
+ * @param {object} event Event object
1374
+ * @param {Core.Base} event.source The Object that is being destroyed.
1375
+ */
1376
+ onBeforeDestroy: any;
1377
+ /**
1378
+ * Fires on the owning Grid before Excel export starts. Return `false` to cancel the export.
1379
+ * @param {object} event Event object
1380
+ * @param {ExportConfig} event.config Export config
1381
+ * @param {XLSColumn[]} event.columns An array of columns to export
1382
+ * @param {any[][]} event.rows An array of records to export
1383
+ */
1384
+ onBeforeExcelExport: any;
1385
+ /**
1386
+ * Fired before dragging of the FillHandle starts, return `false` to prevent the drag operation.
1387
+ * @param {object} event Event object
1388
+ * @param {Grid.util.GridLocation} event.cell Information about the column / record
1389
+ * @param {MouseEvent} event.domEvent The raw DOM event
1390
+ */
1391
+ onBeforeFillHandleDragStart: any;
1392
+ /**
1393
+ * Fires on the owning Grid before the cell editing is finished, return false to signal that the value is invalid and editing should not be finalized.
1394
+ * @param {object} event Event object
1395
+ * @param {Grid.view.Grid} event.grid Target grid
1396
+ * @param {CellEditorContext} event.editorContext Editing context
1397
+ */
1398
+ onBeforeFinishCellEdit: any;
1399
+ /**
1400
+ * Fires on the owning Grid before the row editing is finished, return false to signal that the value is invalid and editing should not be finalized.
1401
+ * ...
1402
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#event-beforeFinishRowEdit)
1403
+ * @param {object} event Event object
1404
+ * @param {Grid.view.Grid} event.grid Target grid
1405
+ * @param {RowEditorContext} event.editorContext Editing context
1406
+ */
1407
+ onBeforeFinishRowEdit: any;
1408
+ /**
1409
+ * Triggered before a widget is hidden. Return `false` to prevent the action.
1410
+ * @param {object} event Event object
1411
+ * @param {Core.widget.Widget} event.source The widget being hidden.
1412
+ */
1413
+ onBeforeHide: any;
1414
+ /**
1415
+ * Fires on the owning Grid before a paste action is performed, return `false` to prevent the action
1416
+ * @param {object} event Event object
1417
+ * @param {Grid.view.Grid} event.source Owner grid
1418
+ * @param {string} event.clipboardData The clipboardData about to be pasted
1419
+ * @param {Grid.util.GridLocation} event.targetCell The cell from which the paste will be started
1420
+ * @param {string} event.entityName 'cell' to distinguish this event from other beforePaste events
1421
+ * @param {string} event.text The raw text from clipboard
1422
+ */
1423
+ onBeforePaste: any;
1424
+ /**
1425
+ * Fires on the owning Grid before export started. Return `false` to cancel the export.
1426
+ * @param {object} event Event object
1427
+ * @param {object} event.config Export config
1428
+ */
1429
+ onBeforePdfExport: any;
1430
+ /**
1431
+ * Fires before a row is rendered.
1432
+ * @param {object} event Event object
1433
+ * @param {Grid.view.Grid} event.source The firing Grid instance.
1434
+ * @param {Grid.row.Row} event.row The row about to be rendered.
1435
+ * @param {Core.data.Model} event.record The record for the row.
1436
+ * @param {number} event.recordIndex The zero-based index of the record.
1437
+ */
1438
+ onBeforeRenderRow: any;
1439
+ /**
1440
+ * Grid rows are about to be rendered
1441
+ * @param {object} event Event object
1442
+ * @param {Grid.view.Grid} event.source This grid.
1443
+ */
1444
+ onBeforeRenderRows: any;
1445
+ /**
1446
+ * This event fires before row collapse is started.
1447
+ * ...
1448
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#event-beforeRowCollapse)
1449
+ * @param {object} event Event object
1450
+ * @param {Core.data.Model} event.record Record
1451
+ */
1452
+ onBeforeRowCollapse: any;
1453
+ /**
1454
+ * This event fires before row expand is started.
1455
+ * ...
1456
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#event-beforeRowExpand)
1457
+ * @param {object} event Event object
1458
+ * @param {Core.data.Model} event.record Record
1459
+ */
1460
+ onBeforeRowExpand: any;
1461
+ /**
1462
+ * Fires before the selection changes. Returning `false` from a listener prevents the change
1463
+ * @param {object} event Event object
1464
+ * @param {string} event.action `'select'`/`'deselect'`
1465
+ * @param {'row','cell'} event.mode `'row'`/`'cell'`
1466
+ * @param {Grid.view.Grid} event.source
1467
+ * @param {Core.data.Model[]} event.deselected The records to be deselected in this operation.
1468
+ * @param {Core.data.Model[]} event.selected The records to be selected in this operation.
1469
+ * @param {Core.data.Model[]} event.selection The records in the current selection, before applying `selected` and `deselected`
1470
+ * @param {Grid.util.GridLocation[]} event.deselectedCells The cells to be deselected in this operation.
1471
+ * @param {Grid.util.GridLocation[]} event.selectedCells The cells to be selected in this operation.
1472
+ * @param {Grid.util.GridLocation[]} event.cellSelection The cells in the current selection, before applying `selectedCells` and `deselectedCells`
1473
+ */
1474
+ onBeforeSelectionChange: any;
1475
+ /**
1476
+ * Fired before this container will load record values into its child fields. This is useful if you
1477
+ * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
1478
+ * @param {object} event Event object
1479
+ * @param {Core.widget.Container} event.source The container
1480
+ * @param {Core.data.Model} event.record The record
1481
+ */
1482
+ onBeforeSetRecord: any;
1483
+ /**
1484
+ * Triggered before a widget is shown. Return `false` to prevent the action.
1485
+ * @param {object} event Event object
1486
+ * @param {Core.widget.Widget,any} event.source The widget being shown
1487
+ */
1488
+ onBeforeShow: any;
1489
+ /**
1490
+ * Fires on the owning Grid before editing starts, return `false` to prevent editing
1491
+ * @param {object} event Event object
1492
+ * @param {Grid.view.Grid} event.source Owner grid
1493
+ * @param {RowEditorContext} event.editorContext Editing context
1494
+ */
1495
+ onBeforeStartRowEdit: any;
1496
+ /**
1497
+ * Fired before state is applied to the source. Allows editing the state object or preventing the operation.
1498
+ * @param {object} event Event object
1499
+ * @param {GridStateInfo} event.state State object config
1500
+ */
1501
+ onBeforeStateApply: any;
1502
+ /**
1503
+ * Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
1504
+ * @param {object} event Event object
1505
+ * @param {GridStateInfo} event.state State object config
1506
+ */
1507
+ onBeforeStateSave: any;
1508
+ /**
1509
+ * Fired when a group is going to be expanded or collapsed using the UI.
1510
+ * Returning `false` from a listener prevents the operation
1511
+ * @param {object} event Event object
1512
+ * @param {Core.data.Model} event.groupRecord [DEPRECATED] Use `groupRecords` param instead
1513
+ * @param {Core.data.Model[]} event.groupRecords The group records being toggled
1514
+ * @param {boolean} event.collapse Collapsed (true) or expanded (false)
1515
+ * @param {Event} event.domEvent The user interaction event (eg a `click` event) if the toggle request was instigated by user interaction.
1516
+ */
1517
+ onBeforeToggleGroup: any;
1518
+ /**
1519
+ * Fired before a parent node record toggles its collapsed state.
1520
+ * @param {object} event Event object
1521
+ * @param {Grid.view.Grid} event.source The firing Grid instance.
1522
+ * @param {Core.data.Model} event.record The record being toggled.
1523
+ * @param {boolean} event.collapse `true` if the node is being collapsed.
1524
+ */
1525
+ onBeforeToggleNode: any;
1526
+ /**
1527
+ * Fires on the owning Grid when editing is cancelled
1528
+ * @param {object} event Event object
1529
+ * @param {Grid.view.Grid} event.source Owner grid
1530
+ * @param {Grid.util.GridLocation} event.editorContext Editing context
1531
+ * @param {Event} event.event Included if the cancellation was triggered by a DOM event
1532
+ */
1533
+ onCancelCellEdit: any;
1534
+ /**
1535
+ * Fires when any other event is fired from the object.
1536
+ * ...
1537
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#event-catchAll)
1538
+ * @param {object} event Event object
1539
+ * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
1540
+ * @param {string} event.event.type The type of the event which is caught by the listener
1541
+ */
1542
+ onCatchAll: any;
1543
+ /**
1544
+ * Fired when user clicks in a grid cell
1545
+ * @param {object} event Event object
1546
+ * @param {Grid.view.Grid} event.grid The grid instance
1547
+ * @param {Core.data.Model} event.record The record representing the row
1548
+ * @param {Grid.column.Column} event.column The column to which the cell belongs
1549
+ * @param {HTMLElement} event.cellElement The cell HTML element
1550
+ * @param {HTMLElement} event.target The target element
1551
+ * @param {MouseEvent} event.event The native DOM event
1552
+ */
1553
+ onCellClick: any;
1554
+ /**
1555
+ * Fired when user activates contextmenu in a grid cell
1556
+ * @param {object} event Event object
1557
+ * @param {Grid.view.Grid} event.grid The grid instance
1558
+ * @param {Core.data.Model} event.record The record representing the row
1559
+ * @param {Grid.column.Column} event.column The column to which the cell belongs
1560
+ * @param {HTMLElement} event.cellElement The cell HTML element
1561
+ * @param {HTMLElement} event.target The target element
1562
+ * @param {MouseEvent} event.event The native DOM event
1563
+ */
1564
+ onCellContextMenu: any;
1565
+ /**
1566
+ * Fired when user double clicks a grid cell
1567
+ * @param {object} event Event object
1568
+ * @param {Grid.view.Grid} event.grid The grid instance
1569
+ * @param {Core.data.Model} event.record The record representing the row
1570
+ * @param {Grid.column.Column} event.column The column to which the cell belongs
1571
+ * @param {HTMLElement} event.cellElement The cell HTML element
1572
+ * @param {HTMLElement} event.target The target element
1573
+ * @param {MouseEvent} event.event The native DOM event
1574
+ */
1575
+ onCellDblClick: any;
1576
+ /**
1577
+ * This event fires on the owning grid before the context menu is shown for a cell.
1578
+ * Allows manipulation of the items to show in the same way as in the [processItems](https://bryntum.com/products/gantt/docs/api/Grid/feature/CellMenu#config-processItems).
1579
+ * ...
1580
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#event-cellMenuBeforeShow)
1581
+ * @param {object} event Event object
1582
+ * @param {Grid.view.Grid} event.source The grid
1583
+ * @param {Core.widget.Menu} event.menu The menu
1584
+ * @param {Record<string, MenuItemEntry>} event.items Menu item configs
1585
+ * @param {Grid.column.Column} event.column Column
1586
+ * @param {Core.data.Model} event.record Record
1587
+ */
1588
+ onCellMenuBeforeShow: any;
1589
+ /**
1590
+ * This event fires on the owning grid when an item is selected in the cell context menu.
1591
+ * @param {object} event Event object
1592
+ * @param {Grid.view.Grid} event.source The grid
1593
+ * @param {Core.widget.Menu} event.menu The menu
1594
+ * @param {Core.widget.MenuItem} event.item Selected menu item
1595
+ * @param {Grid.column.Column} event.column Column
1596
+ * @param {Core.data.Model} event.record Record
1597
+ */
1598
+ onCellMenuItem: any;
1599
+ /**
1600
+ * This event fires on the owning grid after the context menu is shown for a cell.
1601
+ * @param {object} event Event object
1602
+ * @param {Grid.view.Grid} event.source The grid
1603
+ * @param {Core.widget.Menu} event.menu The menu
1604
+ * @param {Record<string, MenuItemEntry>} event.items Menu item configs
1605
+ * @param {Grid.column.Column} event.column Column
1606
+ * @param {Core.data.Model} event.record Record
1607
+ */
1608
+ onCellMenuShow: any;
1609
+ /**
1610
+ * This event fires on the owning grid when a check item is toggled in the cell context menu.
1611
+ * @param {object} event Event object
1612
+ * @param {Grid.view.Grid} event.source The grid
1613
+ * @param {Core.widget.Menu} event.menu The menu
1614
+ * @param {Core.widget.MenuItem} event.item Selected menu item
1615
+ * @param {Grid.column.Column} event.column Column
1616
+ * @param {Core.data.Model} event.record Record
1617
+ * @param {boolean} event.checked Checked or not
1618
+ */
1619
+ onCellMenuToggleItem: any;
1620
+ /**
1621
+ * Fired when the mouse enters a cell
1622
+ * @param {object} event Event object
1623
+ * @param {Grid.view.Grid} event.source The grid instance
1624
+ * @param {Core.data.Model} event.record The record representing the hovered cell
1625
+ * @param {Grid.column.Column} event.column The column currently hovered
1626
+ * @param {HTMLElement} event.cellElement The cell HTML element
1627
+ * @param {MouseEvent} event.event The native DOM event
1628
+ */
1629
+ onCellMouseEnter: any;
1630
+ /**
1631
+ * Fired when the mouse leaves a cell
1632
+ * @param {object} event Event object
1633
+ * @param {Grid.view.Grid} event.source The grid instance
1634
+ * @param {Core.data.Model} event.record The record representing the cell that the mouse left
1635
+ * @param {Grid.column.Column} event.column The column representing the cell that the mouse left
1636
+ * @param {HTMLElement} event.cellElement The cell HTML element that the mouse left
1637
+ * @param {MouseEvent} event.event The native DOM event
1638
+ */
1639
+ onCellMouseLeave: any;
1640
+ /**
1641
+ * Fired when a user moves the mouse out of a grid cell
1642
+ * @param {object} event Event object
1643
+ * @param {Grid.view.Grid} event.grid The grid instance
1644
+ * @param {Core.data.Model} event.record The record representing the row
1645
+ * @param {Grid.column.Column} event.column The column to which the cell belongs
1646
+ * @param {HTMLElement} event.cellElement The cell HTML element
1647
+ * @param {HTMLElement} event.target The target element
1648
+ * @param {MouseEvent} event.event The native DOM event
1649
+ */
1650
+ onCellMouseOut: any;
1651
+ /**
1652
+ * Fired when user moves the mouse over a grid cell
1653
+ * @param {object} event Event object
1654
+ * @param {Grid.view.Grid} event.grid The grid instance
1655
+ * @param {Core.data.Model} event.record The record representing the row
1656
+ * @param {Grid.column.Column} event.column The column to which the cell belongs
1657
+ * @param {HTMLElement} event.cellElement The cell HTML element
1658
+ * @param {HTMLElement} event.target The target element
1659
+ * @param {MouseEvent} event.event The native DOM event
1660
+ */
1661
+ onCellMouseOver: any;
1662
+ /**
1663
+ * Fires when a Panel is collapsed using the [collapsible](https://bryntum.com/products/gantt/docs/api/Core/widget/Panel#config-collapsible) setting.
1664
+ * @param {object} event Event object
1665
+ * @param {Core.widget.Panel} event.source This Panel.
1666
+ */
1667
+ onCollapse: any;
1668
+ /**
1669
+ * Fired before a parent node record is collapsed.
1670
+ * @param {object} event Event object
1671
+ * @param {Grid.view.Grid} event.source The firing Grid instance.
1672
+ * @param {Core.data.Model} event.record The record which has been collapsed.
1673
+ */
1674
+ onCollapseNode: any;
1675
+ /**
1676
+ * This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
1677
+ * to indicate whether the drop position is valid or not.
1678
+ * @param {object} event Event object
1679
+ * @param {Grid.view.Grid} event.source The grid instance.
1680
+ * @param {Grid.column.Column} event.column The dragged column.
1681
+ * @param {Grid.column.Column} event.insertBefore The column before which the dragged column will be inserted (if not last).
1682
+ * @param {Event} event.event The browser event.
1683
+ * @param {object} event.context
1684
+ * @param {boolean} event.context.valid Set this to `true` or `false` to indicate whether the drop position is valid.
1685
+ */
1686
+ onColumnDrag: any;
1687
+ /**
1688
+ * This event is fired when a column drag gesture has started.
1689
+ * @param {object} event Event object
1690
+ * @param {Grid.view.Grid} event.source The grid instance.
1691
+ * @param {Grid.column.Column} event.column The dragged column.
1692
+ * @param {Event} event.event The browser event.
1693
+ */
1694
+ onColumnDragStart: any;
1695
+ /**
1696
+ * This event is always fired after a column is dropped. The `valid` param is `true` if the operation was not
1697
+ * vetoed and the column was moved in the column store.
1698
+ * @param {object} event Event object
1699
+ * @param {Grid.view.Grid} event.source The grid instance.
1700
+ * @param {Grid.column.Column} event.column The dragged column.
1701
+ * @param {Grid.column.Column} event.insertBefore The column before which the dragged column will be inserted.
1702
+ * @param {Grid.column.Column} event.newParent The new parent column.
1703
+ * @param {boolean} event.valid `true` if the operation was not vetoed.
1704
+ * @param {Event} event.event The browser event.
1705
+ * @param {string} event.region The region where the column was dropped.
1706
+ */
1707
+ onColumnDrop: any;
1708
+ /**
1709
+ * This event is fired after a resize gesture is completed.
1710
+ * @param {object} event Event object
1711
+ * @param {Grid.view.Grid} event.source The grid instance
1712
+ * @param {Grid.column.Column} event.column The resized column
1713
+ * @param {Event} event.domEvent The browser event
1714
+ */
1715
+ onColumnResize: any;
1716
+ /**
1717
+ * This event is fired when a column resize gesture starts.
1718
+ * @param {object} event Event object
1719
+ * @param {Grid.view.Grid} event.source The grid instance
1720
+ * @param {Grid.column.Column} event.column The column
1721
+ * @param {Event} event.domEvent The browser event
1722
+ */
1723
+ onColumnResizeStart: any;
1724
+ /**
1725
+ * This event fires on the owning widget when an item is selected in the context menu.
1726
+ * @param {object} event Event object
1727
+ * @param {Core.widget.Widget} event.source The owning widget
1728
+ * @param {Core.widget.Menu} event.menu The menu
1729
+ * @param {Core.widget.MenuItem} event.item Selected menu item
1730
+ */
1731
+ onContextMenuItem: any;
1732
+ /**
1733
+ * This event fires on the owning widget when a check item is toggled in the context menu.
1734
+ * @param {object} event Event object
1735
+ * @param {Core.widget.Widget} event.source The owning widget
1736
+ * @param {Core.widget.Menu} event.menu The menu
1737
+ * @param {Core.widget.MenuItem} event.item Selected menu item
1738
+ * @param {boolean} event.checked Checked or not
1739
+ */
1740
+ onContextMenuToggleItem: any;
1741
+ /**
1742
+ * Fires on the owning Grid after a copy action is performed.
1743
+ * @param {object} event Event object
1744
+ * @param {Grid.view.Grid} event.source Owner grid
1745
+ * @param {Grid.util.GridLocation[]} event.cells The cells about to be copied or cut
1746
+ * @param {string} event.copiedDataString The concatenated data string that was copied or cut
1747
+ * @param {boolean} event.isCut `true` if this was a cut action
1748
+ * @param {string} event.entityName 'cell' to distinguish this event from other copy events
1749
+ */
1750
+ onCopy: any;
1751
+ /**
1752
+ * Fired when data in the store changes.
1753
+ * ...
1754
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#event-dataChange)
1755
+ * @param {object} event Event object
1756
+ * @param {Grid.view.Grid} event.source Owning grid
1757
+ * @param {Core.data.Store} event.store The originating store
1758
+ * @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'`
1759
+ * @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
1760
+ * @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
1761
+ * @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
1762
+ */
1763
+ onDataChange: any;
1764
+ /**
1765
+ * Fires when an object is destroyed.
1766
+ * @param {object} event Event object
1767
+ * @param {Core.Base} event.source The Object that is being destroyed.
1768
+ */
1769
+ onDestroy: any;
1770
+ /**
1771
+ * Fires when a field is mutated and the state of the [hasChanges](https://bryntum.com/products/gantt/docs/api/Core/widget/Container#property-hasChanges) property changes
1772
+ * @param {object} event Event object
1773
+ * @param {Core.widget.Container} event.source The container.
1774
+ * @param {boolean} event.dirty The dirty state of the Container - `true` if there are any fields which have been changed since initial load.
1775
+ */
1776
+ onDirtyStateChange: any;
1777
+ /**
1778
+ * Fires while drag selecting. UI will update with current range, but the cells will not be selected until
1779
+ * mouse up. This event can be listened for to perform actions while drag selecting.
1780
+ * @param {object} event Event object
1781
+ * @param {Grid.view.Grid} event.source
1782
+ * @param {GridLocationConfig[],Grid.util.GridLocation[]} event.selectedCells The cells that is currently being dragged over
1783
+ * @param {Core.data.Model[]} event.selectedRecords The records that is currently being dragged over
1784
+ */
1785
+ onDragSelecting: any;
1786
+ /**
1787
+ * Triggered when a widget's [element](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#property-element) is available.
1788
+ * @param {object} event Event object
1789
+ * @param {HTMLElement} event.element The Widget's element.
1790
+ */
1791
+ onElementCreated: any;
1792
+ /**
1793
+ * Fires when a Panel is expanded using the [collapsible](https://bryntum.com/products/gantt/docs/api/Core/widget/Panel#config-collapsible) setting.
1794
+ * @param {object} event Event object
1795
+ * @param {Core.widget.Panel} event.source This Panel.
1796
+ */
1797
+ onExpand: any;
1798
+ /**
1799
+ * Fired after a parent node record is expanded.
1800
+ * @param {object} event Event object
1801
+ * @param {Grid.view.Grid} event.source The firing Grid instance.
1802
+ * @param {Core.data.Model} event.record The record which has been expanded.
1803
+ */
1804
+ onExpandNode: any;
1805
+ /**
1806
+ * Fired when a file is dropped on the widget element
1807
+ * @param {object} event Event object
1808
+ * @param {Grid.view.Grid} event.source The owning Grid instance
1809
+ * @param {DataTransferItem} event.file The dropped file descriptor
1810
+ * @param {DragEvent} event.domEvent The native DragEvent
1811
+ */
1812
+ onFileDrop: any;
1813
+ /**
1814
+ * Fired before the FillHandle dragging is finalized and values are applied to cells, return `false` to prevent the
1815
+ * drag operation from applying data changes.
1816
+ * @param {object} event Event object
1817
+ * @param {Grid.util.GridLocation} event.from The from cell
1818
+ * @param {Grid.util.GridLocation} event.to The to cell
1819
+ * @param {MouseEvent} event.domEvent The raw DOM event
1820
+ */
1821
+ onFillHandleBeforeDragFinalize: any;
1822
+ /**
1823
+ * Fired while dragging the FillHandle.
1824
+ * @param {object} event Event object
1825
+ * @param {Grid.util.GridLocation} event.from The from cell
1826
+ * @param {Grid.util.GridLocation} event.to The to cell
1827
+ * @param {MouseEvent} event.domEvent The raw DOM event
1828
+ */
1829
+ onFillHandleDrag: any;
1830
+ /**
1831
+ * Fired when a FillHandle drag operation is aborted.
1832
+ */
1833
+ onFillHandleDragAbort: any;
1834
+ /**
1835
+ * Fired after a FillHandle drag operation.
1836
+ * @param {object} event Event object
1837
+ * @param {Grid.util.GridLocation} event.from The from cell
1838
+ * @param {Grid.util.GridLocation} event.to The to cell
1839
+ * @param {MouseEvent} event.domEvent The raw DOM event
1840
+ */
1841
+ onFillHandleDragEnd: any;
1842
+ /**
1843
+ * Fired when dragging of the FillHandle starts.
1844
+ * @param {object} event Event object
1845
+ * @param {Grid.util.GridLocation} event.cell Information about the column / record
1846
+ * @param {MouseEvent} event.domEvent The raw DOM event
1847
+ */
1848
+ onFillHandleDragStart: any;
1849
+ /**
1850
+ * Fires on the owning Grid when cell editing is finished
1851
+ * @param {object} event Event object
1852
+ * @param {Grid.view.Grid} event.grid Target grid
1853
+ * @param {CellEditorContext} event.editorContext Editing context
1854
+ */
1855
+ onFinishCellEdit: any;
1856
+ /**
1857
+ * Fires on the owning Grid before the row editing is finished, return false to signal that the value is invalid and editing should not be finalized.
1858
+ * ...
1859
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#event-finishRowEdit)
1860
+ * @param {object} event Event object
1861
+ * @param {Grid.view.Grid} event.grid Target grid
1862
+ * @param {RowEditorContext} event.editorContext Editing context
1863
+ */
1864
+ onFinishRowEdit: any;
1865
+ /**
1866
+ * Fired when focus enters this Widget.
1867
+ * @param {object} event Event object
1868
+ * @param {Core.widget.Widget} event.source This Widget
1869
+ * @param {HTMLElement} event.fromElement The element which lost focus.
1870
+ * @param {HTMLElement} event.toElement The element which gained focus.
1871
+ * @param {Core.widget.Widget} event.fromWidget The widget which lost focus.
1872
+ * @param {Core.widget.Widget} event.toWidget The widget which gained focus.
1873
+ * @param {boolean} event.backwards `true` if the `toElement` is before the `fromElement` in document order.
1874
+ */
1875
+ onFocusIn: any;
1876
+ /**
1877
+ * Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.
1878
+ * focus moving from within this Widget's ownership tree, even if there are floating widgets
1879
+ * will not trigger this event. This is when focus exits this widget completely.
1880
+ * @param {object} event Event object
1881
+ * @param {Core.widget.Widget} event.source This Widget
1882
+ * @param {HTMLElement} event.fromElement The element which lost focus.
1883
+ * @param {HTMLElement} event.toElement The element which gained focus.
1884
+ * @param {Core.widget.Widget} event.fromWidget The widget which lost focus.
1885
+ * @param {Core.widget.Widget} event.toWidget The widget which gained focus.
1886
+ * @param {boolean} event.backwards `true` if the `toElement` is before the `fromElement` in document order.
1887
+ */
1888
+ onFocusOut: any;
1889
+ /**
1890
+ * Fired before dragging starts, return false to prevent the drag operation.
1891
+ * @param {object} event Event object
1892
+ * @param {Grid.view.GridBase} event.source
1893
+ * @param {object} event.context
1894
+ * @param {Core.data.Model[]} event.context.records The dragged row records
1895
+ * @param {MouseEvent,TouchEvent} event.event
1896
+ */
1897
+ onGridRowBeforeDragStart: any;
1898
+ /**
1899
+ * Fired before the row drop operation is finalized. You can return false to abort the drop operation, or a
1900
+ * Promise yielding `true` / `false` which allows for asynchronous abort (e.g. first show user a confirmation dialog).
1901
+ * @param {object} event Event object
1902
+ * @param {Grid.view.GridBase} event.source
1903
+ * @param {object} event.context
1904
+ * @param {boolean} event.context.valid Set this to true or false to indicate whether the drop position is valid
1905
+ * @param {Core.data.Model} event.context.insertBefore The record to insert before (`null` if inserting at last position of a parent node)
1906
+ * @param {Core.data.Model} event.context.parent The parent record of the current drop position (only applicable for trees)
1907
+ * @param {Core.data.Model[]} event.context.records The dragged row records
1908
+ * @param {RecordPositionContext[]} event.context.oldPositionContext An array of objects with information about the previous tree position. Objects contain the `record`, and its original `parentIndex` and `parentId` values
1909
+ * @param {MouseEvent} event.event
1910
+ */
1911
+ onGridRowBeforeDropFinalize: any;
1912
+ /**
1913
+ * Fired while the row is being dragged, in the listener function you have access to `context.insertBefore` a grid /
1914
+ * tree record, and additionally `context.parent` (a TreeNode) for trees. You can signal that the drop position is
1915
+ * valid or invalid by setting `context.valid = false;`
1916
+ * @param {object} event Event object
1917
+ * @param {Grid.view.GridBase} event.source
1918
+ * @param {object} event.context
1919
+ * @param {boolean} event.context.valid Set this to true or false to indicate whether the drop position is valid.
1920
+ * @param {Core.data.Model} event.context.insertBefore The record to insert before (`null` if inserting at last position of a parent node)
1921
+ * @param {Core.data.Model} event.context.parent The parent record of the current drop position (only applicable for trees)
1922
+ * @param {Core.data.Model[]} event.context.records The dragged row records
1923
+ * @param {MouseEvent} event.event
1924
+ */
1925
+ onGridRowDrag: any;
1926
+ /**
1927
+ * Fired when a row drag operation is aborted
1928
+ * @param {object} event Event object
1929
+ * @param {Grid.view.GridBase} event.source
1930
+ * @param {object} event.context
1931
+ * @param {Core.data.Model[]} event.context.records The dragged row records
1932
+ * @param {MouseEvent} event.event
1933
+ */
1934
+ onGridRowDragAbort: any;
1935
+ /**
1936
+ * Fired when dragging starts.
1937
+ * @param {object} event Event object
1938
+ * @param {Grid.view.GridBase} event.source
1939
+ * @param {object} event.context
1940
+ * @param {Core.data.Model[]} event.context.records The dragged row records
1941
+ * @param {MouseEvent,TouchEvent} event.event
1942
+ */
1943
+ onGridRowDragStart: any;
1944
+ /**
1945
+ * Fired after the row drop operation has completed, regardless of validity
1946
+ * @param {object} event Event object
1947
+ * @param {Grid.view.GridBase} event.source
1948
+ * @param {object} event.context
1949
+ * @param {boolean} event.context.valid true or false depending on whether the drop position was valid
1950
+ * @param {Core.data.Model} event.context.insertBefore The record to insert before (`null` if inserting at last position of a parent node)
1951
+ * @param {Core.data.Model} event.context.parent The parent record of the current drop position (only applicable for trees)
1952
+ * @param {Core.data.Model[]} event.context.records The dragged row records
1953
+ * @param {RecordPositionContext[]} event.context.oldPositionContext An array of objects with information about the previous tree position. Objects contain the record, and its original `parentIndex` and `parentId` values
1954
+ * @param {MouseEvent} event.event
1955
+ */
1956
+ onGridRowDrop: any;
1957
+ /**
1958
+ * Fired when a grid header is clicked on.
1959
+ * ...
1960
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#event-headerClick)
1961
+ * @param {object} event Event object
1962
+ * @param {Event} event.domEvent The triggering DOM event.
1963
+ * @param {Grid.column.Column} event.column The column clicked on.
1964
+ */
1965
+ onHeaderClick: any;
1966
+ /**
1967
+ * This event fires on the owning Grid before the context menu is shown for a header.
1968
+ * Allows manipulation of the items to show in the same way as in the [processItems](https://bryntum.com/products/gantt/docs/api/Grid/feature/HeaderMenu#config-processItems).
1969
+ * ...
1970
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#event-headerMenuBeforeShow)
1971
+ * @param {object} event Event object
1972
+ * @param {Grid.view.Grid} event.source The grid
1973
+ * @param {Core.widget.Menu} event.menu The menu
1974
+ * @param {Record<string, MenuItemEntry>} event.items Menu item configs
1975
+ * @param {Grid.column.Column} event.column Column
1976
+ */
1977
+ onHeaderMenuBeforeShow: any;
1978
+ /**
1979
+ * This event fires on the owning Grid when an item is selected in the header context menu.
1980
+ * @param {object} event Event object
1981
+ * @param {Grid.view.Grid} event.source The grid
1982
+ * @param {Core.widget.Menu} event.menu The menu
1983
+ * @param {Core.widget.MenuItem} event.item Selected menu item
1984
+ * @param {Grid.column.Column} event.column Column
1985
+ */
1986
+ onHeaderMenuItem: any;
1987
+ /**
1988
+ * This event fires on the owning Grid after the context menu is shown for a header
1989
+ * @param {object} event Event object
1990
+ * @param {Grid.view.Grid} event.source The grid
1991
+ * @param {Core.widget.Menu} event.menu The menu
1992
+ * @param {Record<string, MenuItemEntry>} event.items Menu item configs
1993
+ * @param {Grid.column.Column} event.column Column
1994
+ */
1995
+ onHeaderMenuShow: any;
1996
+ /**
1997
+ * This event fires on the owning Grid when a check item is toggled in the header context menu.
1998
+ * @param {object} event Event object
1999
+ * @param {Grid.view.Grid} event.source The grid
2000
+ * @param {Core.widget.Menu} event.menu The menu
2001
+ * @param {Core.widget.MenuItem} event.item Selected menu item
2002
+ * @param {Grid.column.Column} event.column Column
2003
+ * @param {boolean} event.checked Checked or not
2004
+ */
2005
+ onHeaderMenuToggleItem: any;
2006
+ /**
2007
+ * Triggered after a widget was hidden
2008
+ * @param {object} event Event object
2009
+ * @param {Core.widget.Widget} event.source The widget
2010
+ */
2011
+ onHide: any;
2012
+ /**
2013
+ * Fires when row locking is enabled.
2014
+ * @param {object} event Event object
2015
+ * @param {Grid.view.GridBase} event.clone The created clone
2016
+ */
2017
+ onLockRows: any;
2018
+ /**
2019
+ * Mouse moved out from element in grid
2020
+ * @param {object} event Event object
2021
+ * @param {MouseEvent} event.event The native browser event
2022
+ */
2023
+ onMouseOut: any;
2024
+ /**
2025
+ * Mouse moved in over element in grid
2026
+ * @param {object} event Event object
2027
+ * @param {MouseEvent} event.event The native browser event
2028
+ */
2029
+ onMouseOver: any;
2030
+ /**
2031
+ * Triggered when a widget which had been in a non-visible state for any reason
2032
+ * achieves visibility.
2033
+ * ...
2034
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#event-paint)
2035
+ * @param {object} event Event object
2036
+ * @param {Core.widget.Widget} event.source The widget being painted.
2037
+ * @param {boolean} event.firstPaint `true` if this is the first paint.
2038
+ */
2039
+ onPaint: any;
2040
+ /**
2041
+ * Fires on the owning Grid after a paste action is performed.
2042
+ * @param {object} event Event object
2043
+ * @param {Grid.view.Grid} event.source Owner grid
2044
+ * @param {string} event.clipboardData The clipboardData that was pasted
2045
+ * @param {Core.data.Model[]} event.modifiedRecords The records which have been modified due to the paste action
2046
+ * @param {Grid.util.GridLocation} event.targetCell The cell from which the paste will be started
2047
+ * @param {string} event.entityName 'cell' to distinguish this event from other paste events
2048
+ */
2049
+ onPaste: any;
2050
+ /**
2051
+ * Fires on the owning Grid when export has finished
2052
+ * @param {object} event Event object
2053
+ * @param {Response} event.response Optional response, if received
2054
+ * @param {Error} event.error Optional error, if exception occurred
2055
+ */
2056
+ onPdfExport: any;
2057
+ /**
2058
+ * Fired when a Widget's read only state is toggled
2059
+ * @param {object} event Event object
2060
+ * @param {boolean} event.readOnly Read only or not
2061
+ */
2062
+ onReadOnly: any;
2063
+ /**
2064
+ * This event is fired after a widget's elements have been synchronized due to a direct or indirect call
2065
+ * to [recompose](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#function-recompose), if this results in some change to the widget's rendered DOM elements.
2066
+ */
2067
+ onRecompose: any;
2068
+ /**
2069
+ * Fires after a row is rendered.
2070
+ * @param {object} event Event object
2071
+ * @param {Grid.view.Grid} event.source The firing Grid instance.
2072
+ * @param {Grid.row.Row} event.row The row that has been rendered.
2073
+ * @param {Core.data.Model} event.record The record for the row.
2074
+ * @param {number} event.recordIndex The zero-based index of the record.
2075
+ */
2076
+ onRenderRow: any;
2077
+ /**
2078
+ * Grid rows have been rendered
2079
+ * @param {object} event Event object
2080
+ * @param {Grid.view.Grid} event.source This grid.
2081
+ */
2082
+ onRenderRows: any;
2083
+ /**
2084
+ * Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
2085
+ * @param {object} event Event object
2086
+ * @param {Core.widget.Widget} event.source This Widget
2087
+ * @param {number} event.width The new width
2088
+ * @param {number} event.height The new height
2089
+ * @param {number} event.oldWidth The old width
2090
+ * @param {number} event.oldHeight The old height
2091
+ */
2092
+ onResize: any;
2093
+ /**
2094
+ * Grid resize lead to a new responsive level being applied
2095
+ * @param {object} event Event object
2096
+ * @param {Grid.view.Grid} event.grid Grid that was resized
2097
+ * @param {string} event.level New responsive level (small, large, etc)
2098
+ * @param {number} event.width New width in px
2099
+ * @param {string} event.oldLevel Old responsive level
2100
+ * @param {number} event.oldWidth Old width in px
2101
+ */
2102
+ onResponsive: any;
2103
+ /**
2104
+ * This event fires when a row has finished collapsing.
2105
+ * @param {object} event Event object
2106
+ * @param {Core.data.Model} event.record Record
2107
+ */
2108
+ onRowCollapse: any;
2109
+ /**
2110
+ * This event fires when a row expand has finished expanding.
2111
+ * ...
2112
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/AssignmentGrid#event-rowExpand)
2113
+ * @param {object} event Event object
2114
+ * @param {Core.data.Model} event.record Record
2115
+ * @param {object} event.expandedElements An object with the Grid region name as property and the expanded body element as value
2116
+ * @param {Core.widget.Widget} event.widget In case of expanding a Widget, this will be a reference to the instance created by the actual expansion. If there is multiple Grid regions, use the `widgets` param instead.
2117
+ * @param {object} event.widgets In case of expanding a Widget, this will be an object with the Grid region name as property and the reference to the widget instance created by the actual expansion
2118
+ */
2119
+ onRowExpand: any;
2120
+ /**
2121
+ * Fired when the mouse enters a row
2122
+ * @param {object} event Event object
2123
+ * @param {Grid.view.Grid} event.source The grid instance
2124
+ * @param {Core.data.Model} event.record The record representing the hovered row
2125
+ * @param {Grid.column.Column} event.column The column currently hovered
2126
+ * @param {HTMLElement} event.cellElement The cell HTML element
2127
+ * @param {MouseEvent} event.event The native DOM event
2128
+ */
2129
+ onRowMouseEnter: any;
2130
+ /**
2131
+ * Fired when the mouse leaves a row
2132
+ * @param {object} event Event object
2133
+ * @param {Grid.view.Grid} event.source The grid instance
2134
+ * @param {Core.data.Model} event.record The record representing the row that the mouse left
2135
+ * @param {HTMLElement} event.cellElement The cell HTML element that the mouse left
2136
+ * @param {MouseEvent} event.event The native DOM event
2137
+ */
2138
+ onRowMouseLeave: any;
2139
+ /**
2140
+ * Grid has scrolled vertically
2141
+ * @param {object} event Event object
2142
+ * @param {Grid.view.Grid} event.source The firing Grid instance.
2143
+ * @param {number} event.scrollTop The vertical scroll position.
2144
+ */
2145
+ onScroll: any;
2146
+ /**
2147
+ * The selection has been changed.
2148
+ * @param {object} event Event object
2149
+ * @param {'select','deselect'} event.action `'select'`/`'deselect'`
2150
+ * @param {'row','cell'} event.mode `'row'`/`'cell'`
2151
+ * @param {Grid.view.Grid} event.source
2152
+ * @param {Core.data.Model[]} event.deselected The records deselected in this operation.
2153
+ * @param {Core.data.Model[]} event.selected The records selected in this operation.
2154
+ * @param {Core.data.Model[]} event.selection The records in the new selection.
2155
+ * @param {Grid.util.GridLocation[]} event.deselectedCells The cells deselected in this operation.
2156
+ * @param {Grid.util.GridLocation[]} event.selectedCells The cells selected in this operation.
2157
+ * @param {Grid.util.GridLocation[]} event.cellSelection The cells in the new selection.
2158
+ */
2159
+ onSelectionChange: any;
2160
+ /**
2161
+ * The selectionMode configuration has been changed.
2162
+ * @param {object} event Event object
2163
+ * @param {object} event.selectionMode The new [selectionMode](https://bryntum.com/products/gantt/docs/api/Grid/view/mixin/GridSelection#config-selectionMode)
2164
+ */
2165
+ onSelectionModeChange: any;
2166
+ /**
2167
+ * Triggered after a widget is shown.
2168
+ * @param {object} event Event object
2169
+ * @param {Core.widget.Widget} event.source The widget
2170
+ */
2171
+ onShow: any;
2172
+ /**
2173
+ * Fires when splitting the Grid.
2174
+ * @param {object} event Event object
2175
+ * @param {Grid.view.GridBase[]} event.subViews The sub views created by the split
2176
+ * @param {object} event.options The options passed to the split call
2177
+ * @param {'horizontal','vertical','both'} event.options.direction The direction of the split
2178
+ * @param {Grid.column.Column} event.options.atColumn The column to split at
2179
+ * @param {Core.data.Model} event.options.atRecord The record to split at
2180
+ */
2181
+ onSplit: any;
2182
+ /**
2183
+ * Fired by the Grid when the collapse icon is clicked. Return `false` to prevent the default collapse action,
2184
+ * if you want to implement your own behavior.
2185
+ * @param {object} event Event object
2186
+ * @param {Grid.view.Grid} event.source The Grid instance.
2187
+ * @param {Grid.view.SubGrid} event.subGrid The subgrid
2188
+ * @param {Event} event.domEvent The native DOM event
2189
+ */
2190
+ onSplitterCollapseClick: any;
2191
+ /**
2192
+ * Fired by the Grid after a sub-grid has been resized using the splitter
2193
+ * @param {object} event Event object
2194
+ * @param {Grid.view.Grid} event.source The Grid instance.
2195
+ * @param {Grid.view.SubGrid} event.subGrid The resized subgrid
2196
+ * @param {Event} event.domEvent The native DOM event
2197
+ */
2198
+ onSplitterDragEnd: any;
2199
+ /**
2200
+ * Fired by the Grid when a sub-grid resize gesture starts
2201
+ * @param {object} event Event object
2202
+ * @param {Grid.view.Grid} event.source The Grid instance.
2203
+ * @param {Grid.view.SubGrid} event.subGrid The subgrid about to be resized
2204
+ * @param {Event} event.domEvent The native DOM event
2205
+ */
2206
+ onSplitterDragStart: any;
2207
+ /**
2208
+ * Fired by the Grid when the expand icon is clicked. Return `false` to prevent the default expand action,
2209
+ * if you want to implement your own behavior.
2210
+ * @param {object} event Event object
2211
+ * @param {Grid.view.Grid} event.source The Grid instance.
2212
+ * @param {Grid.view.SubGrid} event.subGrid The subgrid
2213
+ * @param {Event} event.domEvent The native DOM event
2214
+ */
2215
+ onSplitterExpandClick: any;
2216
+ /**
2217
+ * Fires on the owning Grid when editing starts
2218
+ * @param {object} event Event object
2219
+ * @param {Grid.view.Grid} event.source Owner grid
2220
+ * @param {CellEditorContext} event.editorContext Editing context
2221
+ */
2222
+ onStartCellEdit: any;
2223
+ /**
2224
+ * Fires on the owning Grid when editing starts
2225
+ * @param {object} event Event object
2226
+ * @param {Grid.view.Grid} event.source Owner grid
2227
+ * @param {RowEditorContext} event.editorContext Editing context
2228
+ */
2229
+ onStartRowEdit: any;
2230
+ /**
2231
+ * Fires after a sub grid is collapsed.
2232
+ * @param {object} event Event object
2233
+ * @param {Grid.view.Grid} event.source The firing Grid instance
2234
+ * @param {Grid.view.SubGrid} event.subGrid The sub grid instance
2235
+ */
2236
+ onSubGridCollapse: any;
2237
+ /**
2238
+ * Fires after a sub grid is expanded.
2239
+ * @param {object} event Event object
2240
+ * @param {Grid.view.Grid} event.source The firing Grid instance
2241
+ * @param {Grid.view.SubGrid} event.subGrid The sub grid instance
2242
+ */
2243
+ onSubGridExpand: any;
2244
+ /**
2245
+ * Fired when one or more groups are expanded or collapsed
2246
+ * @param {object} event Event object
2247
+ * @param {Core.data.Model} event.groupRecord [DEPRECATED] Use `groupRecords` param instead
2248
+ * @param {Core.data.Model[]} event.groupRecords The group records being toggled
2249
+ * @param {boolean} event.collapse Collapsed (true) or expanded (false)
2250
+ * @param {boolean} event.allRecords True if this event is part of toggling all groups
2251
+ */
2252
+ onToggleGroup: any;
2253
+ /**
2254
+ * Fired after a parent node record toggles its collapsed state.
2255
+ * @param {object} event Event object
2256
+ * @param {Core.data.Model} event.record The record being toggled.
2257
+ * @param {boolean} event.collapse `true` if the node is being collapsed.
2258
+ */
2259
+ onToggleNode: any;
2260
+ /**
2261
+ * A header [tool](https://bryntum.com/products/gantt/docs/api/Core/widget/Panel#config-tools) has been clicked.
2262
+ * @param {object} event Event object
2263
+ * @param {Core.widget.Tool} event.source This Panel.
2264
+ * @param {Core.widget.Tool} event.tool The tool which is being clicked.
2265
+ */
2266
+ onToolClick: any;
2267
+ /**
2268
+ * Fires when row locking is disabled.
2269
+ * @param {object} event Event object
2270
+ * @param {Grid.view.GridBase} event.clone The locked clone that will be destroyed
2271
+ */
2272
+ onUnlockRows: any;
2273
+ /**
2274
+ * Fires when un-splitting the Grid.
2275
+ */
2276
+ onUnsplit: any;
2277
+ /**
2278
+ * Create and append the underlying widget
2279
+ */
2280
+ ngOnInit(): void;
2281
+ /**
2282
+ * Watch for changes
2283
+ * @param changes
2284
+ */
2285
+ ngOnChanges(changes: SimpleChanges): void;
2286
+ /**
2287
+ * Destroy the component
2288
+ */
2289
+ ngOnDestroy(): void;
2290
+ static ɵfac: i0.ɵɵFactoryDeclaration<BryntumAssignmentGridComponent, never>;
2291
+ static ɵcmp: i0.ɵɵComponentDeclaration<BryntumAssignmentGridComponent, "bryntum-assignment-grid", never, { "adopt": "adopt"; "animateFilterRemovals": "animateFilterRemovals"; "animateRemovingRows": "animateRemovingRows"; "ariaDescription": "ariaDescription"; "ariaLabel": "ariaLabel"; "autoHeight": "autoHeight"; "bbar": "bbar"; "bodyCls": "bodyCls"; "bubbleEvents": "bubbleEvents"; "collapsible": "collapsible"; "color": "color"; "config": "config"; "contentElementCls": "contentElementCls"; "contextMenuTriggerEvent": "contextMenuTriggerEvent"; "dataField": "dataField"; "defaultRegion": "defaultRegion"; "destroyStore": "destroyStore"; "detectCSSCompatibilityIssues": "detectCSSCompatibilityIssues"; "disableGridColumnIdWarning": "disableGridColumnIdWarning"; "disableGridRowModelWarning": "disableGridRowModelWarning"; "dock": "dock"; "drawer": "drawer"; "elementAttributes": "elementAttributes"; "enableSticky": "enableSticky"; "enableTextSelection": "enableTextSelection"; "fillLastColumn": "fillLastColumn"; "fixedRowHeight": "fixedRowHeight"; "footer": "footer"; "formulaProviders": "formulaProviders"; "fullRowRefresh": "fullRowRefresh"; "getRowHeight": "getRowHeight"; "header": "header"; "hideHorizontalScrollbar": "hideHorizontalScrollbar"; "hoverCls": "hoverCls"; "icon": "icon"; "ignoreParentReadOnly": "ignoreParentReadOnly"; "listeners": "listeners"; "loadMask": "loadMask"; "loadMaskDefaults": "loadMaskDefaults"; "loadMaskError": "loadMaskError"; "localizable": "localizable"; "maskDefaults": "maskDefaults"; "masked": "masked"; "monitorResize": "monitorResize"; "owner": "owner"; "plugins": "plugins"; "preserveFocusOnDatasetChange": "preserveFocusOnDatasetChange"; "preserveScrollOnDatasetChange": "preserveScrollOnDatasetChange"; "preventTooltipOnTouch": "preventTooltipOnTouch"; "projectEvent": "projectEvent"; "relayStoreEvents": "relayStoreEvents"; "resizable": "resizable"; "resizeToFitIncludesHeader": "resizeToFitIncludesHeader"; "resourceColumn": "resourceColumn"; "responsiveLevels": "responsiveLevels"; "ripple": "ripple"; "rootElement": "rootElement"; "scrollerClass": "scrollerClass"; "scrollManager": "scrollManager"; "showDirty": "showDirty"; "stateful": "stateful"; "statefulEvents": "statefulEvents"; "stateId": "stateId"; "stateProvider": "stateProvider"; "strips": "strips"; "subGridConfigs": "subGridConfigs"; "syncMask": "syncMask"; "tab": "tab"; "tabBarItems": "tabBarItems"; "tbar": "tbar"; "type": "type"; "ui": "ui"; "unitsColumn": "unitsColumn"; "weight": "weight"; "alignSelf": "alignSelf"; "animateTreeNodeToggle": "animateTreeNodeToggle"; "appendTo": "appendTo"; "callOnFunctions": "callOnFunctions"; "catchEventHandlerExceptions": "catchEventHandlerExceptions"; "cellEllipsis": "cellEllipsis"; "cls": "cls"; "collapsed": "collapsed"; "column": "column"; "columnLines": "columnLines"; "columns": "columns"; "data": "data"; "dataset": "dataset"; "disabled": "disabled"; "emptyText": "emptyText"; "enableUndoRedoKeys": "enableUndoRedoKeys"; "extraData": "extraData"; "flex": "flex"; "height": "height"; "hidden": "hidden"; "hideFooters": "hideFooters"; "hideHeaders": "hideHeaders"; "id": "id"; "inputFieldAlign": "inputFieldAlign"; "insertBefore": "insertBefore"; "insertFirst": "insertFirst"; "keyMap": "keyMap"; "labelPosition": "labelPosition"; "longPressTime": "longPressTime"; "margin": "margin"; "maxHeight": "maxHeight"; "maxWidth": "maxWidth"; "minHeight": "minHeight"; "minWidth": "minWidth"; "preserveScroll": "preserveScroll"; "readOnly": "readOnly"; "rendition": "rendition"; "rowHeight": "rowHeight"; "rowLines": "rowLines"; "rtl": "rtl"; "scrollable": "scrollable"; "selectionMode": "selectionMode"; "span": "span"; "stateSettings": "stateSettings"; "store": "store"; "title": "title"; "tools": "tools"; "transition": "transition"; "transitionDuration": "transitionDuration"; "width": "width"; "focusVisible": "focusVisible"; "hasChanges": "hasChanges"; "originalStore": "originalStore"; "parent": "parent"; "selectedCell": "selectedCell"; "selectedCells": "selectedCells"; "selectedRecord": "selectedRecord"; "selectedRecords": "selectedRecords"; "selectedRows": "selectedRows"; "state": "state"; "tooltip": "tooltip"; "aiFilterFeature": "aiFilterFeature"; "cellCopyPasteFeature": "cellCopyPasteFeature"; "cellEditFeature": "cellEditFeature"; "cellMenuFeature": "cellMenuFeature"; "cellTooltipFeature": "cellTooltipFeature"; "chartsFeature": "chartsFeature"; "columnAutoWidthFeature": "columnAutoWidthFeature"; "columnDragToolbarFeature": "columnDragToolbarFeature"; "columnPickerFeature": "columnPickerFeature"; "columnRenameFeature": "columnRenameFeature"; "columnReorderFeature": "columnReorderFeature"; "columnResizeFeature": "columnResizeFeature"; "excelExporterFeature": "excelExporterFeature"; "fileDropFeature": "fileDropFeature"; "fillHandleFeature": "fillHandleFeature"; "filterFeature": "filterFeature"; "filterBarFeature": "filterBarFeature"; "groupFeature": "groupFeature"; "groupSummaryFeature": "groupSummaryFeature"; "headerMenuFeature": "headerMenuFeature"; "lockRowsFeature": "lockRowsFeature"; "mergeCellsFeature": "mergeCellsFeature"; "pdfExportFeature": "pdfExportFeature"; "pinColumnsFeature": "pinColumnsFeature"; "printFeature": "printFeature"; "quickFindFeature": "quickFindFeature"; "regionResizeFeature": "regionResizeFeature"; "rowCopyPasteFeature": "rowCopyPasteFeature"; "rowEditFeature": "rowEditFeature"; "rowExpanderFeature": "rowExpanderFeature"; "rowReorderFeature": "rowReorderFeature"; "rowResizeFeature": "rowResizeFeature"; "searchFeature": "searchFeature"; "sortFeature": "sortFeature"; "splitFeature": "splitFeature"; "stickyCellsFeature": "stickyCellsFeature"; "stripeFeature": "stripeFeature"; "summaryFeature": "summaryFeature"; "treeFeature": "treeFeature"; "treeGroupFeature": "treeGroupFeature"; }, { "onBeforeCancelCellEdit": "onBeforeCancelCellEdit"; "onBeforeCancelRowEdit": "onBeforeCancelRowEdit"; "onBeforeCellEditStart": "onBeforeCellEditStart"; "onBeforeCellRangeDelete": "onBeforeCellRangeDelete"; "onBeforeCellRangeEdit": "onBeforeCellRangeEdit"; "onBeforeColumnDragStart": "onBeforeColumnDragStart"; "onBeforeColumnDropFinalize": "onBeforeColumnDropFinalize"; "onBeforeColumnResize": "onBeforeColumnResize"; "onBeforeCopy": "onBeforeCopy"; "onBeforeCSVExport": "onBeforeCSVExport"; "onBeforeDestroy": "onBeforeDestroy"; "onBeforeExcelExport": "onBeforeExcelExport"; "onBeforeFillHandleDragStart": "onBeforeFillHandleDragStart"; "onBeforeFinishCellEdit": "onBeforeFinishCellEdit"; "onBeforeFinishRowEdit": "onBeforeFinishRowEdit"; "onBeforeHide": "onBeforeHide"; "onBeforePaste": "onBeforePaste"; "onBeforePdfExport": "onBeforePdfExport"; "onBeforeRenderRow": "onBeforeRenderRow"; "onBeforeRenderRows": "onBeforeRenderRows"; "onBeforeRowCollapse": "onBeforeRowCollapse"; "onBeforeRowExpand": "onBeforeRowExpand"; "onBeforeSelectionChange": "onBeforeSelectionChange"; "onBeforeSetRecord": "onBeforeSetRecord"; "onBeforeShow": "onBeforeShow"; "onBeforeStartRowEdit": "onBeforeStartRowEdit"; "onBeforeStateApply": "onBeforeStateApply"; "onBeforeStateSave": "onBeforeStateSave"; "onBeforeToggleGroup": "onBeforeToggleGroup"; "onBeforeToggleNode": "onBeforeToggleNode"; "onCancelCellEdit": "onCancelCellEdit"; "onCatchAll": "onCatchAll"; "onCellClick": "onCellClick"; "onCellContextMenu": "onCellContextMenu"; "onCellDblClick": "onCellDblClick"; "onCellMenuBeforeShow": "onCellMenuBeforeShow"; "onCellMenuItem": "onCellMenuItem"; "onCellMenuShow": "onCellMenuShow"; "onCellMenuToggleItem": "onCellMenuToggleItem"; "onCellMouseEnter": "onCellMouseEnter"; "onCellMouseLeave": "onCellMouseLeave"; "onCellMouseOut": "onCellMouseOut"; "onCellMouseOver": "onCellMouseOver"; "onCollapse": "onCollapse"; "onCollapseNode": "onCollapseNode"; "onColumnDrag": "onColumnDrag"; "onColumnDragStart": "onColumnDragStart"; "onColumnDrop": "onColumnDrop"; "onColumnResize": "onColumnResize"; "onColumnResizeStart": "onColumnResizeStart"; "onContextMenuItem": "onContextMenuItem"; "onContextMenuToggleItem": "onContextMenuToggleItem"; "onCopy": "onCopy"; "onDataChange": "onDataChange"; "onDestroy": "onDestroy"; "onDirtyStateChange": "onDirtyStateChange"; "onDragSelecting": "onDragSelecting"; "onElementCreated": "onElementCreated"; "onExpand": "onExpand"; "onExpandNode": "onExpandNode"; "onFileDrop": "onFileDrop"; "onFillHandleBeforeDragFinalize": "onFillHandleBeforeDragFinalize"; "onFillHandleDrag": "onFillHandleDrag"; "onFillHandleDragAbort": "onFillHandleDragAbort"; "onFillHandleDragEnd": "onFillHandleDragEnd"; "onFillHandleDragStart": "onFillHandleDragStart"; "onFinishCellEdit": "onFinishCellEdit"; "onFinishRowEdit": "onFinishRowEdit"; "onFocusIn": "onFocusIn"; "onFocusOut": "onFocusOut"; "onGridRowBeforeDragStart": "onGridRowBeforeDragStart"; "onGridRowBeforeDropFinalize": "onGridRowBeforeDropFinalize"; "onGridRowDrag": "onGridRowDrag"; "onGridRowDragAbort": "onGridRowDragAbort"; "onGridRowDragStart": "onGridRowDragStart"; "onGridRowDrop": "onGridRowDrop"; "onHeaderClick": "onHeaderClick"; "onHeaderMenuBeforeShow": "onHeaderMenuBeforeShow"; "onHeaderMenuItem": "onHeaderMenuItem"; "onHeaderMenuShow": "onHeaderMenuShow"; "onHeaderMenuToggleItem": "onHeaderMenuToggleItem"; "onHide": "onHide"; "onLockRows": "onLockRows"; "onMouseOut": "onMouseOut"; "onMouseOver": "onMouseOver"; "onPaint": "onPaint"; "onPaste": "onPaste"; "onPdfExport": "onPdfExport"; "onReadOnly": "onReadOnly"; "onRecompose": "onRecompose"; "onRenderRow": "onRenderRow"; "onRenderRows": "onRenderRows"; "onResize": "onResize"; "onResponsive": "onResponsive"; "onRowCollapse": "onRowCollapse"; "onRowExpand": "onRowExpand"; "onRowMouseEnter": "onRowMouseEnter"; "onRowMouseLeave": "onRowMouseLeave"; "onScroll": "onScroll"; "onSelectionChange": "onSelectionChange"; "onSelectionModeChange": "onSelectionModeChange"; "onShow": "onShow"; "onSplit": "onSplit"; "onSplitterCollapseClick": "onSplitterCollapseClick"; "onSplitterDragEnd": "onSplitterDragEnd"; "onSplitterDragStart": "onSplitterDragStart"; "onSplitterExpandClick": "onSplitterExpandClick"; "onStartCellEdit": "onStartCellEdit"; "onStartRowEdit": "onStartRowEdit"; "onSubGridCollapse": "onSubGridCollapse"; "onSubGridExpand": "onSubGridExpand"; "onToggleGroup": "onToggleGroup"; "onToggleNode": "onToggleNode"; "onToolClick": "onToolClick"; "onUnlockRows": "onUnlockRows"; "onUnsplit": "onUnsplit"; }, never, never>;
2292
+ }