@bryntum/scheduler-thin-trial 7.1.2 → 7.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/lib/crud/mixin/CrudManagerView.js +1 -1
- package/lib/crud/transport/AjaxTransport.js +1 -1
- package/lib/feature/EventDrag.js +1 -1
- package/lib/feature/Pan.css +3 -0
- package/lib/feature/Pan.js +1 -1
- package/lib/feature/ScrollButtons.css +4 -1
- package/lib/feature/base/DragBase.js +1 -1
- package/lib/feature/base/ResourceTimeRangesBase.js +1 -1
- package/lib/localization/En.js +1 -1
- package/lib/view/TimelineBase.js +1 -1
- package/lib/view/TimelineHistogramBase.js +1 -1
- package/lib/view/mixin/SchedulerEventRendering.js +1 -1
- package/lib/view/mixin/TimelineViewPresets.js +1 -1
- package/lib/view/model/TimeAxisViewModel.js +1 -1
- package/lib/view/orientation/HorizontalRendering.js +1 -1
- package/lib/view/orientation/VerticalRendering.js +1 -1
- package/locales/scheduler.locale.En.js +1 -1
- package/package.json +1 -1
- package/scheduler.css +7 -0
- package/scheduler.css.map +3 -3
- package/scheduler.d.ts +684 -396
package/scheduler.d.ts
CHANGED
|
@@ -52077,6 +52077,14 @@ type SchedulerListenersTypes = {
|
|
|
52077
52077
|
* @param {any} event.value The value being set
|
|
52078
52078
|
*/
|
|
52079
52079
|
beforeCellRangeEdit: (event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void
|
|
52080
|
+
/**
|
|
52081
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
52082
|
+
* @param {object} event Event object
|
|
52083
|
+
* @param {Grid.view.GridBase} event.source The grid instance
|
|
52084
|
+
* @param {Grid.column.Column} event.column The column
|
|
52085
|
+
* @param {boolean} event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
52086
|
+
*/
|
|
52087
|
+
beforeColumnCollapseToggle: (event: { source: GridBase, column: Column, collapsed: boolean }) => void
|
|
52080
52088
|
/**
|
|
52081
52089
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
52082
52090
|
* @param {object} event Event object
|
|
@@ -52440,18 +52448,18 @@ type SchedulerListenersTypes = {
|
|
|
52440
52448
|
/**
|
|
52441
52449
|
* Fires before a row is rendered.
|
|
52442
52450
|
* @param {object} event Event object
|
|
52443
|
-
* @param {Grid.view.
|
|
52444
|
-
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
52445
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
52446
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
52451
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
52452
|
+
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
52453
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
52454
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
52447
52455
|
*/
|
|
52448
|
-
beforeRenderRow: (event: { source:
|
|
52456
|
+
beforeRenderRow: (event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void
|
|
52449
52457
|
/**
|
|
52450
52458
|
* Grid rows are about to be rendered
|
|
52451
52459
|
* @param {object} event Event object
|
|
52452
|
-
* @param {Grid.view.
|
|
52460
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
52453
52461
|
*/
|
|
52454
|
-
beforeRenderRows: (event: { source:
|
|
52462
|
+
beforeRenderRows: (event: { source: GridBase }) => void
|
|
52455
52463
|
/**
|
|
52456
52464
|
* This event fires before row collapse is started.
|
|
52457
52465
|
* ...
|
|
@@ -52700,6 +52708,14 @@ type SchedulerListenersTypes = {
|
|
|
52700
52708
|
* @param {Core.data.Model} event.record The record which has been collapsed.
|
|
52701
52709
|
*/
|
|
52702
52710
|
collapseNode: (event: { source: Grid, record: Model }) => void
|
|
52711
|
+
/**
|
|
52712
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
52713
|
+
* @param {object} event Event object
|
|
52714
|
+
* @param {Grid.view.GridBase} event.source The Grid instance
|
|
52715
|
+
* @param {Grid.column.Column} event.column The column being toggled
|
|
52716
|
+
* @param {boolean} event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
52717
|
+
*/
|
|
52718
|
+
columnCollapseToggle: (event: { source: GridBase, column: Column, collapsed: boolean }) => void
|
|
52703
52719
|
/**
|
|
52704
52720
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
52705
52721
|
* to indicate whether the drop position is valid or not.
|
|
@@ -52788,14 +52804,14 @@ type SchedulerListenersTypes = {
|
|
|
52788
52804
|
* ...
|
|
52789
52805
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/Scheduler#event-dataChange)
|
|
52790
52806
|
* @param {object} event Event object
|
|
52791
|
-
* @param {Grid.view.
|
|
52807
|
+
* @param {Grid.view.GridBase} event.source Owning grid
|
|
52792
52808
|
* @param {Core.data.Store} event.store The originating store
|
|
52793
52809
|
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
52794
52810
|
* @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
52795
52811
|
* @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
|
|
52796
52812
|
* @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
|
|
52797
52813
|
*/
|
|
52798
|
-
dataChange: (event: { source:
|
|
52814
|
+
dataChange: (event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void
|
|
52799
52815
|
/**
|
|
52800
52816
|
* Fired when the range of dates encapsulated by the UI changes. This will be when
|
|
52801
52817
|
* moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
|
|
@@ -53654,18 +53670,18 @@ type SchedulerListenersTypes = {
|
|
|
53654
53670
|
/**
|
|
53655
53671
|
* Fires after a row is rendered.
|
|
53656
53672
|
* @param {object} event Event object
|
|
53657
|
-
* @param {Grid.view.
|
|
53658
|
-
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
53659
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
53660
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
53673
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
53674
|
+
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
53675
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
53676
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
53661
53677
|
*/
|
|
53662
|
-
renderRow: (event: { source:
|
|
53678
|
+
renderRow: (event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void
|
|
53663
53679
|
/**
|
|
53664
53680
|
* Grid rows have been rendered
|
|
53665
53681
|
* @param {object} event Event object
|
|
53666
|
-
* @param {Grid.view.
|
|
53682
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
53667
53683
|
*/
|
|
53668
|
-
renderRows: (event: { source:
|
|
53684
|
+
renderRows: (event: { source: GridBase }) => void
|
|
53669
53685
|
/**
|
|
53670
53686
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
53671
53687
|
* @param {object} event Event object
|
|
@@ -54007,10 +54023,10 @@ type SchedulerListenersTypes = {
|
|
|
54007
54023
|
/**
|
|
54008
54024
|
* Grid has scrolled vertically
|
|
54009
54025
|
* @param {object} event Event object
|
|
54010
|
-
* @param {Grid.view.
|
|
54026
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance.
|
|
54011
54027
|
* @param {number} event.scrollTop The vertical scroll position.
|
|
54012
54028
|
*/
|
|
54013
|
-
scroll: (event: { source:
|
|
54029
|
+
scroll: (event: { source: GridBase, scrollTop: number }) => void
|
|
54014
54030
|
/**
|
|
54015
54031
|
* Fires on owner when the scroll button is clicked, return `false` to prevent default scroll behavior
|
|
54016
54032
|
* @param {object} event Event object
|
|
@@ -54114,17 +54130,17 @@ type SchedulerListenersTypes = {
|
|
|
54114
54130
|
/**
|
|
54115
54131
|
* Fires after a sub grid is collapsed.
|
|
54116
54132
|
* @param {object} event Event object
|
|
54117
|
-
* @param {Grid.view.
|
|
54133
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
54118
54134
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
54119
54135
|
*/
|
|
54120
|
-
subGridCollapse: (event: { source:
|
|
54136
|
+
subGridCollapse: (event: { source: GridBase, subGrid: SubGrid }) => void
|
|
54121
54137
|
/**
|
|
54122
54138
|
* Fires after a sub grid is expanded.
|
|
54123
54139
|
* @param {object} event Event object
|
|
54124
|
-
* @param {Grid.view.
|
|
54140
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
54125
54141
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
54126
54142
|
*/
|
|
54127
|
-
subGridExpand: (event: { source:
|
|
54143
|
+
subGridExpand: (event: { source: GridBase, subGrid: SubGrid }) => void
|
|
54128
54144
|
/**
|
|
54129
54145
|
* Triggered for click on a tick cell. Only triggered if the TreeSummary feature is configured with
|
|
54130
54146
|
* `[enableMouseEvents](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/TreeSummary#config-enableMouseEvents): true`.
|
|
@@ -54534,6 +54550,14 @@ type SchedulerListeners = {
|
|
|
54534
54550
|
* @param {any} event.value The value being set
|
|
54535
54551
|
*/
|
|
54536
54552
|
beforeCellRangeEdit?: ((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string
|
|
54553
|
+
/**
|
|
54554
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
54555
|
+
* @param {object} event Event object
|
|
54556
|
+
* @param {Grid.view.GridBase} event.source The grid instance
|
|
54557
|
+
* @param {Grid.column.Column} event.column The column
|
|
54558
|
+
* @param {boolean} event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
54559
|
+
*/
|
|
54560
|
+
beforeColumnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
54537
54561
|
/**
|
|
54538
54562
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
54539
54563
|
* @param {object} event Event object
|
|
@@ -54897,18 +54921,18 @@ type SchedulerListeners = {
|
|
|
54897
54921
|
/**
|
|
54898
54922
|
* Fires before a row is rendered.
|
|
54899
54923
|
* @param {object} event Event object
|
|
54900
|
-
* @param {Grid.view.
|
|
54901
|
-
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
54902
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
54903
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
54924
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
54925
|
+
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
54926
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
54927
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
54904
54928
|
*/
|
|
54905
|
-
beforeRenderRow?: ((event: { source:
|
|
54929
|
+
beforeRenderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
54906
54930
|
/**
|
|
54907
54931
|
* Grid rows are about to be rendered
|
|
54908
54932
|
* @param {object} event Event object
|
|
54909
|
-
* @param {Grid.view.
|
|
54933
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
54910
54934
|
*/
|
|
54911
|
-
beforeRenderRows?: ((event: { source:
|
|
54935
|
+
beforeRenderRows?: ((event: { source: GridBase }) => void)|string
|
|
54912
54936
|
/**
|
|
54913
54937
|
* This event fires before row collapse is started.
|
|
54914
54938
|
* ...
|
|
@@ -55157,6 +55181,14 @@ type SchedulerListeners = {
|
|
|
55157
55181
|
* @param {Core.data.Model} event.record The record which has been collapsed.
|
|
55158
55182
|
*/
|
|
55159
55183
|
collapseNode?: ((event: { source: Grid, record: Model }) => void)|string
|
|
55184
|
+
/**
|
|
55185
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
55186
|
+
* @param {object} event Event object
|
|
55187
|
+
* @param {Grid.view.GridBase} event.source The Grid instance
|
|
55188
|
+
* @param {Grid.column.Column} event.column The column being toggled
|
|
55189
|
+
* @param {boolean} event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
55190
|
+
*/
|
|
55191
|
+
columnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
55160
55192
|
/**
|
|
55161
55193
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
55162
55194
|
* to indicate whether the drop position is valid or not.
|
|
@@ -55245,14 +55277,14 @@ type SchedulerListeners = {
|
|
|
55245
55277
|
* ...
|
|
55246
55278
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/Scheduler#event-dataChange)
|
|
55247
55279
|
* @param {object} event Event object
|
|
55248
|
-
* @param {Grid.view.
|
|
55280
|
+
* @param {Grid.view.GridBase} event.source Owning grid
|
|
55249
55281
|
* @param {Core.data.Store} event.store The originating store
|
|
55250
55282
|
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
55251
55283
|
* @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
55252
55284
|
* @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
|
|
55253
55285
|
* @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
|
|
55254
55286
|
*/
|
|
55255
|
-
dataChange?: ((event: { source:
|
|
55287
|
+
dataChange?: ((event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string
|
|
55256
55288
|
/**
|
|
55257
55289
|
* Fired when the range of dates encapsulated by the UI changes. This will be when
|
|
55258
55290
|
* moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
|
|
@@ -56111,18 +56143,18 @@ type SchedulerListeners = {
|
|
|
56111
56143
|
/**
|
|
56112
56144
|
* Fires after a row is rendered.
|
|
56113
56145
|
* @param {object} event Event object
|
|
56114
|
-
* @param {Grid.view.
|
|
56115
|
-
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
56116
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
56117
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
56146
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
56147
|
+
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
56148
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
56149
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
56118
56150
|
*/
|
|
56119
|
-
renderRow?: ((event: { source:
|
|
56151
|
+
renderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
56120
56152
|
/**
|
|
56121
56153
|
* Grid rows have been rendered
|
|
56122
56154
|
* @param {object} event Event object
|
|
56123
|
-
* @param {Grid.view.
|
|
56155
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
56124
56156
|
*/
|
|
56125
|
-
renderRows?: ((event: { source:
|
|
56157
|
+
renderRows?: ((event: { source: GridBase }) => void)|string
|
|
56126
56158
|
/**
|
|
56127
56159
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
56128
56160
|
* @param {object} event Event object
|
|
@@ -56464,10 +56496,10 @@ type SchedulerListeners = {
|
|
|
56464
56496
|
/**
|
|
56465
56497
|
* Grid has scrolled vertically
|
|
56466
56498
|
* @param {object} event Event object
|
|
56467
|
-
* @param {Grid.view.
|
|
56499
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance.
|
|
56468
56500
|
* @param {number} event.scrollTop The vertical scroll position.
|
|
56469
56501
|
*/
|
|
56470
|
-
scroll?: ((event: { source:
|
|
56502
|
+
scroll?: ((event: { source: GridBase, scrollTop: number }) => void)|string
|
|
56471
56503
|
/**
|
|
56472
56504
|
* Fires on owner when the scroll button is clicked, return `false` to prevent default scroll behavior
|
|
56473
56505
|
* @param {object} event Event object
|
|
@@ -56571,17 +56603,17 @@ type SchedulerListeners = {
|
|
|
56571
56603
|
/**
|
|
56572
56604
|
* Fires after a sub grid is collapsed.
|
|
56573
56605
|
* @param {object} event Event object
|
|
56574
|
-
* @param {Grid.view.
|
|
56606
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
56575
56607
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
56576
56608
|
*/
|
|
56577
|
-
subGridCollapse?: ((event: { source:
|
|
56609
|
+
subGridCollapse?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
56578
56610
|
/**
|
|
56579
56611
|
* Fires after a sub grid is expanded.
|
|
56580
56612
|
* @param {object} event Event object
|
|
56581
|
-
* @param {Grid.view.
|
|
56613
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
56582
56614
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
56583
56615
|
*/
|
|
56584
|
-
subGridExpand?: ((event: { source:
|
|
56616
|
+
subGridExpand?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
56585
56617
|
/**
|
|
56586
56618
|
* Triggered for click on a tick cell. Only triggered if the TreeSummary feature is configured with
|
|
56587
56619
|
* `[enableMouseEvents](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/TreeSummary#config-enableMouseEvents): true`.
|
|
@@ -58704,6 +58736,14 @@ type SchedulerConfig = {
|
|
|
58704
58736
|
* @param {any} event.value The value being set
|
|
58705
58737
|
*/
|
|
58706
58738
|
onBeforeCellRangeEdit?: ((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string
|
|
58739
|
+
/**
|
|
58740
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
58741
|
+
* @param {object} event Event object
|
|
58742
|
+
* @param {Grid.view.GridBase} event.source The grid instance
|
|
58743
|
+
* @param {Grid.column.Column} event.column The column
|
|
58744
|
+
* @param {boolean} event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
58745
|
+
*/
|
|
58746
|
+
onBeforeColumnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
58707
58747
|
/**
|
|
58708
58748
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
58709
58749
|
* @param {object} event Event object
|
|
@@ -59067,18 +59107,18 @@ type SchedulerConfig = {
|
|
|
59067
59107
|
/**
|
|
59068
59108
|
* Fires before a row is rendered.
|
|
59069
59109
|
* @param {object} event Event object
|
|
59070
|
-
* @param {Grid.view.
|
|
59071
|
-
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
59072
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
59073
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
59110
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
59111
|
+
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
59112
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
59113
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
59074
59114
|
*/
|
|
59075
|
-
onBeforeRenderRow?: ((event: { source:
|
|
59115
|
+
onBeforeRenderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
59076
59116
|
/**
|
|
59077
59117
|
* Grid rows are about to be rendered
|
|
59078
59118
|
* @param {object} event Event object
|
|
59079
|
-
* @param {Grid.view.
|
|
59119
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
59080
59120
|
*/
|
|
59081
|
-
onBeforeRenderRows?: ((event: { source:
|
|
59121
|
+
onBeforeRenderRows?: ((event: { source: GridBase }) => void)|string
|
|
59082
59122
|
/**
|
|
59083
59123
|
* This event fires before row collapse is started.
|
|
59084
59124
|
* ...
|
|
@@ -59327,6 +59367,14 @@ type SchedulerConfig = {
|
|
|
59327
59367
|
* @param {Core.data.Model} event.record The record which has been collapsed.
|
|
59328
59368
|
*/
|
|
59329
59369
|
onCollapseNode?: ((event: { source: Grid, record: Model }) => void)|string
|
|
59370
|
+
/**
|
|
59371
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
59372
|
+
* @param {object} event Event object
|
|
59373
|
+
* @param {Grid.view.GridBase} event.source The Grid instance
|
|
59374
|
+
* @param {Grid.column.Column} event.column The column being toggled
|
|
59375
|
+
* @param {boolean} event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
59376
|
+
*/
|
|
59377
|
+
onColumnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
59330
59378
|
/**
|
|
59331
59379
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
59332
59380
|
* to indicate whether the drop position is valid or not.
|
|
@@ -59415,14 +59463,14 @@ type SchedulerConfig = {
|
|
|
59415
59463
|
* ...
|
|
59416
59464
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/Scheduler#event-dataChange)
|
|
59417
59465
|
* @param {object} event Event object
|
|
59418
|
-
* @param {Grid.view.
|
|
59466
|
+
* @param {Grid.view.GridBase} event.source Owning grid
|
|
59419
59467
|
* @param {Core.data.Store} event.store The originating store
|
|
59420
59468
|
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
59421
59469
|
* @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
59422
59470
|
* @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
|
|
59423
59471
|
* @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
|
|
59424
59472
|
*/
|
|
59425
|
-
onDataChange?: ((event: { source:
|
|
59473
|
+
onDataChange?: ((event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string
|
|
59426
59474
|
/**
|
|
59427
59475
|
* Fired when the range of dates encapsulated by the UI changes. This will be when
|
|
59428
59476
|
* moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
|
|
@@ -60281,18 +60329,18 @@ type SchedulerConfig = {
|
|
|
60281
60329
|
/**
|
|
60282
60330
|
* Fires after a row is rendered.
|
|
60283
60331
|
* @param {object} event Event object
|
|
60284
|
-
* @param {Grid.view.
|
|
60285
|
-
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
60286
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
60287
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
60332
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
60333
|
+
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
60334
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
60335
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
60288
60336
|
*/
|
|
60289
|
-
onRenderRow?: ((event: { source:
|
|
60337
|
+
onRenderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
60290
60338
|
/**
|
|
60291
60339
|
* Grid rows have been rendered
|
|
60292
60340
|
* @param {object} event Event object
|
|
60293
|
-
* @param {Grid.view.
|
|
60341
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
60294
60342
|
*/
|
|
60295
|
-
onRenderRows?: ((event: { source:
|
|
60343
|
+
onRenderRows?: ((event: { source: GridBase }) => void)|string
|
|
60296
60344
|
/**
|
|
60297
60345
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
60298
60346
|
* @param {object} event Event object
|
|
@@ -60634,10 +60682,10 @@ type SchedulerConfig = {
|
|
|
60634
60682
|
/**
|
|
60635
60683
|
* Grid has scrolled vertically
|
|
60636
60684
|
* @param {object} event Event object
|
|
60637
|
-
* @param {Grid.view.
|
|
60685
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance.
|
|
60638
60686
|
* @param {number} event.scrollTop The vertical scroll position.
|
|
60639
60687
|
*/
|
|
60640
|
-
onScroll?: ((event: { source:
|
|
60688
|
+
onScroll?: ((event: { source: GridBase, scrollTop: number }) => void)|string
|
|
60641
60689
|
/**
|
|
60642
60690
|
* Fires on owner when the scroll button is clicked, return `false` to prevent default scroll behavior
|
|
60643
60691
|
* @param {object} event Event object
|
|
@@ -60741,17 +60789,17 @@ type SchedulerConfig = {
|
|
|
60741
60789
|
/**
|
|
60742
60790
|
* Fires after a sub grid is collapsed.
|
|
60743
60791
|
* @param {object} event Event object
|
|
60744
|
-
* @param {Grid.view.
|
|
60792
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
60745
60793
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
60746
60794
|
*/
|
|
60747
|
-
onSubGridCollapse?: ((event: { source:
|
|
60795
|
+
onSubGridCollapse?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
60748
60796
|
/**
|
|
60749
60797
|
* Fires after a sub grid is expanded.
|
|
60750
60798
|
* @param {object} event Event object
|
|
60751
|
-
* @param {Grid.view.
|
|
60799
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
60752
60800
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
60753
60801
|
*/
|
|
60754
|
-
onSubGridExpand?: ((event: { source:
|
|
60802
|
+
onSubGridExpand?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
60755
60803
|
/**
|
|
60756
60804
|
* Triggered for click on a tick cell. Only triggered if the TreeSummary feature is configured with
|
|
60757
60805
|
* `[enableMouseEvents](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/TreeSummary#config-enableMouseEvents): true`.
|
|
@@ -61794,6 +61842,14 @@ type SchedulerBaseListenersTypes = {
|
|
|
61794
61842
|
* @param {any} event.value The value being set
|
|
61795
61843
|
*/
|
|
61796
61844
|
beforeCellRangeEdit: (event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void
|
|
61845
|
+
/**
|
|
61846
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
61847
|
+
* @param {object} event Event object
|
|
61848
|
+
* @param {Grid.view.GridBase} event.source The grid instance
|
|
61849
|
+
* @param {Grid.column.Column} event.column The column
|
|
61850
|
+
* @param {boolean} event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
61851
|
+
*/
|
|
61852
|
+
beforeColumnCollapseToggle: (event: { source: GridBase, column: Column, collapsed: boolean }) => void
|
|
61797
61853
|
/**
|
|
61798
61854
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
61799
61855
|
* @param {object} event Event object
|
|
@@ -62157,18 +62213,18 @@ type SchedulerBaseListenersTypes = {
|
|
|
62157
62213
|
/**
|
|
62158
62214
|
* Fires before a row is rendered.
|
|
62159
62215
|
* @param {object} event Event object
|
|
62160
|
-
* @param {Grid.view.
|
|
62161
|
-
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
62162
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
62163
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
62216
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
62217
|
+
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
62218
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
62219
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
62164
62220
|
*/
|
|
62165
|
-
beforeRenderRow: (event: { source:
|
|
62221
|
+
beforeRenderRow: (event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void
|
|
62166
62222
|
/**
|
|
62167
62223
|
* Grid rows are about to be rendered
|
|
62168
62224
|
* @param {object} event Event object
|
|
62169
|
-
* @param {Grid.view.
|
|
62225
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
62170
62226
|
*/
|
|
62171
|
-
beforeRenderRows: (event: { source:
|
|
62227
|
+
beforeRenderRows: (event: { source: GridBase }) => void
|
|
62172
62228
|
/**
|
|
62173
62229
|
* This event fires before row collapse is started.
|
|
62174
62230
|
* ...
|
|
@@ -62417,6 +62473,14 @@ type SchedulerBaseListenersTypes = {
|
|
|
62417
62473
|
* @param {Core.data.Model} event.record The record which has been collapsed.
|
|
62418
62474
|
*/
|
|
62419
62475
|
collapseNode: (event: { source: Grid, record: Model }) => void
|
|
62476
|
+
/**
|
|
62477
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
62478
|
+
* @param {object} event Event object
|
|
62479
|
+
* @param {Grid.view.GridBase} event.source The Grid instance
|
|
62480
|
+
* @param {Grid.column.Column} event.column The column being toggled
|
|
62481
|
+
* @param {boolean} event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
62482
|
+
*/
|
|
62483
|
+
columnCollapseToggle: (event: { source: GridBase, column: Column, collapsed: boolean }) => void
|
|
62420
62484
|
/**
|
|
62421
62485
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
62422
62486
|
* to indicate whether the drop position is valid or not.
|
|
@@ -62505,14 +62569,14 @@ type SchedulerBaseListenersTypes = {
|
|
|
62505
62569
|
* ...
|
|
62506
62570
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/SchedulerBase#event-dataChange)
|
|
62507
62571
|
* @param {object} event Event object
|
|
62508
|
-
* @param {Grid.view.
|
|
62572
|
+
* @param {Grid.view.GridBase} event.source Owning grid
|
|
62509
62573
|
* @param {Core.data.Store} event.store The originating store
|
|
62510
62574
|
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
62511
62575
|
* @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
62512
62576
|
* @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
|
|
62513
62577
|
* @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
|
|
62514
62578
|
*/
|
|
62515
|
-
dataChange: (event: { source:
|
|
62579
|
+
dataChange: (event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void
|
|
62516
62580
|
/**
|
|
62517
62581
|
* Fired when the range of dates encapsulated by the UI changes. This will be when
|
|
62518
62582
|
* moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
|
|
@@ -63371,18 +63435,18 @@ type SchedulerBaseListenersTypes = {
|
|
|
63371
63435
|
/**
|
|
63372
63436
|
* Fires after a row is rendered.
|
|
63373
63437
|
* @param {object} event Event object
|
|
63374
|
-
* @param {Grid.view.
|
|
63375
|
-
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
63376
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
63377
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
63438
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
63439
|
+
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
63440
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
63441
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
63378
63442
|
*/
|
|
63379
|
-
renderRow: (event: { source:
|
|
63443
|
+
renderRow: (event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void
|
|
63380
63444
|
/**
|
|
63381
63445
|
* Grid rows have been rendered
|
|
63382
63446
|
* @param {object} event Event object
|
|
63383
|
-
* @param {Grid.view.
|
|
63447
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
63384
63448
|
*/
|
|
63385
|
-
renderRows: (event: { source:
|
|
63449
|
+
renderRows: (event: { source: GridBase }) => void
|
|
63386
63450
|
/**
|
|
63387
63451
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
63388
63452
|
* @param {object} event Event object
|
|
@@ -63724,10 +63788,10 @@ type SchedulerBaseListenersTypes = {
|
|
|
63724
63788
|
/**
|
|
63725
63789
|
* Grid has scrolled vertically
|
|
63726
63790
|
* @param {object} event Event object
|
|
63727
|
-
* @param {Grid.view.
|
|
63791
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance.
|
|
63728
63792
|
* @param {number} event.scrollTop The vertical scroll position.
|
|
63729
63793
|
*/
|
|
63730
|
-
scroll: (event: { source:
|
|
63794
|
+
scroll: (event: { source: GridBase, scrollTop: number }) => void
|
|
63731
63795
|
/**
|
|
63732
63796
|
* Fires on owner when the scroll button is clicked, return `false` to prevent default scroll behavior
|
|
63733
63797
|
* @param {object} event Event object
|
|
@@ -63831,17 +63895,17 @@ type SchedulerBaseListenersTypes = {
|
|
|
63831
63895
|
/**
|
|
63832
63896
|
* Fires after a sub grid is collapsed.
|
|
63833
63897
|
* @param {object} event Event object
|
|
63834
|
-
* @param {Grid.view.
|
|
63898
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
63835
63899
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
63836
63900
|
*/
|
|
63837
|
-
subGridCollapse: (event: { source:
|
|
63901
|
+
subGridCollapse: (event: { source: GridBase, subGrid: SubGrid }) => void
|
|
63838
63902
|
/**
|
|
63839
63903
|
* Fires after a sub grid is expanded.
|
|
63840
63904
|
* @param {object} event Event object
|
|
63841
|
-
* @param {Grid.view.
|
|
63905
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
63842
63906
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
63843
63907
|
*/
|
|
63844
|
-
subGridExpand: (event: { source:
|
|
63908
|
+
subGridExpand: (event: { source: GridBase, subGrid: SubGrid }) => void
|
|
63845
63909
|
/**
|
|
63846
63910
|
* Triggered for click on a tick cell. Only triggered if the TreeSummary feature is configured with
|
|
63847
63911
|
* `[enableMouseEvents](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/TreeSummary#config-enableMouseEvents): true`.
|
|
@@ -64251,6 +64315,14 @@ type SchedulerBaseListeners = {
|
|
|
64251
64315
|
* @param {any} event.value The value being set
|
|
64252
64316
|
*/
|
|
64253
64317
|
beforeCellRangeEdit?: ((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string
|
|
64318
|
+
/**
|
|
64319
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
64320
|
+
* @param {object} event Event object
|
|
64321
|
+
* @param {Grid.view.GridBase} event.source The grid instance
|
|
64322
|
+
* @param {Grid.column.Column} event.column The column
|
|
64323
|
+
* @param {boolean} event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
64324
|
+
*/
|
|
64325
|
+
beforeColumnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
64254
64326
|
/**
|
|
64255
64327
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
64256
64328
|
* @param {object} event Event object
|
|
@@ -64614,18 +64686,18 @@ type SchedulerBaseListeners = {
|
|
|
64614
64686
|
/**
|
|
64615
64687
|
* Fires before a row is rendered.
|
|
64616
64688
|
* @param {object} event Event object
|
|
64617
|
-
* @param {Grid.view.
|
|
64618
|
-
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
64619
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
64620
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
64689
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
64690
|
+
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
64691
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
64692
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
64621
64693
|
*/
|
|
64622
|
-
beforeRenderRow?: ((event: { source:
|
|
64694
|
+
beforeRenderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
64623
64695
|
/**
|
|
64624
64696
|
* Grid rows are about to be rendered
|
|
64625
64697
|
* @param {object} event Event object
|
|
64626
|
-
* @param {Grid.view.
|
|
64698
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
64627
64699
|
*/
|
|
64628
|
-
beforeRenderRows?: ((event: { source:
|
|
64700
|
+
beforeRenderRows?: ((event: { source: GridBase }) => void)|string
|
|
64629
64701
|
/**
|
|
64630
64702
|
* This event fires before row collapse is started.
|
|
64631
64703
|
* ...
|
|
@@ -64874,6 +64946,14 @@ type SchedulerBaseListeners = {
|
|
|
64874
64946
|
* @param {Core.data.Model} event.record The record which has been collapsed.
|
|
64875
64947
|
*/
|
|
64876
64948
|
collapseNode?: ((event: { source: Grid, record: Model }) => void)|string
|
|
64949
|
+
/**
|
|
64950
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
64951
|
+
* @param {object} event Event object
|
|
64952
|
+
* @param {Grid.view.GridBase} event.source The Grid instance
|
|
64953
|
+
* @param {Grid.column.Column} event.column The column being toggled
|
|
64954
|
+
* @param {boolean} event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
64955
|
+
*/
|
|
64956
|
+
columnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
64877
64957
|
/**
|
|
64878
64958
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
64879
64959
|
* to indicate whether the drop position is valid or not.
|
|
@@ -64962,14 +65042,14 @@ type SchedulerBaseListeners = {
|
|
|
64962
65042
|
* ...
|
|
64963
65043
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/SchedulerBase#event-dataChange)
|
|
64964
65044
|
* @param {object} event Event object
|
|
64965
|
-
* @param {Grid.view.
|
|
65045
|
+
* @param {Grid.view.GridBase} event.source Owning grid
|
|
64966
65046
|
* @param {Core.data.Store} event.store The originating store
|
|
64967
65047
|
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
64968
65048
|
* @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
64969
65049
|
* @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
|
|
64970
65050
|
* @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
|
|
64971
65051
|
*/
|
|
64972
|
-
dataChange?: ((event: { source:
|
|
65052
|
+
dataChange?: ((event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string
|
|
64973
65053
|
/**
|
|
64974
65054
|
* Fired when the range of dates encapsulated by the UI changes. This will be when
|
|
64975
65055
|
* moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
|
|
@@ -65828,18 +65908,18 @@ type SchedulerBaseListeners = {
|
|
|
65828
65908
|
/**
|
|
65829
65909
|
* Fires after a row is rendered.
|
|
65830
65910
|
* @param {object} event Event object
|
|
65831
|
-
* @param {Grid.view.
|
|
65832
|
-
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
65833
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
65834
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
65911
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
65912
|
+
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
65913
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
65914
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
65835
65915
|
*/
|
|
65836
|
-
renderRow?: ((event: { source:
|
|
65916
|
+
renderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
65837
65917
|
/**
|
|
65838
65918
|
* Grid rows have been rendered
|
|
65839
65919
|
* @param {object} event Event object
|
|
65840
|
-
* @param {Grid.view.
|
|
65920
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
65841
65921
|
*/
|
|
65842
|
-
renderRows?: ((event: { source:
|
|
65922
|
+
renderRows?: ((event: { source: GridBase }) => void)|string
|
|
65843
65923
|
/**
|
|
65844
65924
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
65845
65925
|
* @param {object} event Event object
|
|
@@ -66181,10 +66261,10 @@ type SchedulerBaseListeners = {
|
|
|
66181
66261
|
/**
|
|
66182
66262
|
* Grid has scrolled vertically
|
|
66183
66263
|
* @param {object} event Event object
|
|
66184
|
-
* @param {Grid.view.
|
|
66264
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance.
|
|
66185
66265
|
* @param {number} event.scrollTop The vertical scroll position.
|
|
66186
66266
|
*/
|
|
66187
|
-
scroll?: ((event: { source:
|
|
66267
|
+
scroll?: ((event: { source: GridBase, scrollTop: number }) => void)|string
|
|
66188
66268
|
/**
|
|
66189
66269
|
* Fires on owner when the scroll button is clicked, return `false` to prevent default scroll behavior
|
|
66190
66270
|
* @param {object} event Event object
|
|
@@ -66288,17 +66368,17 @@ type SchedulerBaseListeners = {
|
|
|
66288
66368
|
/**
|
|
66289
66369
|
* Fires after a sub grid is collapsed.
|
|
66290
66370
|
* @param {object} event Event object
|
|
66291
|
-
* @param {Grid.view.
|
|
66371
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
66292
66372
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
66293
66373
|
*/
|
|
66294
|
-
subGridCollapse?: ((event: { source:
|
|
66374
|
+
subGridCollapse?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
66295
66375
|
/**
|
|
66296
66376
|
* Fires after a sub grid is expanded.
|
|
66297
66377
|
* @param {object} event Event object
|
|
66298
|
-
* @param {Grid.view.
|
|
66378
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
66299
66379
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
66300
66380
|
*/
|
|
66301
|
-
subGridExpand?: ((event: { source:
|
|
66381
|
+
subGridExpand?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
66302
66382
|
/**
|
|
66303
66383
|
* Triggered for click on a tick cell. Only triggered if the TreeSummary feature is configured with
|
|
66304
66384
|
* `[enableMouseEvents](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/TreeSummary#config-enableMouseEvents): true`.
|
|
@@ -68420,6 +68500,14 @@ type SchedulerBaseConfig = {
|
|
|
68420
68500
|
* @param {any} event.value The value being set
|
|
68421
68501
|
*/
|
|
68422
68502
|
onBeforeCellRangeEdit?: ((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string
|
|
68503
|
+
/**
|
|
68504
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
68505
|
+
* @param {object} event Event object
|
|
68506
|
+
* @param {Grid.view.GridBase} event.source The grid instance
|
|
68507
|
+
* @param {Grid.column.Column} event.column The column
|
|
68508
|
+
* @param {boolean} event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
68509
|
+
*/
|
|
68510
|
+
onBeforeColumnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
68423
68511
|
/**
|
|
68424
68512
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
68425
68513
|
* @param {object} event Event object
|
|
@@ -68783,18 +68871,18 @@ type SchedulerBaseConfig = {
|
|
|
68783
68871
|
/**
|
|
68784
68872
|
* Fires before a row is rendered.
|
|
68785
68873
|
* @param {object} event Event object
|
|
68786
|
-
* @param {Grid.view.
|
|
68787
|
-
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
68788
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
68789
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
68874
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
68875
|
+
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
68876
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
68877
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
68790
68878
|
*/
|
|
68791
|
-
onBeforeRenderRow?: ((event: { source:
|
|
68879
|
+
onBeforeRenderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
68792
68880
|
/**
|
|
68793
68881
|
* Grid rows are about to be rendered
|
|
68794
68882
|
* @param {object} event Event object
|
|
68795
|
-
* @param {Grid.view.
|
|
68883
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
68796
68884
|
*/
|
|
68797
|
-
onBeforeRenderRows?: ((event: { source:
|
|
68885
|
+
onBeforeRenderRows?: ((event: { source: GridBase }) => void)|string
|
|
68798
68886
|
/**
|
|
68799
68887
|
* This event fires before row collapse is started.
|
|
68800
68888
|
* ...
|
|
@@ -69043,6 +69131,14 @@ type SchedulerBaseConfig = {
|
|
|
69043
69131
|
* @param {Core.data.Model} event.record The record which has been collapsed.
|
|
69044
69132
|
*/
|
|
69045
69133
|
onCollapseNode?: ((event: { source: Grid, record: Model }) => void)|string
|
|
69134
|
+
/**
|
|
69135
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
69136
|
+
* @param {object} event Event object
|
|
69137
|
+
* @param {Grid.view.GridBase} event.source The Grid instance
|
|
69138
|
+
* @param {Grid.column.Column} event.column The column being toggled
|
|
69139
|
+
* @param {boolean} event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
69140
|
+
*/
|
|
69141
|
+
onColumnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
69046
69142
|
/**
|
|
69047
69143
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
69048
69144
|
* to indicate whether the drop position is valid or not.
|
|
@@ -69131,14 +69227,14 @@ type SchedulerBaseConfig = {
|
|
|
69131
69227
|
* ...
|
|
69132
69228
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/SchedulerBase#event-dataChange)
|
|
69133
69229
|
* @param {object} event Event object
|
|
69134
|
-
* @param {Grid.view.
|
|
69230
|
+
* @param {Grid.view.GridBase} event.source Owning grid
|
|
69135
69231
|
* @param {Core.data.Store} event.store The originating store
|
|
69136
69232
|
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
69137
69233
|
* @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
69138
69234
|
* @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
|
|
69139
69235
|
* @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
|
|
69140
69236
|
*/
|
|
69141
|
-
onDataChange?: ((event: { source:
|
|
69237
|
+
onDataChange?: ((event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string
|
|
69142
69238
|
/**
|
|
69143
69239
|
* Fired when the range of dates encapsulated by the UI changes. This will be when
|
|
69144
69240
|
* moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
|
|
@@ -69997,18 +70093,18 @@ type SchedulerBaseConfig = {
|
|
|
69997
70093
|
/**
|
|
69998
70094
|
* Fires after a row is rendered.
|
|
69999
70095
|
* @param {object} event Event object
|
|
70000
|
-
* @param {Grid.view.
|
|
70001
|
-
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
70002
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
70003
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
70096
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
70097
|
+
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
70098
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
70099
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
70004
70100
|
*/
|
|
70005
|
-
onRenderRow?: ((event: { source:
|
|
70101
|
+
onRenderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
70006
70102
|
/**
|
|
70007
70103
|
* Grid rows have been rendered
|
|
70008
70104
|
* @param {object} event Event object
|
|
70009
|
-
* @param {Grid.view.
|
|
70105
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
70010
70106
|
*/
|
|
70011
|
-
onRenderRows?: ((event: { source:
|
|
70107
|
+
onRenderRows?: ((event: { source: GridBase }) => void)|string
|
|
70012
70108
|
/**
|
|
70013
70109
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
70014
70110
|
* @param {object} event Event object
|
|
@@ -70350,10 +70446,10 @@ type SchedulerBaseConfig = {
|
|
|
70350
70446
|
/**
|
|
70351
70447
|
* Grid has scrolled vertically
|
|
70352
70448
|
* @param {object} event Event object
|
|
70353
|
-
* @param {Grid.view.
|
|
70449
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance.
|
|
70354
70450
|
* @param {number} event.scrollTop The vertical scroll position.
|
|
70355
70451
|
*/
|
|
70356
|
-
onScroll?: ((event: { source:
|
|
70452
|
+
onScroll?: ((event: { source: GridBase, scrollTop: number }) => void)|string
|
|
70357
70453
|
/**
|
|
70358
70454
|
* Fires on owner when the scroll button is clicked, return `false` to prevent default scroll behavior
|
|
70359
70455
|
* @param {object} event Event object
|
|
@@ -70457,17 +70553,17 @@ type SchedulerBaseConfig = {
|
|
|
70457
70553
|
/**
|
|
70458
70554
|
* Fires after a sub grid is collapsed.
|
|
70459
70555
|
* @param {object} event Event object
|
|
70460
|
-
* @param {Grid.view.
|
|
70556
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
70461
70557
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
70462
70558
|
*/
|
|
70463
|
-
onSubGridCollapse?: ((event: { source:
|
|
70559
|
+
onSubGridCollapse?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
70464
70560
|
/**
|
|
70465
70561
|
* Fires after a sub grid is expanded.
|
|
70466
70562
|
* @param {object} event Event object
|
|
70467
|
-
* @param {Grid.view.
|
|
70563
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
70468
70564
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
70469
70565
|
*/
|
|
70470
|
-
onSubGridExpand?: ((event: { source:
|
|
70566
|
+
onSubGridExpand?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
70471
70567
|
/**
|
|
70472
70568
|
* Triggered for click on a tick cell. Only triggered if the TreeSummary feature is configured with
|
|
70473
70569
|
* `[enableMouseEvents](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/TreeSummary#config-enableMouseEvents): true`.
|
|
@@ -73597,6 +73693,14 @@ type TimelineBaseListenersTypes = {
|
|
|
73597
73693
|
* @param {any} event.value The value being set
|
|
73598
73694
|
*/
|
|
73599
73695
|
beforeCellRangeEdit: (event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void
|
|
73696
|
+
/**
|
|
73697
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
73698
|
+
* @param {object} event Event object
|
|
73699
|
+
* @param {Grid.view.GridBase} event.source The grid instance
|
|
73700
|
+
* @param {Grid.column.Column} event.column The column
|
|
73701
|
+
* @param {boolean} event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
73702
|
+
*/
|
|
73703
|
+
beforeColumnCollapseToggle: (event: { source: GridBase, column: Column, collapsed: boolean }) => void
|
|
73600
73704
|
/**
|
|
73601
73705
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
73602
73706
|
* @param {object} event Event object
|
|
@@ -73721,18 +73825,18 @@ type TimelineBaseListenersTypes = {
|
|
|
73721
73825
|
/**
|
|
73722
73826
|
* Fires before a row is rendered.
|
|
73723
73827
|
* @param {object} event Event object
|
|
73724
|
-
* @param {Grid.view.
|
|
73725
|
-
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
73726
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
73727
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
73828
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
73829
|
+
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
73830
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
73831
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
73728
73832
|
*/
|
|
73729
|
-
beforeRenderRow: (event: { source:
|
|
73833
|
+
beforeRenderRow: (event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void
|
|
73730
73834
|
/**
|
|
73731
73835
|
* Grid rows are about to be rendered
|
|
73732
73836
|
* @param {object} event Event object
|
|
73733
|
-
* @param {Grid.view.
|
|
73837
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
73734
73838
|
*/
|
|
73735
|
-
beforeRenderRows: (event: { source:
|
|
73839
|
+
beforeRenderRows: (event: { source: GridBase }) => void
|
|
73736
73840
|
/**
|
|
73737
73841
|
* This event fires before row collapse is started.
|
|
73738
73842
|
* ...
|
|
@@ -73963,6 +74067,14 @@ type TimelineBaseListenersTypes = {
|
|
|
73963
74067
|
* @param {Core.data.Model} event.record The record which has been collapsed.
|
|
73964
74068
|
*/
|
|
73965
74069
|
collapseNode: (event: { source: Grid, record: Model }) => void
|
|
74070
|
+
/**
|
|
74071
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
74072
|
+
* @param {object} event Event object
|
|
74073
|
+
* @param {Grid.view.GridBase} event.source The Grid instance
|
|
74074
|
+
* @param {Grid.column.Column} event.column The column being toggled
|
|
74075
|
+
* @param {boolean} event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
74076
|
+
*/
|
|
74077
|
+
columnCollapseToggle: (event: { source: GridBase, column: Column, collapsed: boolean }) => void
|
|
73966
74078
|
/**
|
|
73967
74079
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
73968
74080
|
* to indicate whether the drop position is valid or not.
|
|
@@ -74044,14 +74156,14 @@ type TimelineBaseListenersTypes = {
|
|
|
74044
74156
|
* ...
|
|
74045
74157
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#event-dataChange)
|
|
74046
74158
|
* @param {object} event Event object
|
|
74047
|
-
* @param {Grid.view.
|
|
74159
|
+
* @param {Grid.view.GridBase} event.source Owning grid
|
|
74048
74160
|
* @param {Core.data.Store} event.store The originating store
|
|
74049
74161
|
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
74050
74162
|
* @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
74051
74163
|
* @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
|
|
74052
74164
|
* @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
|
|
74053
74165
|
*/
|
|
74054
|
-
dataChange: (event: { source:
|
|
74166
|
+
dataChange: (event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void
|
|
74055
74167
|
/**
|
|
74056
74168
|
* Fired when the range of dates encapsulated by the UI changes. This will be when
|
|
74057
74169
|
* moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
|
|
@@ -74394,18 +74506,18 @@ type TimelineBaseListenersTypes = {
|
|
|
74394
74506
|
/**
|
|
74395
74507
|
* Fires after a row is rendered.
|
|
74396
74508
|
* @param {object} event Event object
|
|
74397
|
-
* @param {Grid.view.
|
|
74398
|
-
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
74399
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
74400
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
74509
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
74510
|
+
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
74511
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
74512
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
74401
74513
|
*/
|
|
74402
|
-
renderRow: (event: { source:
|
|
74514
|
+
renderRow: (event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void
|
|
74403
74515
|
/**
|
|
74404
74516
|
* Grid rows have been rendered
|
|
74405
74517
|
* @param {object} event Event object
|
|
74406
|
-
* @param {Grid.view.
|
|
74518
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
74407
74519
|
*/
|
|
74408
|
-
renderRows: (event: { source:
|
|
74520
|
+
renderRows: (event: { source: GridBase }) => void
|
|
74409
74521
|
/**
|
|
74410
74522
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
74411
74523
|
* @param {object} event Event object
|
|
@@ -74465,10 +74577,10 @@ type TimelineBaseListenersTypes = {
|
|
|
74465
74577
|
/**
|
|
74466
74578
|
* Grid has scrolled vertically
|
|
74467
74579
|
* @param {object} event Event object
|
|
74468
|
-
* @param {Grid.view.
|
|
74580
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance.
|
|
74469
74581
|
* @param {number} event.scrollTop The vertical scroll position.
|
|
74470
74582
|
*/
|
|
74471
|
-
scroll: (event: { source:
|
|
74583
|
+
scroll: (event: { source: GridBase, scrollTop: number }) => void
|
|
74472
74584
|
/**
|
|
74473
74585
|
* The selection has been changed.
|
|
74474
74586
|
* @param {object} event Event object
|
|
@@ -74556,17 +74668,17 @@ type TimelineBaseListenersTypes = {
|
|
|
74556
74668
|
/**
|
|
74557
74669
|
* Fires after a sub grid is collapsed.
|
|
74558
74670
|
* @param {object} event Event object
|
|
74559
|
-
* @param {Grid.view.
|
|
74671
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
74560
74672
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
74561
74673
|
*/
|
|
74562
|
-
subGridCollapse: (event: { source:
|
|
74674
|
+
subGridCollapse: (event: { source: GridBase, subGrid: SubGrid }) => void
|
|
74563
74675
|
/**
|
|
74564
74676
|
* Fires after a sub grid is expanded.
|
|
74565
74677
|
* @param {object} event Event object
|
|
74566
|
-
* @param {Grid.view.
|
|
74678
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
74567
74679
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
74568
74680
|
*/
|
|
74569
|
-
subGridExpand: (event: { source:
|
|
74681
|
+
subGridExpand: (event: { source: GridBase, subGrid: SubGrid }) => void
|
|
74570
74682
|
/**
|
|
74571
74683
|
* Fired when the tick size changes.
|
|
74572
74684
|
* ...
|
|
@@ -74752,6 +74864,14 @@ type TimelineBaseListeners = {
|
|
|
74752
74864
|
* @param {any} event.value The value being set
|
|
74753
74865
|
*/
|
|
74754
74866
|
beforeCellRangeEdit?: ((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string
|
|
74867
|
+
/**
|
|
74868
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
74869
|
+
* @param {object} event Event object
|
|
74870
|
+
* @param {Grid.view.GridBase} event.source The grid instance
|
|
74871
|
+
* @param {Grid.column.Column} event.column The column
|
|
74872
|
+
* @param {boolean} event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
74873
|
+
*/
|
|
74874
|
+
beforeColumnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
74755
74875
|
/**
|
|
74756
74876
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
74757
74877
|
* @param {object} event Event object
|
|
@@ -74876,18 +74996,18 @@ type TimelineBaseListeners = {
|
|
|
74876
74996
|
/**
|
|
74877
74997
|
* Fires before a row is rendered.
|
|
74878
74998
|
* @param {object} event Event object
|
|
74879
|
-
* @param {Grid.view.
|
|
74880
|
-
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
74881
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
74882
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
74999
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
75000
|
+
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
75001
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
75002
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
74883
75003
|
*/
|
|
74884
|
-
beforeRenderRow?: ((event: { source:
|
|
75004
|
+
beforeRenderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
74885
75005
|
/**
|
|
74886
75006
|
* Grid rows are about to be rendered
|
|
74887
75007
|
* @param {object} event Event object
|
|
74888
|
-
* @param {Grid.view.
|
|
75008
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
74889
75009
|
*/
|
|
74890
|
-
beforeRenderRows?: ((event: { source:
|
|
75010
|
+
beforeRenderRows?: ((event: { source: GridBase }) => void)|string
|
|
74891
75011
|
/**
|
|
74892
75012
|
* This event fires before row collapse is started.
|
|
74893
75013
|
* ...
|
|
@@ -75118,6 +75238,14 @@ type TimelineBaseListeners = {
|
|
|
75118
75238
|
* @param {Core.data.Model} event.record The record which has been collapsed.
|
|
75119
75239
|
*/
|
|
75120
75240
|
collapseNode?: ((event: { source: Grid, record: Model }) => void)|string
|
|
75241
|
+
/**
|
|
75242
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
75243
|
+
* @param {object} event Event object
|
|
75244
|
+
* @param {Grid.view.GridBase} event.source The Grid instance
|
|
75245
|
+
* @param {Grid.column.Column} event.column The column being toggled
|
|
75246
|
+
* @param {boolean} event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
75247
|
+
*/
|
|
75248
|
+
columnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
75121
75249
|
/**
|
|
75122
75250
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
75123
75251
|
* to indicate whether the drop position is valid or not.
|
|
@@ -75199,14 +75327,14 @@ type TimelineBaseListeners = {
|
|
|
75199
75327
|
* ...
|
|
75200
75328
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#event-dataChange)
|
|
75201
75329
|
* @param {object} event Event object
|
|
75202
|
-
* @param {Grid.view.
|
|
75330
|
+
* @param {Grid.view.GridBase} event.source Owning grid
|
|
75203
75331
|
* @param {Core.data.Store} event.store The originating store
|
|
75204
75332
|
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
75205
75333
|
* @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
75206
75334
|
* @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
|
|
75207
75335
|
* @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
|
|
75208
75336
|
*/
|
|
75209
|
-
dataChange?: ((event: { source:
|
|
75337
|
+
dataChange?: ((event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string
|
|
75210
75338
|
/**
|
|
75211
75339
|
* Fired when the range of dates encapsulated by the UI changes. This will be when
|
|
75212
75340
|
* moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
|
|
@@ -75549,18 +75677,18 @@ type TimelineBaseListeners = {
|
|
|
75549
75677
|
/**
|
|
75550
75678
|
* Fires after a row is rendered.
|
|
75551
75679
|
* @param {object} event Event object
|
|
75552
|
-
* @param {Grid.view.
|
|
75553
|
-
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
75554
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
75555
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
75680
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
75681
|
+
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
75682
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
75683
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
75556
75684
|
*/
|
|
75557
|
-
renderRow?: ((event: { source:
|
|
75685
|
+
renderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
75558
75686
|
/**
|
|
75559
75687
|
* Grid rows have been rendered
|
|
75560
75688
|
* @param {object} event Event object
|
|
75561
|
-
* @param {Grid.view.
|
|
75689
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
75562
75690
|
*/
|
|
75563
|
-
renderRows?: ((event: { source:
|
|
75691
|
+
renderRows?: ((event: { source: GridBase }) => void)|string
|
|
75564
75692
|
/**
|
|
75565
75693
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
75566
75694
|
* @param {object} event Event object
|
|
@@ -75620,10 +75748,10 @@ type TimelineBaseListeners = {
|
|
|
75620
75748
|
/**
|
|
75621
75749
|
* Grid has scrolled vertically
|
|
75622
75750
|
* @param {object} event Event object
|
|
75623
|
-
* @param {Grid.view.
|
|
75751
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance.
|
|
75624
75752
|
* @param {number} event.scrollTop The vertical scroll position.
|
|
75625
75753
|
*/
|
|
75626
|
-
scroll?: ((event: { source:
|
|
75754
|
+
scroll?: ((event: { source: GridBase, scrollTop: number }) => void)|string
|
|
75627
75755
|
/**
|
|
75628
75756
|
* The selection has been changed.
|
|
75629
75757
|
* @param {object} event Event object
|
|
@@ -75711,17 +75839,17 @@ type TimelineBaseListeners = {
|
|
|
75711
75839
|
/**
|
|
75712
75840
|
* Fires after a sub grid is collapsed.
|
|
75713
75841
|
* @param {object} event Event object
|
|
75714
|
-
* @param {Grid.view.
|
|
75842
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
75715
75843
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
75716
75844
|
*/
|
|
75717
|
-
subGridCollapse?: ((event: { source:
|
|
75845
|
+
subGridCollapse?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
75718
75846
|
/**
|
|
75719
75847
|
* Fires after a sub grid is expanded.
|
|
75720
75848
|
* @param {object} event Event object
|
|
75721
|
-
* @param {Grid.view.
|
|
75849
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
75722
75850
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
75723
75851
|
*/
|
|
75724
|
-
subGridExpand?: ((event: { source:
|
|
75852
|
+
subGridExpand?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
75725
75853
|
/**
|
|
75726
75854
|
* Fired when the tick size changes.
|
|
75727
75855
|
* ...
|
|
@@ -77007,6 +77135,14 @@ type TimelineBaseConfig = {
|
|
|
77007
77135
|
* @param {any} event.value The value being set
|
|
77008
77136
|
*/
|
|
77009
77137
|
onBeforeCellRangeEdit?: ((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string
|
|
77138
|
+
/**
|
|
77139
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
77140
|
+
* @param {object} event Event object
|
|
77141
|
+
* @param {Grid.view.GridBase} event.source The grid instance
|
|
77142
|
+
* @param {Grid.column.Column} event.column The column
|
|
77143
|
+
* @param {boolean} event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
77144
|
+
*/
|
|
77145
|
+
onBeforeColumnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
77010
77146
|
/**
|
|
77011
77147
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
77012
77148
|
* @param {object} event Event object
|
|
@@ -77131,18 +77267,18 @@ type TimelineBaseConfig = {
|
|
|
77131
77267
|
/**
|
|
77132
77268
|
* Fires before a row is rendered.
|
|
77133
77269
|
* @param {object} event Event object
|
|
77134
|
-
* @param {Grid.view.
|
|
77135
|
-
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
77136
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
77137
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
77270
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
77271
|
+
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
77272
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
77273
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
77138
77274
|
*/
|
|
77139
|
-
onBeforeRenderRow?: ((event: { source:
|
|
77275
|
+
onBeforeRenderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
77140
77276
|
/**
|
|
77141
77277
|
* Grid rows are about to be rendered
|
|
77142
77278
|
* @param {object} event Event object
|
|
77143
|
-
* @param {Grid.view.
|
|
77279
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
77144
77280
|
*/
|
|
77145
|
-
onBeforeRenderRows?: ((event: { source:
|
|
77281
|
+
onBeforeRenderRows?: ((event: { source: GridBase }) => void)|string
|
|
77146
77282
|
/**
|
|
77147
77283
|
* This event fires before row collapse is started.
|
|
77148
77284
|
* ...
|
|
@@ -77373,6 +77509,14 @@ type TimelineBaseConfig = {
|
|
|
77373
77509
|
* @param {Core.data.Model} event.record The record which has been collapsed.
|
|
77374
77510
|
*/
|
|
77375
77511
|
onCollapseNode?: ((event: { source: Grid, record: Model }) => void)|string
|
|
77512
|
+
/**
|
|
77513
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
77514
|
+
* @param {object} event Event object
|
|
77515
|
+
* @param {Grid.view.GridBase} event.source The Grid instance
|
|
77516
|
+
* @param {Grid.column.Column} event.column The column being toggled
|
|
77517
|
+
* @param {boolean} event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
77518
|
+
*/
|
|
77519
|
+
onColumnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
77376
77520
|
/**
|
|
77377
77521
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
77378
77522
|
* to indicate whether the drop position is valid or not.
|
|
@@ -77454,14 +77598,14 @@ type TimelineBaseConfig = {
|
|
|
77454
77598
|
* ...
|
|
77455
77599
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#event-dataChange)
|
|
77456
77600
|
* @param {object} event Event object
|
|
77457
|
-
* @param {Grid.view.
|
|
77601
|
+
* @param {Grid.view.GridBase} event.source Owning grid
|
|
77458
77602
|
* @param {Core.data.Store} event.store The originating store
|
|
77459
77603
|
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
77460
77604
|
* @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
77461
77605
|
* @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
|
|
77462
77606
|
* @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
|
|
77463
77607
|
*/
|
|
77464
|
-
onDataChange?: ((event: { source:
|
|
77608
|
+
onDataChange?: ((event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string
|
|
77465
77609
|
/**
|
|
77466
77610
|
* Fired when the range of dates encapsulated by the UI changes. This will be when
|
|
77467
77611
|
* moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
|
|
@@ -77804,18 +77948,18 @@ type TimelineBaseConfig = {
|
|
|
77804
77948
|
/**
|
|
77805
77949
|
* Fires after a row is rendered.
|
|
77806
77950
|
* @param {object} event Event object
|
|
77807
|
-
* @param {Grid.view.
|
|
77808
|
-
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
77809
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
77810
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
77951
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
77952
|
+
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
77953
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
77954
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
77811
77955
|
*/
|
|
77812
|
-
onRenderRow?: ((event: { source:
|
|
77956
|
+
onRenderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
77813
77957
|
/**
|
|
77814
77958
|
* Grid rows have been rendered
|
|
77815
77959
|
* @param {object} event Event object
|
|
77816
|
-
* @param {Grid.view.
|
|
77960
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
77817
77961
|
*/
|
|
77818
|
-
onRenderRows?: ((event: { source:
|
|
77962
|
+
onRenderRows?: ((event: { source: GridBase }) => void)|string
|
|
77819
77963
|
/**
|
|
77820
77964
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
77821
77965
|
* @param {object} event Event object
|
|
@@ -77875,10 +78019,10 @@ type TimelineBaseConfig = {
|
|
|
77875
78019
|
/**
|
|
77876
78020
|
* Grid has scrolled vertically
|
|
77877
78021
|
* @param {object} event Event object
|
|
77878
|
-
* @param {Grid.view.
|
|
78022
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance.
|
|
77879
78023
|
* @param {number} event.scrollTop The vertical scroll position.
|
|
77880
78024
|
*/
|
|
77881
|
-
onScroll?: ((event: { source:
|
|
78025
|
+
onScroll?: ((event: { source: GridBase, scrollTop: number }) => void)|string
|
|
77882
78026
|
/**
|
|
77883
78027
|
* The selection has been changed.
|
|
77884
78028
|
* @param {object} event Event object
|
|
@@ -77966,17 +78110,17 @@ type TimelineBaseConfig = {
|
|
|
77966
78110
|
/**
|
|
77967
78111
|
* Fires after a sub grid is collapsed.
|
|
77968
78112
|
* @param {object} event Event object
|
|
77969
|
-
* @param {Grid.view.
|
|
78113
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
77970
78114
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
77971
78115
|
*/
|
|
77972
|
-
onSubGridCollapse?: ((event: { source:
|
|
78116
|
+
onSubGridCollapse?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
77973
78117
|
/**
|
|
77974
78118
|
* Fires after a sub grid is expanded.
|
|
77975
78119
|
* @param {object} event Event object
|
|
77976
|
-
* @param {Grid.view.
|
|
78120
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
77977
78121
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
77978
78122
|
*/
|
|
77979
|
-
onSubGridExpand?: ((event: { source:
|
|
78123
|
+
onSubGridExpand?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
77980
78124
|
/**
|
|
77981
78125
|
* Fired when the tick size changes.
|
|
77982
78126
|
* ...
|
|
@@ -79067,6 +79211,14 @@ type TimelineHistogramListenersTypes = {
|
|
|
79067
79211
|
* @param {any} event.value The value being set
|
|
79068
79212
|
*/
|
|
79069
79213
|
beforeCellRangeEdit: (event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void
|
|
79214
|
+
/**
|
|
79215
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
79216
|
+
* @param {object} event Event object
|
|
79217
|
+
* @param {Grid.view.GridBase} event.source The grid instance
|
|
79218
|
+
* @param {Grid.column.Column} event.column The column
|
|
79219
|
+
* @param {boolean} event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
79220
|
+
*/
|
|
79221
|
+
beforeColumnCollapseToggle: (event: { source: GridBase, column: Column, collapsed: boolean }) => void
|
|
79070
79222
|
/**
|
|
79071
79223
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
79072
79224
|
* @param {object} event Event object
|
|
@@ -79227,18 +79379,18 @@ type TimelineHistogramListenersTypes = {
|
|
|
79227
79379
|
/**
|
|
79228
79380
|
* Fires before a row is rendered.
|
|
79229
79381
|
* @param {object} event Event object
|
|
79230
|
-
* @param {Grid.view.
|
|
79231
|
-
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
79232
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
79233
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
79382
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
79383
|
+
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
79384
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
79385
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
79234
79386
|
*/
|
|
79235
|
-
beforeRenderRow: (event: { source:
|
|
79387
|
+
beforeRenderRow: (event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void
|
|
79236
79388
|
/**
|
|
79237
79389
|
* Grid rows are about to be rendered
|
|
79238
79390
|
* @param {object} event Event object
|
|
79239
|
-
* @param {Grid.view.
|
|
79391
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
79240
79392
|
*/
|
|
79241
|
-
beforeRenderRows: (event: { source:
|
|
79393
|
+
beforeRenderRows: (event: { source: GridBase }) => void
|
|
79242
79394
|
/**
|
|
79243
79395
|
* This event fires before row collapse is started.
|
|
79244
79396
|
* ...
|
|
@@ -79469,6 +79621,14 @@ type TimelineHistogramListenersTypes = {
|
|
|
79469
79621
|
* @param {Core.data.Model} event.record The record which has been collapsed.
|
|
79470
79622
|
*/
|
|
79471
79623
|
collapseNode: (event: { source: Grid, record: Model }) => void
|
|
79624
|
+
/**
|
|
79625
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
79626
|
+
* @param {object} event Event object
|
|
79627
|
+
* @param {Grid.view.GridBase} event.source The Grid instance
|
|
79628
|
+
* @param {Grid.column.Column} event.column The column being toggled
|
|
79629
|
+
* @param {boolean} event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
79630
|
+
*/
|
|
79631
|
+
columnCollapseToggle: (event: { source: GridBase, column: Column, collapsed: boolean }) => void
|
|
79472
79632
|
/**
|
|
79473
79633
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
79474
79634
|
* to indicate whether the drop position is valid or not.
|
|
@@ -79557,14 +79717,14 @@ type TimelineHistogramListenersTypes = {
|
|
|
79557
79717
|
* ...
|
|
79558
79718
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineHistogram#event-dataChange)
|
|
79559
79719
|
* @param {object} event Event object
|
|
79560
|
-
* @param {Grid.view.
|
|
79720
|
+
* @param {Grid.view.GridBase} event.source Owning grid
|
|
79561
79721
|
* @param {Core.data.Store} event.store The originating store
|
|
79562
79722
|
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
79563
79723
|
* @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
79564
79724
|
* @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
|
|
79565
79725
|
* @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
|
|
79566
79726
|
*/
|
|
79567
|
-
dataChange: (event: { source:
|
|
79727
|
+
dataChange: (event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void
|
|
79568
79728
|
/**
|
|
79569
79729
|
* Fired when the range of dates encapsulated by the UI changes. This will be when
|
|
79570
79730
|
* moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
|
|
@@ -79918,18 +80078,18 @@ type TimelineHistogramListenersTypes = {
|
|
|
79918
80078
|
/**
|
|
79919
80079
|
* Fires after a row is rendered.
|
|
79920
80080
|
* @param {object} event Event object
|
|
79921
|
-
* @param {Grid.view.
|
|
79922
|
-
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
79923
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
79924
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
80081
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
80082
|
+
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
80083
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
80084
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
79925
80085
|
*/
|
|
79926
|
-
renderRow: (event: { source:
|
|
80086
|
+
renderRow: (event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void
|
|
79927
80087
|
/**
|
|
79928
80088
|
* Grid rows have been rendered
|
|
79929
80089
|
* @param {object} event Event object
|
|
79930
|
-
* @param {Grid.view.
|
|
80090
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
79931
80091
|
*/
|
|
79932
|
-
renderRows: (event: { source:
|
|
80092
|
+
renderRows: (event: { source: GridBase }) => void
|
|
79933
80093
|
/**
|
|
79934
80094
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
79935
80095
|
* @param {object} event Event object
|
|
@@ -80107,10 +80267,10 @@ type TimelineHistogramListenersTypes = {
|
|
|
80107
80267
|
/**
|
|
80108
80268
|
* Grid has scrolled vertically
|
|
80109
80269
|
* @param {object} event Event object
|
|
80110
|
-
* @param {Grid.view.
|
|
80270
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance.
|
|
80111
80271
|
* @param {number} event.scrollTop The vertical scroll position.
|
|
80112
80272
|
*/
|
|
80113
|
-
scroll: (event: { source:
|
|
80273
|
+
scroll: (event: { source: GridBase, scrollTop: number }) => void
|
|
80114
80274
|
/**
|
|
80115
80275
|
* The selection has been changed.
|
|
80116
80276
|
* @param {object} event Event object
|
|
@@ -80198,17 +80358,17 @@ type TimelineHistogramListenersTypes = {
|
|
|
80198
80358
|
/**
|
|
80199
80359
|
* Fires after a sub grid is collapsed.
|
|
80200
80360
|
* @param {object} event Event object
|
|
80201
|
-
* @param {Grid.view.
|
|
80361
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
80202
80362
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
80203
80363
|
*/
|
|
80204
|
-
subGridCollapse: (event: { source:
|
|
80364
|
+
subGridCollapse: (event: { source: GridBase, subGrid: SubGrid }) => void
|
|
80205
80365
|
/**
|
|
80206
80366
|
* Fires after a sub grid is expanded.
|
|
80207
80367
|
* @param {object} event Event object
|
|
80208
|
-
* @param {Grid.view.
|
|
80368
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
80209
80369
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
80210
80370
|
*/
|
|
80211
|
-
subGridExpand: (event: { source:
|
|
80371
|
+
subGridExpand: (event: { source: GridBase, subGrid: SubGrid }) => void
|
|
80212
80372
|
/**
|
|
80213
80373
|
* Fired when the tick size changes.
|
|
80214
80374
|
* ...
|
|
@@ -80448,6 +80608,14 @@ type TimelineHistogramListeners = {
|
|
|
80448
80608
|
* @param {any} event.value The value being set
|
|
80449
80609
|
*/
|
|
80450
80610
|
beforeCellRangeEdit?: ((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string
|
|
80611
|
+
/**
|
|
80612
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
80613
|
+
* @param {object} event Event object
|
|
80614
|
+
* @param {Grid.view.GridBase} event.source The grid instance
|
|
80615
|
+
* @param {Grid.column.Column} event.column The column
|
|
80616
|
+
* @param {boolean} event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
80617
|
+
*/
|
|
80618
|
+
beforeColumnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
80451
80619
|
/**
|
|
80452
80620
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
80453
80621
|
* @param {object} event Event object
|
|
@@ -80608,18 +80776,18 @@ type TimelineHistogramListeners = {
|
|
|
80608
80776
|
/**
|
|
80609
80777
|
* Fires before a row is rendered.
|
|
80610
80778
|
* @param {object} event Event object
|
|
80611
|
-
* @param {Grid.view.
|
|
80612
|
-
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
80613
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
80614
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
80779
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
80780
|
+
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
80781
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
80782
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
80615
80783
|
*/
|
|
80616
|
-
beforeRenderRow?: ((event: { source:
|
|
80784
|
+
beforeRenderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
80617
80785
|
/**
|
|
80618
80786
|
* Grid rows are about to be rendered
|
|
80619
80787
|
* @param {object} event Event object
|
|
80620
|
-
* @param {Grid.view.
|
|
80788
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
80621
80789
|
*/
|
|
80622
|
-
beforeRenderRows?: ((event: { source:
|
|
80790
|
+
beforeRenderRows?: ((event: { source: GridBase }) => void)|string
|
|
80623
80791
|
/**
|
|
80624
80792
|
* This event fires before row collapse is started.
|
|
80625
80793
|
* ...
|
|
@@ -80850,6 +81018,14 @@ type TimelineHistogramListeners = {
|
|
|
80850
81018
|
* @param {Core.data.Model} event.record The record which has been collapsed.
|
|
80851
81019
|
*/
|
|
80852
81020
|
collapseNode?: ((event: { source: Grid, record: Model }) => void)|string
|
|
81021
|
+
/**
|
|
81022
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
81023
|
+
* @param {object} event Event object
|
|
81024
|
+
* @param {Grid.view.GridBase} event.source The Grid instance
|
|
81025
|
+
* @param {Grid.column.Column} event.column The column being toggled
|
|
81026
|
+
* @param {boolean} event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
81027
|
+
*/
|
|
81028
|
+
columnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
80853
81029
|
/**
|
|
80854
81030
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
80855
81031
|
* to indicate whether the drop position is valid or not.
|
|
@@ -80938,14 +81114,14 @@ type TimelineHistogramListeners = {
|
|
|
80938
81114
|
* ...
|
|
80939
81115
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineHistogram#event-dataChange)
|
|
80940
81116
|
* @param {object} event Event object
|
|
80941
|
-
* @param {Grid.view.
|
|
81117
|
+
* @param {Grid.view.GridBase} event.source Owning grid
|
|
80942
81118
|
* @param {Core.data.Store} event.store The originating store
|
|
80943
81119
|
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
80944
81120
|
* @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
80945
81121
|
* @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
|
|
80946
81122
|
* @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
|
|
80947
81123
|
*/
|
|
80948
|
-
dataChange?: ((event: { source:
|
|
81124
|
+
dataChange?: ((event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string
|
|
80949
81125
|
/**
|
|
80950
81126
|
* Fired when the range of dates encapsulated by the UI changes. This will be when
|
|
80951
81127
|
* moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
|
|
@@ -81299,18 +81475,18 @@ type TimelineHistogramListeners = {
|
|
|
81299
81475
|
/**
|
|
81300
81476
|
* Fires after a row is rendered.
|
|
81301
81477
|
* @param {object} event Event object
|
|
81302
|
-
* @param {Grid.view.
|
|
81303
|
-
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
81304
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
81305
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
81478
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
81479
|
+
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
81480
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
81481
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
81306
81482
|
*/
|
|
81307
|
-
renderRow?: ((event: { source:
|
|
81483
|
+
renderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
81308
81484
|
/**
|
|
81309
81485
|
* Grid rows have been rendered
|
|
81310
81486
|
* @param {object} event Event object
|
|
81311
|
-
* @param {Grid.view.
|
|
81487
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
81312
81488
|
*/
|
|
81313
|
-
renderRows?: ((event: { source:
|
|
81489
|
+
renderRows?: ((event: { source: GridBase }) => void)|string
|
|
81314
81490
|
/**
|
|
81315
81491
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
81316
81492
|
* @param {object} event Event object
|
|
@@ -81488,10 +81664,10 @@ type TimelineHistogramListeners = {
|
|
|
81488
81664
|
/**
|
|
81489
81665
|
* Grid has scrolled vertically
|
|
81490
81666
|
* @param {object} event Event object
|
|
81491
|
-
* @param {Grid.view.
|
|
81667
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance.
|
|
81492
81668
|
* @param {number} event.scrollTop The vertical scroll position.
|
|
81493
81669
|
*/
|
|
81494
|
-
scroll?: ((event: { source:
|
|
81670
|
+
scroll?: ((event: { source: GridBase, scrollTop: number }) => void)|string
|
|
81495
81671
|
/**
|
|
81496
81672
|
* The selection has been changed.
|
|
81497
81673
|
* @param {object} event Event object
|
|
@@ -81579,17 +81755,17 @@ type TimelineHistogramListeners = {
|
|
|
81579
81755
|
/**
|
|
81580
81756
|
* Fires after a sub grid is collapsed.
|
|
81581
81757
|
* @param {object} event Event object
|
|
81582
|
-
* @param {Grid.view.
|
|
81758
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
81583
81759
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
81584
81760
|
*/
|
|
81585
|
-
subGridCollapse?: ((event: { source:
|
|
81761
|
+
subGridCollapse?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
81586
81762
|
/**
|
|
81587
81763
|
* Fires after a sub grid is expanded.
|
|
81588
81764
|
* @param {object} event Event object
|
|
81589
|
-
* @param {Grid.view.
|
|
81765
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
81590
81766
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
81591
81767
|
*/
|
|
81592
|
-
subGridExpand?: ((event: { source:
|
|
81768
|
+
subGridExpand?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
81593
81769
|
/**
|
|
81594
81770
|
* Fired when the tick size changes.
|
|
81595
81771
|
* ...
|
|
@@ -83152,6 +83328,14 @@ type TimelineHistogramConfig = {
|
|
|
83152
83328
|
* @param {any} event.value The value being set
|
|
83153
83329
|
*/
|
|
83154
83330
|
onBeforeCellRangeEdit?: ((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string
|
|
83331
|
+
/**
|
|
83332
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
83333
|
+
* @param {object} event Event object
|
|
83334
|
+
* @param {Grid.view.GridBase} event.source The grid instance
|
|
83335
|
+
* @param {Grid.column.Column} event.column The column
|
|
83336
|
+
* @param {boolean} event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
83337
|
+
*/
|
|
83338
|
+
onBeforeColumnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
83155
83339
|
/**
|
|
83156
83340
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
83157
83341
|
* @param {object} event Event object
|
|
@@ -83312,18 +83496,18 @@ type TimelineHistogramConfig = {
|
|
|
83312
83496
|
/**
|
|
83313
83497
|
* Fires before a row is rendered.
|
|
83314
83498
|
* @param {object} event Event object
|
|
83315
|
-
* @param {Grid.view.
|
|
83316
|
-
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
83317
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
83318
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
83499
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
83500
|
+
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
83501
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
83502
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
83319
83503
|
*/
|
|
83320
|
-
onBeforeRenderRow?: ((event: { source:
|
|
83504
|
+
onBeforeRenderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
83321
83505
|
/**
|
|
83322
83506
|
* Grid rows are about to be rendered
|
|
83323
83507
|
* @param {object} event Event object
|
|
83324
|
-
* @param {Grid.view.
|
|
83508
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
83325
83509
|
*/
|
|
83326
|
-
onBeforeRenderRows?: ((event: { source:
|
|
83510
|
+
onBeforeRenderRows?: ((event: { source: GridBase }) => void)|string
|
|
83327
83511
|
/**
|
|
83328
83512
|
* This event fires before row collapse is started.
|
|
83329
83513
|
* ...
|
|
@@ -83554,6 +83738,14 @@ type TimelineHistogramConfig = {
|
|
|
83554
83738
|
* @param {Core.data.Model} event.record The record which has been collapsed.
|
|
83555
83739
|
*/
|
|
83556
83740
|
onCollapseNode?: ((event: { source: Grid, record: Model }) => void)|string
|
|
83741
|
+
/**
|
|
83742
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
83743
|
+
* @param {object} event Event object
|
|
83744
|
+
* @param {Grid.view.GridBase} event.source The Grid instance
|
|
83745
|
+
* @param {Grid.column.Column} event.column The column being toggled
|
|
83746
|
+
* @param {boolean} event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
83747
|
+
*/
|
|
83748
|
+
onColumnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
83557
83749
|
/**
|
|
83558
83750
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
83559
83751
|
* to indicate whether the drop position is valid or not.
|
|
@@ -83642,14 +83834,14 @@ type TimelineHistogramConfig = {
|
|
|
83642
83834
|
* ...
|
|
83643
83835
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineHistogram#event-dataChange)
|
|
83644
83836
|
* @param {object} event Event object
|
|
83645
|
-
* @param {Grid.view.
|
|
83837
|
+
* @param {Grid.view.GridBase} event.source Owning grid
|
|
83646
83838
|
* @param {Core.data.Store} event.store The originating store
|
|
83647
83839
|
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
83648
83840
|
* @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
83649
83841
|
* @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
|
|
83650
83842
|
* @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
|
|
83651
83843
|
*/
|
|
83652
|
-
onDataChange?: ((event: { source:
|
|
83844
|
+
onDataChange?: ((event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string
|
|
83653
83845
|
/**
|
|
83654
83846
|
* Fired when the range of dates encapsulated by the UI changes. This will be when
|
|
83655
83847
|
* moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
|
|
@@ -84003,18 +84195,18 @@ type TimelineHistogramConfig = {
|
|
|
84003
84195
|
/**
|
|
84004
84196
|
* Fires after a row is rendered.
|
|
84005
84197
|
* @param {object} event Event object
|
|
84006
|
-
* @param {Grid.view.
|
|
84007
|
-
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
84008
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
84009
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
84198
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
84199
|
+
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
84200
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
84201
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
84010
84202
|
*/
|
|
84011
|
-
onRenderRow?: ((event: { source:
|
|
84203
|
+
onRenderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
84012
84204
|
/**
|
|
84013
84205
|
* Grid rows have been rendered
|
|
84014
84206
|
* @param {object} event Event object
|
|
84015
|
-
* @param {Grid.view.
|
|
84207
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
84016
84208
|
*/
|
|
84017
|
-
onRenderRows?: ((event: { source:
|
|
84209
|
+
onRenderRows?: ((event: { source: GridBase }) => void)|string
|
|
84018
84210
|
/**
|
|
84019
84211
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
84020
84212
|
* @param {object} event Event object
|
|
@@ -84192,10 +84384,10 @@ type TimelineHistogramConfig = {
|
|
|
84192
84384
|
/**
|
|
84193
84385
|
* Grid has scrolled vertically
|
|
84194
84386
|
* @param {object} event Event object
|
|
84195
|
-
* @param {Grid.view.
|
|
84387
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance.
|
|
84196
84388
|
* @param {number} event.scrollTop The vertical scroll position.
|
|
84197
84389
|
*/
|
|
84198
|
-
onScroll?: ((event: { source:
|
|
84390
|
+
onScroll?: ((event: { source: GridBase, scrollTop: number }) => void)|string
|
|
84199
84391
|
/**
|
|
84200
84392
|
* The selection has been changed.
|
|
84201
84393
|
* @param {object} event Event object
|
|
@@ -84283,17 +84475,17 @@ type TimelineHistogramConfig = {
|
|
|
84283
84475
|
/**
|
|
84284
84476
|
* Fires after a sub grid is collapsed.
|
|
84285
84477
|
* @param {object} event Event object
|
|
84286
|
-
* @param {Grid.view.
|
|
84478
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
84287
84479
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
84288
84480
|
*/
|
|
84289
|
-
onSubGridCollapse?: ((event: { source:
|
|
84481
|
+
onSubGridCollapse?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
84290
84482
|
/**
|
|
84291
84483
|
* Fires after a sub grid is expanded.
|
|
84292
84484
|
* @param {object} event Event object
|
|
84293
|
-
* @param {Grid.view.
|
|
84485
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
84294
84486
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
84295
84487
|
*/
|
|
84296
|
-
onSubGridExpand?: ((event: { source:
|
|
84488
|
+
onSubGridExpand?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
84297
84489
|
/**
|
|
84298
84490
|
* Fired when the tick size changes.
|
|
84299
84491
|
* ...
|
|
@@ -87153,6 +87345,14 @@ type TimelineHistogramBaseListenersTypes = {
|
|
|
87153
87345
|
* @param {any} event.value The value being set
|
|
87154
87346
|
*/
|
|
87155
87347
|
beforeCellRangeEdit: (event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void
|
|
87348
|
+
/**
|
|
87349
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
87350
|
+
* @param {object} event Event object
|
|
87351
|
+
* @param {Grid.view.GridBase} event.source The grid instance
|
|
87352
|
+
* @param {Grid.column.Column} event.column The column
|
|
87353
|
+
* @param {boolean} event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
87354
|
+
*/
|
|
87355
|
+
beforeColumnCollapseToggle: (event: { source: GridBase, column: Column, collapsed: boolean }) => void
|
|
87156
87356
|
/**
|
|
87157
87357
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
87158
87358
|
* @param {object} event Event object
|
|
@@ -87307,18 +87507,18 @@ type TimelineHistogramBaseListenersTypes = {
|
|
|
87307
87507
|
/**
|
|
87308
87508
|
* Fires before a row is rendered.
|
|
87309
87509
|
* @param {object} event Event object
|
|
87310
|
-
* @param {Grid.view.
|
|
87311
|
-
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
87312
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
87313
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
87510
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
87511
|
+
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
87512
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
87513
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
87314
87514
|
*/
|
|
87315
|
-
beforeRenderRow: (event: { source:
|
|
87515
|
+
beforeRenderRow: (event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void
|
|
87316
87516
|
/**
|
|
87317
87517
|
* Grid rows are about to be rendered
|
|
87318
87518
|
* @param {object} event Event object
|
|
87319
|
-
* @param {Grid.view.
|
|
87519
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
87320
87520
|
*/
|
|
87321
|
-
beforeRenderRows: (event: { source:
|
|
87521
|
+
beforeRenderRows: (event: { source: GridBase }) => void
|
|
87322
87522
|
/**
|
|
87323
87523
|
* This event fires before row collapse is started.
|
|
87324
87524
|
* ...
|
|
@@ -87549,6 +87749,14 @@ type TimelineHistogramBaseListenersTypes = {
|
|
|
87549
87749
|
* @param {Core.data.Model} event.record The record which has been collapsed.
|
|
87550
87750
|
*/
|
|
87551
87751
|
collapseNode: (event: { source: Grid, record: Model }) => void
|
|
87752
|
+
/**
|
|
87753
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
87754
|
+
* @param {object} event Event object
|
|
87755
|
+
* @param {Grid.view.GridBase} event.source The Grid instance
|
|
87756
|
+
* @param {Grid.column.Column} event.column The column being toggled
|
|
87757
|
+
* @param {boolean} event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
87758
|
+
*/
|
|
87759
|
+
columnCollapseToggle: (event: { source: GridBase, column: Column, collapsed: boolean }) => void
|
|
87552
87760
|
/**
|
|
87553
87761
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
87554
87762
|
* to indicate whether the drop position is valid or not.
|
|
@@ -87630,14 +87838,14 @@ type TimelineHistogramBaseListenersTypes = {
|
|
|
87630
87838
|
* ...
|
|
87631
87839
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineHistogramBase#event-dataChange)
|
|
87632
87840
|
* @param {object} event Event object
|
|
87633
|
-
* @param {Grid.view.
|
|
87841
|
+
* @param {Grid.view.GridBase} event.source Owning grid
|
|
87634
87842
|
* @param {Core.data.Store} event.store The originating store
|
|
87635
87843
|
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
87636
87844
|
* @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
87637
87845
|
* @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
|
|
87638
87846
|
* @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
|
|
87639
87847
|
*/
|
|
87640
|
-
dataChange: (event: { source:
|
|
87848
|
+
dataChange: (event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void
|
|
87641
87849
|
/**
|
|
87642
87850
|
* Fired when the range of dates encapsulated by the UI changes. This will be when
|
|
87643
87851
|
* moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
|
|
@@ -87991,18 +88199,18 @@ type TimelineHistogramBaseListenersTypes = {
|
|
|
87991
88199
|
/**
|
|
87992
88200
|
* Fires after a row is rendered.
|
|
87993
88201
|
* @param {object} event Event object
|
|
87994
|
-
* @param {Grid.view.
|
|
87995
|
-
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
87996
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
87997
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
88202
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
88203
|
+
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
88204
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
88205
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
87998
88206
|
*/
|
|
87999
|
-
renderRow: (event: { source:
|
|
88207
|
+
renderRow: (event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void
|
|
88000
88208
|
/**
|
|
88001
88209
|
* Grid rows have been rendered
|
|
88002
88210
|
* @param {object} event Event object
|
|
88003
|
-
* @param {Grid.view.
|
|
88211
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
88004
88212
|
*/
|
|
88005
|
-
renderRows: (event: { source:
|
|
88213
|
+
renderRows: (event: { source: GridBase }) => void
|
|
88006
88214
|
/**
|
|
88007
88215
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
88008
88216
|
* @param {object} event Event object
|
|
@@ -88062,10 +88270,10 @@ type TimelineHistogramBaseListenersTypes = {
|
|
|
88062
88270
|
/**
|
|
88063
88271
|
* Grid has scrolled vertically
|
|
88064
88272
|
* @param {object} event Event object
|
|
88065
|
-
* @param {Grid.view.
|
|
88273
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance.
|
|
88066
88274
|
* @param {number} event.scrollTop The vertical scroll position.
|
|
88067
88275
|
*/
|
|
88068
|
-
scroll: (event: { source:
|
|
88276
|
+
scroll: (event: { source: GridBase, scrollTop: number }) => void
|
|
88069
88277
|
/**
|
|
88070
88278
|
* The selection has been changed.
|
|
88071
88279
|
* @param {object} event Event object
|
|
@@ -88153,17 +88361,17 @@ type TimelineHistogramBaseListenersTypes = {
|
|
|
88153
88361
|
/**
|
|
88154
88362
|
* Fires after a sub grid is collapsed.
|
|
88155
88363
|
* @param {object} event Event object
|
|
88156
|
-
* @param {Grid.view.
|
|
88364
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
88157
88365
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
88158
88366
|
*/
|
|
88159
|
-
subGridCollapse: (event: { source:
|
|
88367
|
+
subGridCollapse: (event: { source: GridBase, subGrid: SubGrid }) => void
|
|
88160
88368
|
/**
|
|
88161
88369
|
* Fires after a sub grid is expanded.
|
|
88162
88370
|
* @param {object} event Event object
|
|
88163
|
-
* @param {Grid.view.
|
|
88371
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
88164
88372
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
88165
88373
|
*/
|
|
88166
|
-
subGridExpand: (event: { source:
|
|
88374
|
+
subGridExpand: (event: { source: GridBase, subGrid: SubGrid }) => void
|
|
88167
88375
|
/**
|
|
88168
88376
|
* Fired when the tick size changes.
|
|
88169
88377
|
* ...
|
|
@@ -88349,6 +88557,14 @@ type TimelineHistogramBaseListeners = {
|
|
|
88349
88557
|
* @param {any} event.value The value being set
|
|
88350
88558
|
*/
|
|
88351
88559
|
beforeCellRangeEdit?: ((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string
|
|
88560
|
+
/**
|
|
88561
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
88562
|
+
* @param {object} event Event object
|
|
88563
|
+
* @param {Grid.view.GridBase} event.source The grid instance
|
|
88564
|
+
* @param {Grid.column.Column} event.column The column
|
|
88565
|
+
* @param {boolean} event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
88566
|
+
*/
|
|
88567
|
+
beforeColumnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
88352
88568
|
/**
|
|
88353
88569
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
88354
88570
|
* @param {object} event Event object
|
|
@@ -88503,18 +88719,18 @@ type TimelineHistogramBaseListeners = {
|
|
|
88503
88719
|
/**
|
|
88504
88720
|
* Fires before a row is rendered.
|
|
88505
88721
|
* @param {object} event Event object
|
|
88506
|
-
* @param {Grid.view.
|
|
88507
|
-
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
88508
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
88509
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
88722
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
88723
|
+
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
88724
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
88725
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
88510
88726
|
*/
|
|
88511
|
-
beforeRenderRow?: ((event: { source:
|
|
88727
|
+
beforeRenderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
88512
88728
|
/**
|
|
88513
88729
|
* Grid rows are about to be rendered
|
|
88514
88730
|
* @param {object} event Event object
|
|
88515
|
-
* @param {Grid.view.
|
|
88731
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
88516
88732
|
*/
|
|
88517
|
-
beforeRenderRows?: ((event: { source:
|
|
88733
|
+
beforeRenderRows?: ((event: { source: GridBase }) => void)|string
|
|
88518
88734
|
/**
|
|
88519
88735
|
* This event fires before row collapse is started.
|
|
88520
88736
|
* ...
|
|
@@ -88745,6 +88961,14 @@ type TimelineHistogramBaseListeners = {
|
|
|
88745
88961
|
* @param {Core.data.Model} event.record The record which has been collapsed.
|
|
88746
88962
|
*/
|
|
88747
88963
|
collapseNode?: ((event: { source: Grid, record: Model }) => void)|string
|
|
88964
|
+
/**
|
|
88965
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
88966
|
+
* @param {object} event Event object
|
|
88967
|
+
* @param {Grid.view.GridBase} event.source The Grid instance
|
|
88968
|
+
* @param {Grid.column.Column} event.column The column being toggled
|
|
88969
|
+
* @param {boolean} event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
88970
|
+
*/
|
|
88971
|
+
columnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
88748
88972
|
/**
|
|
88749
88973
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
88750
88974
|
* to indicate whether the drop position is valid or not.
|
|
@@ -88826,14 +89050,14 @@ type TimelineHistogramBaseListeners = {
|
|
|
88826
89050
|
* ...
|
|
88827
89051
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineHistogramBase#event-dataChange)
|
|
88828
89052
|
* @param {object} event Event object
|
|
88829
|
-
* @param {Grid.view.
|
|
89053
|
+
* @param {Grid.view.GridBase} event.source Owning grid
|
|
88830
89054
|
* @param {Core.data.Store} event.store The originating store
|
|
88831
89055
|
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
88832
89056
|
* @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
88833
89057
|
* @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
|
|
88834
89058
|
* @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
|
|
88835
89059
|
*/
|
|
88836
|
-
dataChange?: ((event: { source:
|
|
89060
|
+
dataChange?: ((event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string
|
|
88837
89061
|
/**
|
|
88838
89062
|
* Fired when the range of dates encapsulated by the UI changes. This will be when
|
|
88839
89063
|
* moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
|
|
@@ -89187,18 +89411,18 @@ type TimelineHistogramBaseListeners = {
|
|
|
89187
89411
|
/**
|
|
89188
89412
|
* Fires after a row is rendered.
|
|
89189
89413
|
* @param {object} event Event object
|
|
89190
|
-
* @param {Grid.view.
|
|
89191
|
-
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
89192
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
89193
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
89414
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
89415
|
+
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
89416
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
89417
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
89194
89418
|
*/
|
|
89195
|
-
renderRow?: ((event: { source:
|
|
89419
|
+
renderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
89196
89420
|
/**
|
|
89197
89421
|
* Grid rows have been rendered
|
|
89198
89422
|
* @param {object} event Event object
|
|
89199
|
-
* @param {Grid.view.
|
|
89423
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
89200
89424
|
*/
|
|
89201
|
-
renderRows?: ((event: { source:
|
|
89425
|
+
renderRows?: ((event: { source: GridBase }) => void)|string
|
|
89202
89426
|
/**
|
|
89203
89427
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
89204
89428
|
* @param {object} event Event object
|
|
@@ -89258,10 +89482,10 @@ type TimelineHistogramBaseListeners = {
|
|
|
89258
89482
|
/**
|
|
89259
89483
|
* Grid has scrolled vertically
|
|
89260
89484
|
* @param {object} event Event object
|
|
89261
|
-
* @param {Grid.view.
|
|
89485
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance.
|
|
89262
89486
|
* @param {number} event.scrollTop The vertical scroll position.
|
|
89263
89487
|
*/
|
|
89264
|
-
scroll?: ((event: { source:
|
|
89488
|
+
scroll?: ((event: { source: GridBase, scrollTop: number }) => void)|string
|
|
89265
89489
|
/**
|
|
89266
89490
|
* The selection has been changed.
|
|
89267
89491
|
* @param {object} event Event object
|
|
@@ -89349,17 +89573,17 @@ type TimelineHistogramBaseListeners = {
|
|
|
89349
89573
|
/**
|
|
89350
89574
|
* Fires after a sub grid is collapsed.
|
|
89351
89575
|
* @param {object} event Event object
|
|
89352
|
-
* @param {Grid.view.
|
|
89576
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
89353
89577
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
89354
89578
|
*/
|
|
89355
|
-
subGridCollapse?: ((event: { source:
|
|
89579
|
+
subGridCollapse?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
89356
89580
|
/**
|
|
89357
89581
|
* Fires after a sub grid is expanded.
|
|
89358
89582
|
* @param {object} event Event object
|
|
89359
|
-
* @param {Grid.view.
|
|
89583
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
89360
89584
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
89361
89585
|
*/
|
|
89362
|
-
subGridExpand?: ((event: { source:
|
|
89586
|
+
subGridExpand?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
89363
89587
|
/**
|
|
89364
89588
|
* Fired when the tick size changes.
|
|
89365
89589
|
* ...
|
|
@@ -90782,6 +91006,14 @@ type TimelineHistogramBaseConfig = {
|
|
|
90782
91006
|
* @param {any} event.value The value being set
|
|
90783
91007
|
*/
|
|
90784
91008
|
onBeforeCellRangeEdit?: ((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string
|
|
91009
|
+
/**
|
|
91010
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
91011
|
+
* @param {object} event Event object
|
|
91012
|
+
* @param {Grid.view.GridBase} event.source The grid instance
|
|
91013
|
+
* @param {Grid.column.Column} event.column The column
|
|
91014
|
+
* @param {boolean} event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
91015
|
+
*/
|
|
91016
|
+
onBeforeColumnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
90785
91017
|
/**
|
|
90786
91018
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
90787
91019
|
* @param {object} event Event object
|
|
@@ -90936,18 +91168,18 @@ type TimelineHistogramBaseConfig = {
|
|
|
90936
91168
|
/**
|
|
90937
91169
|
* Fires before a row is rendered.
|
|
90938
91170
|
* @param {object} event Event object
|
|
90939
|
-
* @param {Grid.view.
|
|
90940
|
-
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
90941
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
90942
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
91171
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
91172
|
+
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
91173
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
91174
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
90943
91175
|
*/
|
|
90944
|
-
onBeforeRenderRow?: ((event: { source:
|
|
91176
|
+
onBeforeRenderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
90945
91177
|
/**
|
|
90946
91178
|
* Grid rows are about to be rendered
|
|
90947
91179
|
* @param {object} event Event object
|
|
90948
|
-
* @param {Grid.view.
|
|
91180
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
90949
91181
|
*/
|
|
90950
|
-
onBeforeRenderRows?: ((event: { source:
|
|
91182
|
+
onBeforeRenderRows?: ((event: { source: GridBase }) => void)|string
|
|
90951
91183
|
/**
|
|
90952
91184
|
* This event fires before row collapse is started.
|
|
90953
91185
|
* ...
|
|
@@ -91178,6 +91410,14 @@ type TimelineHistogramBaseConfig = {
|
|
|
91178
91410
|
* @param {Core.data.Model} event.record The record which has been collapsed.
|
|
91179
91411
|
*/
|
|
91180
91412
|
onCollapseNode?: ((event: { source: Grid, record: Model }) => void)|string
|
|
91413
|
+
/**
|
|
91414
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
91415
|
+
* @param {object} event Event object
|
|
91416
|
+
* @param {Grid.view.GridBase} event.source The Grid instance
|
|
91417
|
+
* @param {Grid.column.Column} event.column The column being toggled
|
|
91418
|
+
* @param {boolean} event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
91419
|
+
*/
|
|
91420
|
+
onColumnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
91181
91421
|
/**
|
|
91182
91422
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
91183
91423
|
* to indicate whether the drop position is valid or not.
|
|
@@ -91259,14 +91499,14 @@ type TimelineHistogramBaseConfig = {
|
|
|
91259
91499
|
* ...
|
|
91260
91500
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineHistogramBase#event-dataChange)
|
|
91261
91501
|
* @param {object} event Event object
|
|
91262
|
-
* @param {Grid.view.
|
|
91502
|
+
* @param {Grid.view.GridBase} event.source Owning grid
|
|
91263
91503
|
* @param {Core.data.Store} event.store The originating store
|
|
91264
91504
|
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
91265
91505
|
* @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
91266
91506
|
* @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
|
|
91267
91507
|
* @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
|
|
91268
91508
|
*/
|
|
91269
|
-
onDataChange?: ((event: { source:
|
|
91509
|
+
onDataChange?: ((event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string
|
|
91270
91510
|
/**
|
|
91271
91511
|
* Fired when the range of dates encapsulated by the UI changes. This will be when
|
|
91272
91512
|
* moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
|
|
@@ -91620,18 +91860,18 @@ type TimelineHistogramBaseConfig = {
|
|
|
91620
91860
|
/**
|
|
91621
91861
|
* Fires after a row is rendered.
|
|
91622
91862
|
* @param {object} event Event object
|
|
91623
|
-
* @param {Grid.view.
|
|
91624
|
-
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
91625
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
91626
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
91863
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
91864
|
+
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
91865
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
91866
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
91627
91867
|
*/
|
|
91628
|
-
onRenderRow?: ((event: { source:
|
|
91868
|
+
onRenderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
91629
91869
|
/**
|
|
91630
91870
|
* Grid rows have been rendered
|
|
91631
91871
|
* @param {object} event Event object
|
|
91632
|
-
* @param {Grid.view.
|
|
91872
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
91633
91873
|
*/
|
|
91634
|
-
onRenderRows?: ((event: { source:
|
|
91874
|
+
onRenderRows?: ((event: { source: GridBase }) => void)|string
|
|
91635
91875
|
/**
|
|
91636
91876
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
91637
91877
|
* @param {object} event Event object
|
|
@@ -91691,10 +91931,10 @@ type TimelineHistogramBaseConfig = {
|
|
|
91691
91931
|
/**
|
|
91692
91932
|
* Grid has scrolled vertically
|
|
91693
91933
|
* @param {object} event Event object
|
|
91694
|
-
* @param {Grid.view.
|
|
91934
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance.
|
|
91695
91935
|
* @param {number} event.scrollTop The vertical scroll position.
|
|
91696
91936
|
*/
|
|
91697
|
-
onScroll?: ((event: { source:
|
|
91937
|
+
onScroll?: ((event: { source: GridBase, scrollTop: number }) => void)|string
|
|
91698
91938
|
/**
|
|
91699
91939
|
* The selection has been changed.
|
|
91700
91940
|
* @param {object} event Event object
|
|
@@ -91782,17 +92022,17 @@ type TimelineHistogramBaseConfig = {
|
|
|
91782
92022
|
/**
|
|
91783
92023
|
* Fires after a sub grid is collapsed.
|
|
91784
92024
|
* @param {object} event Event object
|
|
91785
|
-
* @param {Grid.view.
|
|
92025
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
91786
92026
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
91787
92027
|
*/
|
|
91788
|
-
onSubGridCollapse?: ((event: { source:
|
|
92028
|
+
onSubGridCollapse?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
91789
92029
|
/**
|
|
91790
92030
|
* Fires after a sub grid is expanded.
|
|
91791
92031
|
* @param {object} event Event object
|
|
91792
|
-
* @param {Grid.view.
|
|
92032
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
91793
92033
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
91794
92034
|
*/
|
|
91795
|
-
onSubGridExpand?: ((event: { source:
|
|
92035
|
+
onSubGridExpand?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
91796
92036
|
/**
|
|
91797
92037
|
* Fired when the tick size changes.
|
|
91798
92038
|
* ...
|
|
@@ -95761,6 +96001,14 @@ type TimelineHistogramGroupingClassListenersTypes = {
|
|
|
95761
96001
|
* @param {any} event.value The value being set
|
|
95762
96002
|
*/
|
|
95763
96003
|
beforeCellRangeEdit: (event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void
|
|
96004
|
+
/**
|
|
96005
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
96006
|
+
* @param {object} event Event object
|
|
96007
|
+
* @param {Grid.view.GridBase} event.source The grid instance
|
|
96008
|
+
* @param {Grid.column.Column} event.column The column
|
|
96009
|
+
* @param {boolean} event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
96010
|
+
*/
|
|
96011
|
+
beforeColumnCollapseToggle: (event: { source: GridBase, column: Column, collapsed: boolean }) => void
|
|
95764
96012
|
/**
|
|
95765
96013
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
95766
96014
|
* @param {object} event Event object
|
|
@@ -95915,18 +96163,18 @@ type TimelineHistogramGroupingClassListenersTypes = {
|
|
|
95915
96163
|
/**
|
|
95916
96164
|
* Fires before a row is rendered.
|
|
95917
96165
|
* @param {object} event Event object
|
|
95918
|
-
* @param {Grid.view.
|
|
95919
|
-
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
95920
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
95921
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
96166
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
96167
|
+
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
96168
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
96169
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
95922
96170
|
*/
|
|
95923
|
-
beforeRenderRow: (event: { source:
|
|
96171
|
+
beforeRenderRow: (event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void
|
|
95924
96172
|
/**
|
|
95925
96173
|
* Grid rows are about to be rendered
|
|
95926
96174
|
* @param {object} event Event object
|
|
95927
|
-
* @param {Grid.view.
|
|
96175
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
95928
96176
|
*/
|
|
95929
|
-
beforeRenderRows: (event: { source:
|
|
96177
|
+
beforeRenderRows: (event: { source: GridBase }) => void
|
|
95930
96178
|
/**
|
|
95931
96179
|
* This event fires before row collapse is started.
|
|
95932
96180
|
* ...
|
|
@@ -96157,6 +96405,14 @@ type TimelineHistogramGroupingClassListenersTypes = {
|
|
|
96157
96405
|
* @param {Core.data.Model} event.record The record which has been collapsed.
|
|
96158
96406
|
*/
|
|
96159
96407
|
collapseNode: (event: { source: Grid, record: Model }) => void
|
|
96408
|
+
/**
|
|
96409
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
96410
|
+
* @param {object} event Event object
|
|
96411
|
+
* @param {Grid.view.GridBase} event.source The Grid instance
|
|
96412
|
+
* @param {Grid.column.Column} event.column The column being toggled
|
|
96413
|
+
* @param {boolean} event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
96414
|
+
*/
|
|
96415
|
+
columnCollapseToggle: (event: { source: GridBase, column: Column, collapsed: boolean }) => void
|
|
96160
96416
|
/**
|
|
96161
96417
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
96162
96418
|
* to indicate whether the drop position is valid or not.
|
|
@@ -96238,14 +96494,14 @@ type TimelineHistogramGroupingClassListenersTypes = {
|
|
|
96238
96494
|
* ...
|
|
96239
96495
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/mixin/TimelineHistogramGrouping#event-dataChange)
|
|
96240
96496
|
* @param {object} event Event object
|
|
96241
|
-
* @param {Grid.view.
|
|
96497
|
+
* @param {Grid.view.GridBase} event.source Owning grid
|
|
96242
96498
|
* @param {Core.data.Store} event.store The originating store
|
|
96243
96499
|
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
96244
96500
|
* @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
96245
96501
|
* @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
|
|
96246
96502
|
* @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
|
|
96247
96503
|
*/
|
|
96248
|
-
dataChange: (event: { source:
|
|
96504
|
+
dataChange: (event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void
|
|
96249
96505
|
/**
|
|
96250
96506
|
* Fired when the range of dates encapsulated by the UI changes. This will be when
|
|
96251
96507
|
* moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
|
|
@@ -96599,18 +96855,18 @@ type TimelineHistogramGroupingClassListenersTypes = {
|
|
|
96599
96855
|
/**
|
|
96600
96856
|
* Fires after a row is rendered.
|
|
96601
96857
|
* @param {object} event Event object
|
|
96602
|
-
* @param {Grid.view.
|
|
96603
|
-
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
96604
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
96605
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
96858
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
96859
|
+
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
96860
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
96861
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
96606
96862
|
*/
|
|
96607
|
-
renderRow: (event: { source:
|
|
96863
|
+
renderRow: (event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void
|
|
96608
96864
|
/**
|
|
96609
96865
|
* Grid rows have been rendered
|
|
96610
96866
|
* @param {object} event Event object
|
|
96611
|
-
* @param {Grid.view.
|
|
96867
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
96612
96868
|
*/
|
|
96613
|
-
renderRows: (event: { source:
|
|
96869
|
+
renderRows: (event: { source: GridBase }) => void
|
|
96614
96870
|
/**
|
|
96615
96871
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
96616
96872
|
* @param {object} event Event object
|
|
@@ -96670,10 +96926,10 @@ type TimelineHistogramGroupingClassListenersTypes = {
|
|
|
96670
96926
|
/**
|
|
96671
96927
|
* Grid has scrolled vertically
|
|
96672
96928
|
* @param {object} event Event object
|
|
96673
|
-
* @param {Grid.view.
|
|
96929
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance.
|
|
96674
96930
|
* @param {number} event.scrollTop The vertical scroll position.
|
|
96675
96931
|
*/
|
|
96676
|
-
scroll: (event: { source:
|
|
96932
|
+
scroll: (event: { source: GridBase, scrollTop: number }) => void
|
|
96677
96933
|
/**
|
|
96678
96934
|
* The selection has been changed.
|
|
96679
96935
|
* @param {object} event Event object
|
|
@@ -96761,17 +97017,17 @@ type TimelineHistogramGroupingClassListenersTypes = {
|
|
|
96761
97017
|
/**
|
|
96762
97018
|
* Fires after a sub grid is collapsed.
|
|
96763
97019
|
* @param {object} event Event object
|
|
96764
|
-
* @param {Grid.view.
|
|
97020
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
96765
97021
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
96766
97022
|
*/
|
|
96767
|
-
subGridCollapse: (event: { source:
|
|
97023
|
+
subGridCollapse: (event: { source: GridBase, subGrid: SubGrid }) => void
|
|
96768
97024
|
/**
|
|
96769
97025
|
* Fires after a sub grid is expanded.
|
|
96770
97026
|
* @param {object} event Event object
|
|
96771
|
-
* @param {Grid.view.
|
|
97027
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
96772
97028
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
96773
97029
|
*/
|
|
96774
|
-
subGridExpand: (event: { source:
|
|
97030
|
+
subGridExpand: (event: { source: GridBase, subGrid: SubGrid }) => void
|
|
96775
97031
|
/**
|
|
96776
97032
|
* Fired when the tick size changes.
|
|
96777
97033
|
* ...
|
|
@@ -96957,6 +97213,14 @@ type TimelineHistogramGroupingClassListeners = {
|
|
|
96957
97213
|
* @param {any} event.value The value being set
|
|
96958
97214
|
*/
|
|
96959
97215
|
beforeCellRangeEdit?: ((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string
|
|
97216
|
+
/**
|
|
97217
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
97218
|
+
* @param {object} event Event object
|
|
97219
|
+
* @param {Grid.view.GridBase} event.source The grid instance
|
|
97220
|
+
* @param {Grid.column.Column} event.column The column
|
|
97221
|
+
* @param {boolean} event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
97222
|
+
*/
|
|
97223
|
+
beforeColumnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
96960
97224
|
/**
|
|
96961
97225
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
96962
97226
|
* @param {object} event Event object
|
|
@@ -97111,18 +97375,18 @@ type TimelineHistogramGroupingClassListeners = {
|
|
|
97111
97375
|
/**
|
|
97112
97376
|
* Fires before a row is rendered.
|
|
97113
97377
|
* @param {object} event Event object
|
|
97114
|
-
* @param {Grid.view.
|
|
97115
|
-
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
97116
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
97117
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
97378
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
97379
|
+
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
97380
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
97381
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
97118
97382
|
*/
|
|
97119
|
-
beforeRenderRow?: ((event: { source:
|
|
97383
|
+
beforeRenderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
97120
97384
|
/**
|
|
97121
97385
|
* Grid rows are about to be rendered
|
|
97122
97386
|
* @param {object} event Event object
|
|
97123
|
-
* @param {Grid.view.
|
|
97387
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
97124
97388
|
*/
|
|
97125
|
-
beforeRenderRows?: ((event: { source:
|
|
97389
|
+
beforeRenderRows?: ((event: { source: GridBase }) => void)|string
|
|
97126
97390
|
/**
|
|
97127
97391
|
* This event fires before row collapse is started.
|
|
97128
97392
|
* ...
|
|
@@ -97353,6 +97617,14 @@ type TimelineHistogramGroupingClassListeners = {
|
|
|
97353
97617
|
* @param {Core.data.Model} event.record The record which has been collapsed.
|
|
97354
97618
|
*/
|
|
97355
97619
|
collapseNode?: ((event: { source: Grid, record: Model }) => void)|string
|
|
97620
|
+
/**
|
|
97621
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
97622
|
+
* @param {object} event Event object
|
|
97623
|
+
* @param {Grid.view.GridBase} event.source The Grid instance
|
|
97624
|
+
* @param {Grid.column.Column} event.column The column being toggled
|
|
97625
|
+
* @param {boolean} event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
97626
|
+
*/
|
|
97627
|
+
columnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
97356
97628
|
/**
|
|
97357
97629
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
97358
97630
|
* to indicate whether the drop position is valid or not.
|
|
@@ -97434,14 +97706,14 @@ type TimelineHistogramGroupingClassListeners = {
|
|
|
97434
97706
|
* ...
|
|
97435
97707
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/mixin/TimelineHistogramGrouping#event-dataChange)
|
|
97436
97708
|
* @param {object} event Event object
|
|
97437
|
-
* @param {Grid.view.
|
|
97709
|
+
* @param {Grid.view.GridBase} event.source Owning grid
|
|
97438
97710
|
* @param {Core.data.Store} event.store The originating store
|
|
97439
97711
|
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
97440
97712
|
* @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
97441
97713
|
* @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
|
|
97442
97714
|
* @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
|
|
97443
97715
|
*/
|
|
97444
|
-
dataChange?: ((event: { source:
|
|
97716
|
+
dataChange?: ((event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string
|
|
97445
97717
|
/**
|
|
97446
97718
|
* Fired when the range of dates encapsulated by the UI changes. This will be when
|
|
97447
97719
|
* moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
|
|
@@ -97795,18 +98067,18 @@ type TimelineHistogramGroupingClassListeners = {
|
|
|
97795
98067
|
/**
|
|
97796
98068
|
* Fires after a row is rendered.
|
|
97797
98069
|
* @param {object} event Event object
|
|
97798
|
-
* @param {Grid.view.
|
|
97799
|
-
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
97800
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
97801
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
98070
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
98071
|
+
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
98072
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
98073
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
97802
98074
|
*/
|
|
97803
|
-
renderRow?: ((event: { source:
|
|
98075
|
+
renderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
97804
98076
|
/**
|
|
97805
98077
|
* Grid rows have been rendered
|
|
97806
98078
|
* @param {object} event Event object
|
|
97807
|
-
* @param {Grid.view.
|
|
98079
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
97808
98080
|
*/
|
|
97809
|
-
renderRows?: ((event: { source:
|
|
98081
|
+
renderRows?: ((event: { source: GridBase }) => void)|string
|
|
97810
98082
|
/**
|
|
97811
98083
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
97812
98084
|
* @param {object} event Event object
|
|
@@ -97866,10 +98138,10 @@ type TimelineHistogramGroupingClassListeners = {
|
|
|
97866
98138
|
/**
|
|
97867
98139
|
* Grid has scrolled vertically
|
|
97868
98140
|
* @param {object} event Event object
|
|
97869
|
-
* @param {Grid.view.
|
|
98141
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance.
|
|
97870
98142
|
* @param {number} event.scrollTop The vertical scroll position.
|
|
97871
98143
|
*/
|
|
97872
|
-
scroll?: ((event: { source:
|
|
98144
|
+
scroll?: ((event: { source: GridBase, scrollTop: number }) => void)|string
|
|
97873
98145
|
/**
|
|
97874
98146
|
* The selection has been changed.
|
|
97875
98147
|
* @param {object} event Event object
|
|
@@ -97957,17 +98229,17 @@ type TimelineHistogramGroupingClassListeners = {
|
|
|
97957
98229
|
/**
|
|
97958
98230
|
* Fires after a sub grid is collapsed.
|
|
97959
98231
|
* @param {object} event Event object
|
|
97960
|
-
* @param {Grid.view.
|
|
98232
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
97961
98233
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
97962
98234
|
*/
|
|
97963
|
-
subGridCollapse?: ((event: { source:
|
|
98235
|
+
subGridCollapse?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
97964
98236
|
/**
|
|
97965
98237
|
* Fires after a sub grid is expanded.
|
|
97966
98238
|
* @param {object} event Event object
|
|
97967
|
-
* @param {Grid.view.
|
|
98239
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
97968
98240
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
97969
98241
|
*/
|
|
97970
|
-
subGridExpand?: ((event: { source:
|
|
98242
|
+
subGridExpand?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
97971
98243
|
/**
|
|
97972
98244
|
* Fired when the tick size changes.
|
|
97973
98245
|
* ...
|
|
@@ -99423,6 +99695,14 @@ type TimelineHistogramGroupingClassConfig = {
|
|
|
99423
99695
|
* @param {any} event.value The value being set
|
|
99424
99696
|
*/
|
|
99425
99697
|
onBeforeCellRangeEdit?: ((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string
|
|
99698
|
+
/**
|
|
99699
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
99700
|
+
* @param {object} event Event object
|
|
99701
|
+
* @param {Grid.view.GridBase} event.source The grid instance
|
|
99702
|
+
* @param {Grid.column.Column} event.column The column
|
|
99703
|
+
* @param {boolean} event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
99704
|
+
*/
|
|
99705
|
+
onBeforeColumnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
99426
99706
|
/**
|
|
99427
99707
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
99428
99708
|
* @param {object} event Event object
|
|
@@ -99577,18 +99857,18 @@ type TimelineHistogramGroupingClassConfig = {
|
|
|
99577
99857
|
/**
|
|
99578
99858
|
* Fires before a row is rendered.
|
|
99579
99859
|
* @param {object} event Event object
|
|
99580
|
-
* @param {Grid.view.
|
|
99581
|
-
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
99582
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
99583
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
99860
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
99861
|
+
* @param {Grid.row.Row} event.row The row about to be rendered
|
|
99862
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
99863
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
99584
99864
|
*/
|
|
99585
|
-
onBeforeRenderRow?: ((event: { source:
|
|
99865
|
+
onBeforeRenderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
99586
99866
|
/**
|
|
99587
99867
|
* Grid rows are about to be rendered
|
|
99588
99868
|
* @param {object} event Event object
|
|
99589
|
-
* @param {Grid.view.
|
|
99869
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
99590
99870
|
*/
|
|
99591
|
-
onBeforeRenderRows?: ((event: { source:
|
|
99871
|
+
onBeforeRenderRows?: ((event: { source: GridBase }) => void)|string
|
|
99592
99872
|
/**
|
|
99593
99873
|
* This event fires before row collapse is started.
|
|
99594
99874
|
* ...
|
|
@@ -99819,6 +100099,14 @@ type TimelineHistogramGroupingClassConfig = {
|
|
|
99819
100099
|
* @param {Core.data.Model} event.record The record which has been collapsed.
|
|
99820
100100
|
*/
|
|
99821
100101
|
onCollapseNode?: ((event: { source: Grid, record: Model }) => void)|string
|
|
100102
|
+
/**
|
|
100103
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
100104
|
+
* @param {object} event Event object
|
|
100105
|
+
* @param {Grid.view.GridBase} event.source The Grid instance
|
|
100106
|
+
* @param {Grid.column.Column} event.column The column being toggled
|
|
100107
|
+
* @param {boolean} event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
100108
|
+
*/
|
|
100109
|
+
onColumnCollapseToggle?: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string
|
|
99822
100110
|
/**
|
|
99823
100111
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
99824
100112
|
* to indicate whether the drop position is valid or not.
|
|
@@ -99900,14 +100188,14 @@ type TimelineHistogramGroupingClassConfig = {
|
|
|
99900
100188
|
* ...
|
|
99901
100189
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/mixin/TimelineHistogramGrouping#event-dataChange)
|
|
99902
100190
|
* @param {object} event Event object
|
|
99903
|
-
* @param {Grid.view.
|
|
100191
|
+
* @param {Grid.view.GridBase} event.source Owning grid
|
|
99904
100192
|
* @param {Core.data.Store} event.store The originating store
|
|
99905
100193
|
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
99906
100194
|
* @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
99907
100195
|
* @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
|
|
99908
100196
|
* @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
|
|
99909
100197
|
*/
|
|
99910
|
-
onDataChange?: ((event: { source:
|
|
100198
|
+
onDataChange?: ((event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string
|
|
99911
100199
|
/**
|
|
99912
100200
|
* Fired when the range of dates encapsulated by the UI changes. This will be when
|
|
99913
100201
|
* moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
|
|
@@ -100261,18 +100549,18 @@ type TimelineHistogramGroupingClassConfig = {
|
|
|
100261
100549
|
/**
|
|
100262
100550
|
* Fires after a row is rendered.
|
|
100263
100551
|
* @param {object} event Event object
|
|
100264
|
-
* @param {Grid.view.
|
|
100265
|
-
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
100266
|
-
* @param {Core.data.Model} event.record The record for the row
|
|
100267
|
-
* @param {number} event.recordIndex The zero-based index of the record
|
|
100552
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
100553
|
+
* @param {Grid.row.Row} event.row The row that has been rendered
|
|
100554
|
+
* @param {Core.data.Model} event.record The record for the row
|
|
100555
|
+
* @param {number} event.recordIndex The zero-based index of the record
|
|
100268
100556
|
*/
|
|
100269
|
-
onRenderRow?: ((event: { source:
|
|
100557
|
+
onRenderRow?: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string
|
|
100270
100558
|
/**
|
|
100271
100559
|
* Grid rows have been rendered
|
|
100272
100560
|
* @param {object} event Event object
|
|
100273
|
-
* @param {Grid.view.
|
|
100561
|
+
* @param {Grid.view.GridBase} event.source This grid.
|
|
100274
100562
|
*/
|
|
100275
|
-
onRenderRows?: ((event: { source:
|
|
100563
|
+
onRenderRows?: ((event: { source: GridBase }) => void)|string
|
|
100276
100564
|
/**
|
|
100277
100565
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
100278
100566
|
* @param {object} event Event object
|
|
@@ -100332,10 +100620,10 @@ type TimelineHistogramGroupingClassConfig = {
|
|
|
100332
100620
|
/**
|
|
100333
100621
|
* Grid has scrolled vertically
|
|
100334
100622
|
* @param {object} event Event object
|
|
100335
|
-
* @param {Grid.view.
|
|
100623
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance.
|
|
100336
100624
|
* @param {number} event.scrollTop The vertical scroll position.
|
|
100337
100625
|
*/
|
|
100338
|
-
onScroll?: ((event: { source:
|
|
100626
|
+
onScroll?: ((event: { source: GridBase, scrollTop: number }) => void)|string
|
|
100339
100627
|
/**
|
|
100340
100628
|
* The selection has been changed.
|
|
100341
100629
|
* @param {object} event Event object
|
|
@@ -100423,17 +100711,17 @@ type TimelineHistogramGroupingClassConfig = {
|
|
|
100423
100711
|
/**
|
|
100424
100712
|
* Fires after a sub grid is collapsed.
|
|
100425
100713
|
* @param {object} event Event object
|
|
100426
|
-
* @param {Grid.view.
|
|
100714
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
100427
100715
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
100428
100716
|
*/
|
|
100429
|
-
onSubGridCollapse?: ((event: { source:
|
|
100717
|
+
onSubGridCollapse?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
100430
100718
|
/**
|
|
100431
100719
|
* Fires after a sub grid is expanded.
|
|
100432
100720
|
* @param {object} event Event object
|
|
100433
|
-
* @param {Grid.view.
|
|
100721
|
+
* @param {Grid.view.GridBase} event.source The firing Grid instance
|
|
100434
100722
|
* @param {Grid.view.SubGrid} event.subGrid The sub grid instance
|
|
100435
100723
|
*/
|
|
100436
|
-
onSubGridExpand?: ((event: { source:
|
|
100724
|
+
onSubGridExpand?: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string
|
|
100437
100725
|
/**
|
|
100438
100726
|
* Fired when the tick size changes.
|
|
100439
100727
|
* ...
|