@bryntum/grid-vue-3-thin 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 +16 -10
- package/lib/chunks/{BddaT4s7.js → CaI_GBO1.js} +6 -2
- package/lib/chunks/CaI_GBO1.js.map +1 -0
- package/lib/chunks/{COu7hi0l.js → DWaN4KC0.js} +6 -2
- package/lib/chunks/DWaN4KC0.js.map +1 -0
- package/lib/chunks/{DGygz4dO.js → KwkuVE1P.js} +6 -2
- package/lib/chunks/KwkuVE1P.js.map +1 -0
- package/lib/components/BryntumGrid.js +1 -1
- package/lib/components/BryntumGridBase.js +1 -1
- package/lib/components/BryntumTreeGrid.js +1 -1
- package/lib/helper/WrapperHelper.js +42 -42
- package/lib/helper/WrapperHelper.js.map +1 -1
- package/lib/index.js +3 -3
- package/package.json +1 -1
- package/src/components/BryntumGrid.vue +50 -22
- package/src/components/BryntumGridBase.vue +50 -22
- package/src/components/BryntumTreeGrid.vue +50 -22
- package/src/helper/WrapperHelper.ts +5 -1
- package/lib/chunks/BddaT4s7.js.map +0 -1
- package/lib/chunks/COu7hi0l.js.map +0 -1
- package/lib/chunks/DGygz4dO.js.map +0 -1
|
@@ -1124,6 +1124,18 @@ const emit = defineEmits<{
|
|
|
1124
1124
|
* @param {any} params.params.event.value The value being set
|
|
1125
1125
|
*/
|
|
1126
1126
|
(e: 'beforeCellRangeEdit', params: ((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
1127
|
+
/**
|
|
1128
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
1129
|
+
* @param {string} e Event name
|
|
1130
|
+
* @param {object} params Event parameters
|
|
1131
|
+
* @param {string} params.e Event name
|
|
1132
|
+
* @param {object} params.params Event parameters
|
|
1133
|
+
* @param {object} params.params.event Event object
|
|
1134
|
+
* @param {Grid.view.GridBase} params.params.event.source The grid instance
|
|
1135
|
+
* @param {Grid.column.Column} params.params.event.column The column
|
|
1136
|
+
* @param {boolean} params.params.event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
1137
|
+
*/
|
|
1138
|
+
(e: 'beforeColumnCollapseToggle', params: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string): void
|
|
1127
1139
|
/**
|
|
1128
1140
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
1129
1141
|
* @param {string} e Event name
|
|
@@ -1290,12 +1302,12 @@ const emit = defineEmits<{
|
|
|
1290
1302
|
* @param {string} params.e Event name
|
|
1291
1303
|
* @param {object} params.params Event parameters
|
|
1292
1304
|
* @param {object} params.params.event Event object
|
|
1293
|
-
* @param {Grid.view.
|
|
1294
|
-
* @param {Grid.row.Row} params.params.event.row The row about to be rendered
|
|
1295
|
-
* @param {Core.data.Model} params.params.event.record The record for the row
|
|
1296
|
-
* @param {number} params.params.event.recordIndex The zero-based index of the record
|
|
1305
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
|
|
1306
|
+
* @param {Grid.row.Row} params.params.event.row The row about to be rendered
|
|
1307
|
+
* @param {Core.data.Model} params.params.event.record The record for the row
|
|
1308
|
+
* @param {number} params.params.event.recordIndex The zero-based index of the record
|
|
1297
1309
|
*/
|
|
1298
|
-
(e: 'beforeRenderRow', params: ((event: { source:
|
|
1310
|
+
(e: 'beforeRenderRow', params: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string): void
|
|
1299
1311
|
/**
|
|
1300
1312
|
* Grid rows are about to be rendered
|
|
1301
1313
|
* @param {string} e Event name
|
|
@@ -1303,9 +1315,9 @@ const emit = defineEmits<{
|
|
|
1303
1315
|
* @param {string} params.e Event name
|
|
1304
1316
|
* @param {object} params.params Event parameters
|
|
1305
1317
|
* @param {object} params.params.event Event object
|
|
1306
|
-
* @param {Grid.view.
|
|
1318
|
+
* @param {Grid.view.GridBase} params.params.event.source This grid.
|
|
1307
1319
|
*/
|
|
1308
|
-
(e: 'beforeRenderRows', params: ((event: { source:
|
|
1320
|
+
(e: 'beforeRenderRows', params: ((event: { source: GridBase }) => void)|string): void
|
|
1309
1321
|
/**
|
|
1310
1322
|
* This event fires before row collapse is started.
|
|
1311
1323
|
* ...
|
|
@@ -1636,6 +1648,18 @@ const emit = defineEmits<{
|
|
|
1636
1648
|
* @param {Core.data.Model} params.params.event.record The record which has been collapsed.
|
|
1637
1649
|
*/
|
|
1638
1650
|
(e: 'collapseNode', params: ((event: { source: Grid, record: Model }) => void)|string): void
|
|
1651
|
+
/**
|
|
1652
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
1653
|
+
* @param {string} e Event name
|
|
1654
|
+
* @param {object} params Event parameters
|
|
1655
|
+
* @param {string} params.e Event name
|
|
1656
|
+
* @param {object} params.params Event parameters
|
|
1657
|
+
* @param {object} params.params.event Event object
|
|
1658
|
+
* @param {Grid.view.GridBase} params.params.event.source The Grid instance
|
|
1659
|
+
* @param {Grid.column.Column} params.params.event.column The column being toggled
|
|
1660
|
+
* @param {boolean} params.params.event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
1661
|
+
*/
|
|
1662
|
+
(e: 'columnCollapseToggle', params: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string): void
|
|
1639
1663
|
/**
|
|
1640
1664
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
1641
1665
|
* to indicate whether the drop position is valid or not.
|
|
@@ -1753,14 +1777,14 @@ const emit = defineEmits<{
|
|
|
1753
1777
|
* @param {string} params.e Event name
|
|
1754
1778
|
* @param {object} params.params Event parameters
|
|
1755
1779
|
* @param {object} params.params.event Event object
|
|
1756
|
-
* @param {Grid.view.
|
|
1780
|
+
* @param {Grid.view.GridBase} params.params.event.source Owning grid
|
|
1757
1781
|
* @param {Core.data.Store} params.params.event.store The originating store
|
|
1758
1782
|
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} params.params.event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
1759
1783
|
* @param {Core.data.Model} params.params.event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
1760
1784
|
* @param {Core.data.Model[]} params.params.event.records Changed records, passed for all actions except `'removeAll'`
|
|
1761
1785
|
* @param {object} params.params.event.changes Passed for the `'update'` action, info on which record fields changed
|
|
1762
1786
|
*/
|
|
1763
|
-
(e: 'dataChange', params: ((event: { source:
|
|
1787
|
+
(e: 'dataChange', params: ((event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string): void
|
|
1764
1788
|
/**
|
|
1765
1789
|
* Fires when an object is destroyed.
|
|
1766
1790
|
* @param {string} e Event name
|
|
@@ -2208,12 +2232,12 @@ const emit = defineEmits<{
|
|
|
2208
2232
|
* @param {string} params.e Event name
|
|
2209
2233
|
* @param {object} params.params Event parameters
|
|
2210
2234
|
* @param {object} params.params.event Event object
|
|
2211
|
-
* @param {Grid.view.
|
|
2212
|
-
* @param {Grid.row.Row} params.params.event.row The row that has been rendered
|
|
2213
|
-
* @param {Core.data.Model} params.params.event.record The record for the row
|
|
2214
|
-
* @param {number} params.params.event.recordIndex The zero-based index of the record
|
|
2235
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
|
|
2236
|
+
* @param {Grid.row.Row} params.params.event.row The row that has been rendered
|
|
2237
|
+
* @param {Core.data.Model} params.params.event.record The record for the row
|
|
2238
|
+
* @param {number} params.params.event.recordIndex The zero-based index of the record
|
|
2215
2239
|
*/
|
|
2216
|
-
(e: 'renderRow', params: ((event: { source:
|
|
2240
|
+
(e: 'renderRow', params: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string): void
|
|
2217
2241
|
/**
|
|
2218
2242
|
* Grid rows have been rendered
|
|
2219
2243
|
* @param {string} e Event name
|
|
@@ -2221,9 +2245,9 @@ const emit = defineEmits<{
|
|
|
2221
2245
|
* @param {string} params.e Event name
|
|
2222
2246
|
* @param {object} params.params Event parameters
|
|
2223
2247
|
* @param {object} params.params.event Event object
|
|
2224
|
-
* @param {Grid.view.
|
|
2248
|
+
* @param {Grid.view.GridBase} params.params.event.source This grid.
|
|
2225
2249
|
*/
|
|
2226
|
-
(e: 'renderRows', params: ((event: { source:
|
|
2250
|
+
(e: 'renderRows', params: ((event: { source: GridBase }) => void)|string): void
|
|
2227
2251
|
/**
|
|
2228
2252
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
2229
2253
|
* @param {string} e Event name
|
|
@@ -2311,10 +2335,10 @@ const emit = defineEmits<{
|
|
|
2311
2335
|
* @param {string} params.e Event name
|
|
2312
2336
|
* @param {object} params.params Event parameters
|
|
2313
2337
|
* @param {object} params.params.event Event object
|
|
2314
|
-
* @param {Grid.view.
|
|
2338
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance.
|
|
2315
2339
|
* @param {number} params.params.event.scrollTop The vertical scroll position.
|
|
2316
2340
|
*/
|
|
2317
|
-
(e: 'scroll', params: ((event: { source:
|
|
2341
|
+
(e: 'scroll', params: ((event: { source: GridBase, scrollTop: number }) => void)|string): void
|
|
2318
2342
|
/**
|
|
2319
2343
|
* The selection has been changed.
|
|
2320
2344
|
* @param {string} e Event name
|
|
@@ -2446,10 +2470,10 @@ const emit = defineEmits<{
|
|
|
2446
2470
|
* @param {string} params.e Event name
|
|
2447
2471
|
* @param {object} params.params Event parameters
|
|
2448
2472
|
* @param {object} params.params.event Event object
|
|
2449
|
-
* @param {Grid.view.
|
|
2473
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
|
|
2450
2474
|
* @param {Grid.view.SubGrid} params.params.event.subGrid The sub grid instance
|
|
2451
2475
|
*/
|
|
2452
|
-
(e: 'subGridCollapse', params: ((event: { source:
|
|
2476
|
+
(e: 'subGridCollapse', params: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string): void
|
|
2453
2477
|
/**
|
|
2454
2478
|
* Fires after a sub grid is expanded.
|
|
2455
2479
|
* @param {string} e Event name
|
|
@@ -2457,10 +2481,10 @@ const emit = defineEmits<{
|
|
|
2457
2481
|
* @param {string} params.e Event name
|
|
2458
2482
|
* @param {object} params.params Event parameters
|
|
2459
2483
|
* @param {object} params.params.event Event object
|
|
2460
|
-
* @param {Grid.view.
|
|
2484
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
|
|
2461
2485
|
* @param {Grid.view.SubGrid} params.params.event.subGrid The sub grid instance
|
|
2462
2486
|
*/
|
|
2463
|
-
(e: 'subGridExpand', params: ((event: { source:
|
|
2487
|
+
(e: 'subGridExpand', params: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string): void
|
|
2464
2488
|
/**
|
|
2465
2489
|
* Fired when one or more groups are expanded or collapsed
|
|
2466
2490
|
* @param {string} e Event name
|
|
@@ -2676,6 +2700,7 @@ const widgetData = {
|
|
|
2676
2700
|
'onBeforeCellEditStart',
|
|
2677
2701
|
'onBeforeCellRangeDelete',
|
|
2678
2702
|
'onBeforeCellRangeEdit',
|
|
2703
|
+
'onBeforeColumnCollapseToggle',
|
|
2679
2704
|
'onBeforeColumnDragStart',
|
|
2680
2705
|
'onBeforeColumnDropFinalize',
|
|
2681
2706
|
'onBeforeColumnResize',
|
|
@@ -2716,6 +2741,7 @@ const widgetData = {
|
|
|
2716
2741
|
'onCellMouseOver',
|
|
2717
2742
|
'onCollapse',
|
|
2718
2743
|
'onCollapseNode',
|
|
2744
|
+
'onColumnCollapseToggle',
|
|
2719
2745
|
'onColumnDrag',
|
|
2720
2746
|
'onColumnDragStart',
|
|
2721
2747
|
'onColumnDrop',
|
|
@@ -2823,6 +2849,7 @@ const widgetData = {
|
|
|
2823
2849
|
'beforeCellEditStart',
|
|
2824
2850
|
'beforeCellRangeDelete',
|
|
2825
2851
|
'beforeCellRangeEdit',
|
|
2852
|
+
'beforeColumnCollapseToggle',
|
|
2826
2853
|
'beforeColumnDragStart',
|
|
2827
2854
|
'beforeColumnDropFinalize',
|
|
2828
2855
|
'beforeColumnResize',
|
|
@@ -2863,6 +2890,7 @@ const widgetData = {
|
|
|
2863
2890
|
'cellMouseOver',
|
|
2864
2891
|
'collapse',
|
|
2865
2892
|
'collapseNode',
|
|
2893
|
+
'columnCollapseToggle',
|
|
2866
2894
|
'columnDrag',
|
|
2867
2895
|
'columnDragStart',
|
|
2868
2896
|
'columnDrop',
|
|
@@ -1125,6 +1125,18 @@ const emit = defineEmits<{
|
|
|
1125
1125
|
* @param {any} params.params.event.value The value being set
|
|
1126
1126
|
*/
|
|
1127
1127
|
(e: 'beforeCellRangeEdit', params: ((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
1128
|
+
/**
|
|
1129
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
1130
|
+
* @param {string} e Event name
|
|
1131
|
+
* @param {object} params Event parameters
|
|
1132
|
+
* @param {string} params.e Event name
|
|
1133
|
+
* @param {object} params.params Event parameters
|
|
1134
|
+
* @param {object} params.params.event Event object
|
|
1135
|
+
* @param {Grid.view.GridBase} params.params.event.source The grid instance
|
|
1136
|
+
* @param {Grid.column.Column} params.params.event.column The column
|
|
1137
|
+
* @param {boolean} params.params.event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
1138
|
+
*/
|
|
1139
|
+
(e: 'beforeColumnCollapseToggle', params: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string): void
|
|
1128
1140
|
/**
|
|
1129
1141
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
1130
1142
|
* @param {string} e Event name
|
|
@@ -1291,12 +1303,12 @@ const emit = defineEmits<{
|
|
|
1291
1303
|
* @param {string} params.e Event name
|
|
1292
1304
|
* @param {object} params.params Event parameters
|
|
1293
1305
|
* @param {object} params.params.event Event object
|
|
1294
|
-
* @param {Grid.view.
|
|
1295
|
-
* @param {Grid.row.Row} params.params.event.row The row about to be rendered
|
|
1296
|
-
* @param {Core.data.Model} params.params.event.record The record for the row
|
|
1297
|
-
* @param {number} params.params.event.recordIndex The zero-based index of the record
|
|
1306
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
|
|
1307
|
+
* @param {Grid.row.Row} params.params.event.row The row about to be rendered
|
|
1308
|
+
* @param {Core.data.Model} params.params.event.record The record for the row
|
|
1309
|
+
* @param {number} params.params.event.recordIndex The zero-based index of the record
|
|
1298
1310
|
*/
|
|
1299
|
-
(e: 'beforeRenderRow', params: ((event: { source:
|
|
1311
|
+
(e: 'beforeRenderRow', params: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string): void
|
|
1300
1312
|
/**
|
|
1301
1313
|
* Grid rows are about to be rendered
|
|
1302
1314
|
* @param {string} e Event name
|
|
@@ -1304,9 +1316,9 @@ const emit = defineEmits<{
|
|
|
1304
1316
|
* @param {string} params.e Event name
|
|
1305
1317
|
* @param {object} params.params Event parameters
|
|
1306
1318
|
* @param {object} params.params.event Event object
|
|
1307
|
-
* @param {Grid.view.
|
|
1319
|
+
* @param {Grid.view.GridBase} params.params.event.source This grid.
|
|
1308
1320
|
*/
|
|
1309
|
-
(e: 'beforeRenderRows', params: ((event: { source:
|
|
1321
|
+
(e: 'beforeRenderRows', params: ((event: { source: GridBase }) => void)|string): void
|
|
1310
1322
|
/**
|
|
1311
1323
|
* This event fires before row collapse is started.
|
|
1312
1324
|
* ...
|
|
@@ -1637,6 +1649,18 @@ const emit = defineEmits<{
|
|
|
1637
1649
|
* @param {Core.data.Model} params.params.event.record The record which has been collapsed.
|
|
1638
1650
|
*/
|
|
1639
1651
|
(e: 'collapseNode', params: ((event: { source: Grid, record: Model }) => void)|string): void
|
|
1652
|
+
/**
|
|
1653
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
1654
|
+
* @param {string} e Event name
|
|
1655
|
+
* @param {object} params Event parameters
|
|
1656
|
+
* @param {string} params.e Event name
|
|
1657
|
+
* @param {object} params.params Event parameters
|
|
1658
|
+
* @param {object} params.params.event Event object
|
|
1659
|
+
* @param {Grid.view.GridBase} params.params.event.source The Grid instance
|
|
1660
|
+
* @param {Grid.column.Column} params.params.event.column The column being toggled
|
|
1661
|
+
* @param {boolean} params.params.event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
1662
|
+
*/
|
|
1663
|
+
(e: 'columnCollapseToggle', params: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string): void
|
|
1640
1664
|
/**
|
|
1641
1665
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
1642
1666
|
* to indicate whether the drop position is valid or not.
|
|
@@ -1754,14 +1778,14 @@ const emit = defineEmits<{
|
|
|
1754
1778
|
* @param {string} params.e Event name
|
|
1755
1779
|
* @param {object} params.params Event parameters
|
|
1756
1780
|
* @param {object} params.params.event Event object
|
|
1757
|
-
* @param {Grid.view.
|
|
1781
|
+
* @param {Grid.view.GridBase} params.params.event.source Owning grid
|
|
1758
1782
|
* @param {Core.data.Store} params.params.event.store The originating store
|
|
1759
1783
|
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} params.params.event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
1760
1784
|
* @param {Core.data.Model} params.params.event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
1761
1785
|
* @param {Core.data.Model[]} params.params.event.records Changed records, passed for all actions except `'removeAll'`
|
|
1762
1786
|
* @param {object} params.params.event.changes Passed for the `'update'` action, info on which record fields changed
|
|
1763
1787
|
*/
|
|
1764
|
-
(e: 'dataChange', params: ((event: { source:
|
|
1788
|
+
(e: 'dataChange', params: ((event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string): void
|
|
1765
1789
|
/**
|
|
1766
1790
|
* Fires when an object is destroyed.
|
|
1767
1791
|
* @param {string} e Event name
|
|
@@ -2209,12 +2233,12 @@ const emit = defineEmits<{
|
|
|
2209
2233
|
* @param {string} params.e Event name
|
|
2210
2234
|
* @param {object} params.params Event parameters
|
|
2211
2235
|
* @param {object} params.params.event Event object
|
|
2212
|
-
* @param {Grid.view.
|
|
2213
|
-
* @param {Grid.row.Row} params.params.event.row The row that has been rendered
|
|
2214
|
-
* @param {Core.data.Model} params.params.event.record The record for the row
|
|
2215
|
-
* @param {number} params.params.event.recordIndex The zero-based index of the record
|
|
2236
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
|
|
2237
|
+
* @param {Grid.row.Row} params.params.event.row The row that has been rendered
|
|
2238
|
+
* @param {Core.data.Model} params.params.event.record The record for the row
|
|
2239
|
+
* @param {number} params.params.event.recordIndex The zero-based index of the record
|
|
2216
2240
|
*/
|
|
2217
|
-
(e: 'renderRow', params: ((event: { source:
|
|
2241
|
+
(e: 'renderRow', params: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string): void
|
|
2218
2242
|
/**
|
|
2219
2243
|
* Grid rows have been rendered
|
|
2220
2244
|
* @param {string} e Event name
|
|
@@ -2222,9 +2246,9 @@ const emit = defineEmits<{
|
|
|
2222
2246
|
* @param {string} params.e Event name
|
|
2223
2247
|
* @param {object} params.params Event parameters
|
|
2224
2248
|
* @param {object} params.params.event Event object
|
|
2225
|
-
* @param {Grid.view.
|
|
2249
|
+
* @param {Grid.view.GridBase} params.params.event.source This grid.
|
|
2226
2250
|
*/
|
|
2227
|
-
(e: 'renderRows', params: ((event: { source:
|
|
2251
|
+
(e: 'renderRows', params: ((event: { source: GridBase }) => void)|string): void
|
|
2228
2252
|
/**
|
|
2229
2253
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
2230
2254
|
* @param {string} e Event name
|
|
@@ -2312,10 +2336,10 @@ const emit = defineEmits<{
|
|
|
2312
2336
|
* @param {string} params.e Event name
|
|
2313
2337
|
* @param {object} params.params Event parameters
|
|
2314
2338
|
* @param {object} params.params.event Event object
|
|
2315
|
-
* @param {Grid.view.
|
|
2339
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance.
|
|
2316
2340
|
* @param {number} params.params.event.scrollTop The vertical scroll position.
|
|
2317
2341
|
*/
|
|
2318
|
-
(e: 'scroll', params: ((event: { source:
|
|
2342
|
+
(e: 'scroll', params: ((event: { source: GridBase, scrollTop: number }) => void)|string): void
|
|
2319
2343
|
/**
|
|
2320
2344
|
* The selection has been changed.
|
|
2321
2345
|
* @param {string} e Event name
|
|
@@ -2447,10 +2471,10 @@ const emit = defineEmits<{
|
|
|
2447
2471
|
* @param {string} params.e Event name
|
|
2448
2472
|
* @param {object} params.params Event parameters
|
|
2449
2473
|
* @param {object} params.params.event Event object
|
|
2450
|
-
* @param {Grid.view.
|
|
2474
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
|
|
2451
2475
|
* @param {Grid.view.SubGrid} params.params.event.subGrid The sub grid instance
|
|
2452
2476
|
*/
|
|
2453
|
-
(e: 'subGridCollapse', params: ((event: { source:
|
|
2477
|
+
(e: 'subGridCollapse', params: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string): void
|
|
2454
2478
|
/**
|
|
2455
2479
|
* Fires after a sub grid is expanded.
|
|
2456
2480
|
* @param {string} e Event name
|
|
@@ -2458,10 +2482,10 @@ const emit = defineEmits<{
|
|
|
2458
2482
|
* @param {string} params.e Event name
|
|
2459
2483
|
* @param {object} params.params Event parameters
|
|
2460
2484
|
* @param {object} params.params.event Event object
|
|
2461
|
-
* @param {Grid.view.
|
|
2485
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
|
|
2462
2486
|
* @param {Grid.view.SubGrid} params.params.event.subGrid The sub grid instance
|
|
2463
2487
|
*/
|
|
2464
|
-
(e: 'subGridExpand', params: ((event: { source:
|
|
2488
|
+
(e: 'subGridExpand', params: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string): void
|
|
2465
2489
|
/**
|
|
2466
2490
|
* Fired when one or more groups are expanded or collapsed
|
|
2467
2491
|
* @param {string} e Event name
|
|
@@ -2678,6 +2702,7 @@ const widgetData = {
|
|
|
2678
2702
|
'onBeforeCellEditStart',
|
|
2679
2703
|
'onBeforeCellRangeDelete',
|
|
2680
2704
|
'onBeforeCellRangeEdit',
|
|
2705
|
+
'onBeforeColumnCollapseToggle',
|
|
2681
2706
|
'onBeforeColumnDragStart',
|
|
2682
2707
|
'onBeforeColumnDropFinalize',
|
|
2683
2708
|
'onBeforeColumnResize',
|
|
@@ -2718,6 +2743,7 @@ const widgetData = {
|
|
|
2718
2743
|
'onCellMouseOver',
|
|
2719
2744
|
'onCollapse',
|
|
2720
2745
|
'onCollapseNode',
|
|
2746
|
+
'onColumnCollapseToggle',
|
|
2721
2747
|
'onColumnDrag',
|
|
2722
2748
|
'onColumnDragStart',
|
|
2723
2749
|
'onColumnDrop',
|
|
@@ -2825,6 +2851,7 @@ const widgetData = {
|
|
|
2825
2851
|
'beforeCellEditStart',
|
|
2826
2852
|
'beforeCellRangeDelete',
|
|
2827
2853
|
'beforeCellRangeEdit',
|
|
2854
|
+
'beforeColumnCollapseToggle',
|
|
2828
2855
|
'beforeColumnDragStart',
|
|
2829
2856
|
'beforeColumnDropFinalize',
|
|
2830
2857
|
'beforeColumnResize',
|
|
@@ -2865,6 +2892,7 @@ const widgetData = {
|
|
|
2865
2892
|
'cellMouseOver',
|
|
2866
2893
|
'collapse',
|
|
2867
2894
|
'collapseNode',
|
|
2895
|
+
'columnCollapseToggle',
|
|
2868
2896
|
'columnDrag',
|
|
2869
2897
|
'columnDragStart',
|
|
2870
2898
|
'columnDrop',
|
|
@@ -469,9 +469,13 @@ export class WrapperHelper {
|
|
|
469
469
|
isRecurring = eventRecord.isRecurring || eventRecord.isOccurrence,
|
|
470
470
|
key = `assignment-${assignmentRecord?.id}${isRecurring ? '-' + eventRecord.id : ''}`;
|
|
471
471
|
|
|
472
|
-
if
|
|
472
|
+
// Only delete the teleport if it's rendering into this specific targetElement.
|
|
473
|
+
// Prevents issues when elements are reused during scrolling with LockRows feature.
|
|
474
|
+
if (wrap.vueKey && teleports.get(wrap.vueKey)?.to === targetElement) {
|
|
475
|
+
// Only delete if the existing teleport is rendering into this specific targetElement
|
|
473
476
|
teleports.delete(wrap.vueKey);
|
|
474
477
|
}
|
|
478
|
+
|
|
475
479
|
const
|
|
476
480
|
bind = { ...rendererConfig },
|
|
477
481
|
{ is, on = {} } = bind;
|