@bryntum/grid-vue-3-thin 7.2.1 → 7.2.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 +4 -4
- package/lib/chunks/{CBFPsO1m.js → B5DiBj1m.js} +1 -3
- package/lib/chunks/B5DiBj1m.js.map +1 -0
- package/lib/chunks/{CMUbwEab.js → BQkqLHa6.js} +5 -7
- package/lib/chunks/{CMUbwEab.js.map → BQkqLHa6.js.map} +1 -1
- package/lib/chunks/{1N5MmU6T.js → C3MmNeeF.js} +6 -6
- package/lib/chunks/C3MmNeeF.js.map +1 -0
- package/lib/chunks/{Dos88vME.js → C8vFKx3Q.js} +9 -9
- package/lib/chunks/C8vFKx3Q.js.map +1 -0
- package/lib/chunks/{Dod-SqEN.js → CnbA4JoC.js} +1 -3
- package/lib/chunks/CnbA4JoC.js.map +1 -0
- package/lib/chunks/{CalpnIlY.js → D639wy1k.js} +1 -3
- package/lib/chunks/D639wy1k.js.map +1 -0
- package/lib/chunks/{Dgq4wGRw.js → Da4PP6A-.js} +3 -5
- package/lib/chunks/Da4PP6A-.js.map +1 -0
- package/lib/chunks/{OIBqQHze.js → DkzTNiUv.js} +1 -3
- package/lib/chunks/DkzTNiUv.js.map +1 -0
- package/lib/chunks/{B02B9_9A.js → MAev_NTD.js} +13 -13
- package/lib/chunks/MAev_NTD.js.map +1 -0
- package/lib/chunks/{BiSBQkoK.js → v3MxzI7J.js} +3 -5
- package/lib/chunks/v3MxzI7J.js.map +1 -0
- package/lib/components/BryntumAIFilterField.js +1 -1
- package/lib/components/BryntumChecklistFilterCombo.js +1 -1
- package/lib/components/BryntumGrid.js +1 -1
- package/lib/components/BryntumGridBase.js +1 -1
- package/lib/components/BryntumGridChartDesigner.js +1 -1
- package/lib/components/BryntumGridFieldFilterPicker.js +1 -1
- package/lib/components/BryntumGridFieldFilterPickerGroup.js +1 -1
- package/lib/components/BryntumGroupBar.js +1 -1
- package/lib/components/BryntumTreeCombo.js +1 -1
- package/lib/components/BryntumTreeGrid.js +1 -1
- package/lib/index.js +10 -10
- package/package.json +1 -1
- package/src/components/BryntumAIFilterField.vue +1 -10
- package/src/components/BryntumAIFilterFieldProps.ts +1 -9
- package/src/components/BryntumChecklistFilterCombo.vue +2 -11
- package/src/components/BryntumChecklistFilterComboProps.ts +2 -10
- package/src/components/BryntumGrid.vue +20 -15
- package/src/components/BryntumGridBase.vue +20 -15
- package/src/components/BryntumGridBaseProps.ts +4 -12
- package/src/components/BryntumGridChartDesigner.vue +0 -9
- package/src/components/BryntumGridChartDesignerProps.ts +0 -8
- package/src/components/BryntumGridFieldFilterPicker.vue +0 -9
- package/src/components/BryntumGridFieldFilterPickerGroup.vue +0 -9
- package/src/components/BryntumGridFieldFilterPickerGroupProps.ts +0 -8
- package/src/components/BryntumGridFieldFilterPickerProps.ts +0 -8
- package/src/components/BryntumGridProps.ts +4 -12
- package/src/components/BryntumGroupBar.vue +1 -10
- package/src/components/BryntumGroupBarProps.ts +1 -9
- package/src/components/BryntumTreeCombo.vue +2 -11
- package/src/components/BryntumTreeComboProps.ts +2 -10
- package/src/components/BryntumTreeGrid.vue +20 -15
- package/src/components/BryntumTreeGridProps.ts +4 -12
- package/lib/chunks/1N5MmU6T.js.map +0 -1
- package/lib/chunks/B02B9_9A.js.map +0 -1
- package/lib/chunks/BiSBQkoK.js.map +0 -1
- package/lib/chunks/CBFPsO1m.js.map +0 -1
- package/lib/chunks/CalpnIlY.js.map +0 -1
- package/lib/chunks/Dgq4wGRw.js.map +0 -1
- package/lib/chunks/Dod-SqEN.js.map +0 -1
- package/lib/chunks/Dos88vME.js.map +0 -1
- package/lib/chunks/OIBqQHze.js.map +0 -1
|
@@ -504,14 +504,6 @@ defineProps<{
|
|
|
504
504
|
* Grid monitors window resize by default.
|
|
505
505
|
*/
|
|
506
506
|
monitorResize ? : Boolean
|
|
507
|
-
/**
|
|
508
|
-
* The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
|
|
509
|
-
* [items](https://bryntum.com/products/grid/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
|
|
510
|
-
* the owner is <strong>always</strong> the encapsulating Container.
|
|
511
|
-
* ...
|
|
512
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/GridBase#config-owner)
|
|
513
|
-
*/
|
|
514
|
-
owner ? : Widget|any
|
|
515
507
|
/**
|
|
516
508
|
* Specify plugins (an array of classes) in config
|
|
517
509
|
*/
|
|
@@ -591,7 +583,7 @@ defineProps<{
|
|
|
591
583
|
rootElement ? : ShadowRoot|HTMLElement
|
|
592
584
|
/**
|
|
593
585
|
* Row height in pixels. This allows the default height for rows to be controlled. Note that it may be
|
|
594
|
-
*
|
|
586
|
+
* overridden by specifying a [rowHeight](https://bryntum.com/products/grid/docs/api/Grid/data/GridRowModel#field-rowHeight) on a per record basis, or from
|
|
595
587
|
* a column [renderer](https://bryntum.com/products/grid/docs/api/Grid/column/Column#config-renderer).
|
|
596
588
|
* ...
|
|
597
589
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/GridBase#config-rowHeight)
|
|
@@ -818,7 +810,7 @@ defineProps<{
|
|
|
818
810
|
cellEditFeature ? : object|Boolean|string|CellEdit|CellEditConfig
|
|
819
811
|
/**
|
|
820
812
|
* Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
|
|
821
|
-
*
|
|
813
|
+
* <kbd>Space</kbd> key when the cell is focused.
|
|
822
814
|
* ...
|
|
823
815
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/CellMenu)
|
|
824
816
|
*/
|
|
@@ -918,8 +910,8 @@ defineProps<{
|
|
|
918
910
|
filterBarFeature ? : object|Boolean|string|FilterBar|FilterBarConfig
|
|
919
911
|
/**
|
|
920
912
|
* Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
|
|
921
|
-
* <kbd>
|
|
922
|
-
* one anywhere on grid). Use <kbd>
|
|
913
|
+
* <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
|
|
914
|
+
* one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
|
|
923
915
|
* grouper.
|
|
924
916
|
* ...
|
|
925
917
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/Group)
|
|
@@ -1114,7 +1106,7 @@ const emit = defineEmits<{
|
|
|
1114
1106
|
*/
|
|
1115
1107
|
(e: 'beforeCellEditStart', params: ((event: { source: Grid, editorContext: CellEditorContext }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
1116
1108
|
/**
|
|
1117
|
-
* Fires on the owning Grid before deleting a range of selected cell values by pressing
|
|
1109
|
+
* Fires on the owning Grid before deleting a range of selected cell values by pressing <kbd>Backspace</kbd> or <kbd>Delete</kbd>
|
|
1118
1110
|
* buttons while [autoEdit](https://bryntum.com/products/grid/docs/api/Grid/feature/CellEdit#config-autoEdit) is set to `true`. Return `false` to prevent editing.
|
|
1119
1111
|
* @param {string} e Event name
|
|
1120
1112
|
* @param {object} params Event parameters
|
|
@@ -2222,7 +2214,7 @@ const emit = defineEmits<{
|
|
|
2222
2214
|
* @param {Response} params.params.event.response Optional response, if received
|
|
2223
2215
|
* @param {Error} params.params.event.error Optional error, if exception occurred
|
|
2224
2216
|
*/
|
|
2225
|
-
(e: 'pdfExport', params: ((event: { response?:
|
|
2217
|
+
(e: 'pdfExport', params: ((event: { response?: Response, error?: Error }) => void)|string): void
|
|
2226
2218
|
/**
|
|
2227
2219
|
* Fired when a Widget's read only state is toggled
|
|
2228
2220
|
* @param {string} e Event name
|
|
@@ -2533,6 +2525,18 @@ const emit = defineEmits<{
|
|
|
2533
2525
|
* @param {Core.widget.Tool} params.params.event.tool The tool which is being clicked.
|
|
2534
2526
|
*/
|
|
2535
2527
|
(e: 'toolClick', params: ((event: { source: Tool, tool: Tool }) => void)|string): void
|
|
2528
|
+
/**
|
|
2529
|
+
* Fired on the owning Grid/Scheduler/Gantt after tree grouping levels change
|
|
2530
|
+
* @param {string} e Event name
|
|
2531
|
+
* @param {object} params Event parameters
|
|
2532
|
+
* @param {string} params.e Event name
|
|
2533
|
+
* @param {object} params.params Event parameters
|
|
2534
|
+
* @param {object} params.params.event Event object
|
|
2535
|
+
* @param {Grid.view.Grid} params.params.event.source The grid instance
|
|
2536
|
+
* @param {(string|Function)[]} params.params.event.groupers Array of field names or functions representing the current grouping levels
|
|
2537
|
+
* @param {(string|Function)[]} params.params.event.oldGroupers Array of field names or functions representing the previous grouping levels
|
|
2538
|
+
*/
|
|
2539
|
+
(e: 'treeGroup', params: ((event: { source: Grid, groupers: (string|Function)[], oldGroupers: (string|Function)[] }) => void)|string): void
|
|
2536
2540
|
/**
|
|
2537
2541
|
* Fires when row locking is disabled.
|
|
2538
2542
|
* @param {string} e Event name
|
|
@@ -2648,7 +2652,6 @@ const widgetData = {
|
|
|
2648
2652
|
'maskDefaults',
|
|
2649
2653
|
'masked',
|
|
2650
2654
|
'monitorResize',
|
|
2651
|
-
'owner',
|
|
2652
2655
|
'plugins',
|
|
2653
2656
|
'preserveFocusOnDatasetChange',
|
|
2654
2657
|
'preserveScrollOnDatasetChange',
|
|
@@ -2826,6 +2829,7 @@ const widgetData = {
|
|
|
2826
2829
|
'onToggleGroup',
|
|
2827
2830
|
'onToggleNode',
|
|
2828
2831
|
'onToolClick',
|
|
2832
|
+
'onTreeGroup',
|
|
2829
2833
|
'onUnlockRows',
|
|
2830
2834
|
'onUnsplit',
|
|
2831
2835
|
'preserveScroll',
|
|
@@ -2975,6 +2979,7 @@ const widgetData = {
|
|
|
2975
2979
|
'toggleGroup',
|
|
2976
2980
|
'toggleNode',
|
|
2977
2981
|
'toolClick',
|
|
2982
|
+
'treeGroup',
|
|
2978
2983
|
'unlockRows',
|
|
2979
2984
|
'unsplit'
|
|
2980
2985
|
]
|
|
@@ -466,14 +466,6 @@ export declare type BryntumGridBaseProps = {
|
|
|
466
466
|
* Grid monitors window resize by default.
|
|
467
467
|
*/
|
|
468
468
|
monitorResize ? : Boolean
|
|
469
|
-
/**
|
|
470
|
-
* The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
|
|
471
|
-
* [items](https://bryntum.com/products/grid/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
|
|
472
|
-
* the owner is <strong>always</strong> the encapsulating Container.
|
|
473
|
-
* ...
|
|
474
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/GridBase#config-owner)
|
|
475
|
-
*/
|
|
476
|
-
owner ? : Widget|any
|
|
477
469
|
/**
|
|
478
470
|
* Specify plugins (an array of classes) in config
|
|
479
471
|
*/
|
|
@@ -553,7 +545,7 @@ export declare type BryntumGridBaseProps = {
|
|
|
553
545
|
rootElement ? : ShadowRoot|HTMLElement
|
|
554
546
|
/**
|
|
555
547
|
* Row height in pixels. This allows the default height for rows to be controlled. Note that it may be
|
|
556
|
-
*
|
|
548
|
+
* overridden by specifying a [rowHeight](https://bryntum.com/products/grid/docs/api/Grid/data/GridRowModel#field-rowHeight) on a per record basis, or from
|
|
557
549
|
* a column [renderer](https://bryntum.com/products/grid/docs/api/Grid/column/Column#config-renderer).
|
|
558
550
|
* ...
|
|
559
551
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/GridBase#config-rowHeight)
|
|
@@ -780,7 +772,7 @@ export declare type BryntumGridBaseProps = {
|
|
|
780
772
|
cellEditFeature ? : object|Boolean|string|CellEdit|CellEditConfig
|
|
781
773
|
/**
|
|
782
774
|
* Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
|
|
783
|
-
*
|
|
775
|
+
* <kbd>Space</kbd> key when the cell is focused.
|
|
784
776
|
* ...
|
|
785
777
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/CellMenu)
|
|
786
778
|
*/
|
|
@@ -880,8 +872,8 @@ export declare type BryntumGridBaseProps = {
|
|
|
880
872
|
filterBarFeature ? : object|Boolean|string|FilterBar|FilterBarConfig
|
|
881
873
|
/**
|
|
882
874
|
* Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
|
|
883
|
-
* <kbd>
|
|
884
|
-
* one anywhere on grid). Use <kbd>
|
|
875
|
+
* <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
|
|
876
|
+
* one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
|
|
885
877
|
* grouper.
|
|
886
878
|
* ...
|
|
887
879
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/Group)
|
|
@@ -332,14 +332,6 @@ defineProps<{
|
|
|
332
332
|
monitorResize ? : Boolean|{
|
|
333
333
|
immediate?: Boolean
|
|
334
334
|
}
|
|
335
|
-
/**
|
|
336
|
-
* The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
|
|
337
|
-
* [items](https://bryntum.com/products/grid/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
|
|
338
|
-
* the owner is <strong>always</strong> the encapsulating Container.
|
|
339
|
-
* ...
|
|
340
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-owner)
|
|
341
|
-
*/
|
|
342
|
-
owner ? : Widget|any
|
|
343
335
|
/**
|
|
344
336
|
* Set to `true` when a widget is rendered into another widget's [contentElement](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-contentElement), but must
|
|
345
337
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
@@ -675,7 +667,6 @@ const widgetData = {
|
|
|
675
667
|
'maskDefaults',
|
|
676
668
|
'masked',
|
|
677
669
|
'monitorResize',
|
|
678
|
-
'owner',
|
|
679
670
|
'positioned',
|
|
680
671
|
'preventTooltipOnTouch',
|
|
681
672
|
'relayStoreEvents',
|
|
@@ -317,14 +317,6 @@ export declare type BryntumGridChartDesignerProps = {
|
|
|
317
317
|
monitorResize ? : Boolean|{
|
|
318
318
|
immediate?: Boolean
|
|
319
319
|
}
|
|
320
|
-
/**
|
|
321
|
-
* The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
|
|
322
|
-
* [items](https://bryntum.com/products/grid/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
|
|
323
|
-
* the owner is <strong>always</strong> the encapsulating Container.
|
|
324
|
-
* ...
|
|
325
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-owner)
|
|
326
|
-
*/
|
|
327
|
-
owner ? : Widget|any
|
|
328
320
|
/**
|
|
329
321
|
* Set to `true` when a widget is rendered into another widget's [contentElement](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-contentElement), but must
|
|
330
322
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
@@ -460,14 +460,6 @@ defineProps<{
|
|
|
460
460
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-operators)
|
|
461
461
|
*/
|
|
462
462
|
operators ? : object
|
|
463
|
-
/**
|
|
464
|
-
* The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
|
|
465
|
-
* [items](https://bryntum.com/products/grid/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
|
|
466
|
-
* the owner is <strong>always</strong> the encapsulating Container.
|
|
467
|
-
* ...
|
|
468
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-owner)
|
|
469
|
-
*/
|
|
470
|
-
owner ? : Widget|any
|
|
471
463
|
/**
|
|
472
464
|
* Set to `true` when a widget is rendered into another widget's [contentElement](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-contentElement), but must
|
|
473
465
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
@@ -899,7 +891,6 @@ const widgetData = {
|
|
|
899
891
|
'namedItems',
|
|
900
892
|
'operatorLocked',
|
|
901
893
|
'operators',
|
|
902
|
-
'owner',
|
|
903
894
|
'positioned',
|
|
904
895
|
'preventTooltipOnTouch',
|
|
905
896
|
'propertyFieldConfig',
|
|
@@ -475,14 +475,6 @@ defineProps<{
|
|
|
475
475
|
* [operators](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPicker#config-operators).
|
|
476
476
|
*/
|
|
477
477
|
operators ? : object
|
|
478
|
-
/**
|
|
479
|
-
* The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
|
|
480
|
-
* [items](https://bryntum.com/products/grid/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
|
|
481
|
-
* the owner is <strong>always</strong> the encapsulating Container.
|
|
482
|
-
* ...
|
|
483
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-owner)
|
|
484
|
-
*/
|
|
485
|
-
owner ? : Widget|any
|
|
486
478
|
/**
|
|
487
479
|
* Set to `true` when a widget is rendered into another widget's [contentElement](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-contentElement), but must
|
|
488
480
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
@@ -918,7 +910,6 @@ const widgetData = {
|
|
|
918
910
|
'monitorResize',
|
|
919
911
|
'namedItems',
|
|
920
912
|
'operators',
|
|
921
|
-
'owner',
|
|
922
913
|
'positioned',
|
|
923
914
|
'preventTooltipOnTouch',
|
|
924
915
|
'relayStoreEvents',
|
|
@@ -460,14 +460,6 @@ export declare type BryntumGridFieldFilterPickerGroupProps = {
|
|
|
460
460
|
* [operators](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPicker#config-operators).
|
|
461
461
|
*/
|
|
462
462
|
operators ? : object
|
|
463
|
-
/**
|
|
464
|
-
* The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
|
|
465
|
-
* [items](https://bryntum.com/products/grid/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
|
|
466
|
-
* the owner is <strong>always</strong> the encapsulating Container.
|
|
467
|
-
* ...
|
|
468
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-owner)
|
|
469
|
-
*/
|
|
470
|
-
owner ? : Widget|any
|
|
471
463
|
/**
|
|
472
464
|
* Set to `true` when a widget is rendered into another widget's [contentElement](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-contentElement), but must
|
|
473
465
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
@@ -445,14 +445,6 @@ export declare type BryntumGridFieldFilterPickerProps = {
|
|
|
445
445
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-operators)
|
|
446
446
|
*/
|
|
447
447
|
operators ? : object
|
|
448
|
-
/**
|
|
449
|
-
* The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
|
|
450
|
-
* [items](https://bryntum.com/products/grid/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
|
|
451
|
-
* the owner is <strong>always</strong> the encapsulating Container.
|
|
452
|
-
* ...
|
|
453
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-owner)
|
|
454
|
-
*/
|
|
455
|
-
owner ? : Widget|any
|
|
456
448
|
/**
|
|
457
449
|
* Set to `true` when a widget is rendered into another widget's [contentElement](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-contentElement), but must
|
|
458
450
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
@@ -466,14 +466,6 @@ export declare type BryntumGridProps = {
|
|
|
466
466
|
* Grid monitors window resize by default.
|
|
467
467
|
*/
|
|
468
468
|
monitorResize ? : Boolean
|
|
469
|
-
/**
|
|
470
|
-
* The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
|
|
471
|
-
* [items](https://bryntum.com/products/grid/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
|
|
472
|
-
* the owner is <strong>always</strong> the encapsulating Container.
|
|
473
|
-
* ...
|
|
474
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/Grid#config-owner)
|
|
475
|
-
*/
|
|
476
|
-
owner ? : Widget|any
|
|
477
469
|
/**
|
|
478
470
|
* Specify plugins (an array of classes) in config
|
|
479
471
|
*/
|
|
@@ -553,7 +545,7 @@ export declare type BryntumGridProps = {
|
|
|
553
545
|
rootElement ? : ShadowRoot|HTMLElement
|
|
554
546
|
/**
|
|
555
547
|
* Row height in pixels. This allows the default height for rows to be controlled. Note that it may be
|
|
556
|
-
*
|
|
548
|
+
* overridden by specifying a [rowHeight](https://bryntum.com/products/grid/docs/api/Grid/data/GridRowModel#field-rowHeight) on a per record basis, or from
|
|
557
549
|
* a column [renderer](https://bryntum.com/products/grid/docs/api/Grid/column/Column#config-renderer).
|
|
558
550
|
* ...
|
|
559
551
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/Grid#config-rowHeight)
|
|
@@ -781,7 +773,7 @@ export declare type BryntumGridProps = {
|
|
|
781
773
|
cellEditFeature ? : object|Boolean|string|CellEdit|CellEditConfig
|
|
782
774
|
/**
|
|
783
775
|
* Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
|
|
784
|
-
*
|
|
776
|
+
* <kbd>Space</kbd> key when the cell is focused.
|
|
785
777
|
* ...
|
|
786
778
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/CellMenu)
|
|
787
779
|
*/
|
|
@@ -881,8 +873,8 @@ export declare type BryntumGridProps = {
|
|
|
881
873
|
filterBarFeature ? : object|Boolean|string|FilterBar|FilterBarConfig
|
|
882
874
|
/**
|
|
883
875
|
* Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
|
|
884
|
-
* <kbd>
|
|
885
|
-
* one anywhere on grid). Use <kbd>
|
|
876
|
+
* <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
|
|
877
|
+
* one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
|
|
886
878
|
* grouper.
|
|
887
879
|
* ...
|
|
888
880
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/Group)
|
|
@@ -417,14 +417,6 @@ defineProps<{
|
|
|
417
417
|
* Configure as `true` to allow multi select and allow clicking and key navigation to select multiple chips.
|
|
418
418
|
*/
|
|
419
419
|
multiSelect ? : Boolean
|
|
420
|
-
/**
|
|
421
|
-
* The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
|
|
422
|
-
* [items](https://bryntum.com/products/grid/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
|
|
423
|
-
* the owner is <strong>always</strong> the encapsulating Container.
|
|
424
|
-
* ...
|
|
425
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-owner)
|
|
426
|
-
*/
|
|
427
|
-
owner ? : Widget|any
|
|
428
420
|
/**
|
|
429
421
|
* Set to `true` when a widget is rendered into another widget's [contentElement](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-contentElement), but must
|
|
430
422
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
@@ -539,7 +531,7 @@ defineProps<{
|
|
|
539
531
|
*/
|
|
540
532
|
title ? : string
|
|
541
533
|
/**
|
|
542
|
-
* Select/deselect all if
|
|
534
|
+
* Select/deselect all if <kbd>Cmd</kbd>/<kbd>Ctrl</kbd> is pressed when clicking
|
|
543
535
|
*/
|
|
544
536
|
toggleAllIfCtrlPressed ? : Boolean
|
|
545
537
|
/**
|
|
@@ -865,7 +857,6 @@ const widgetData = {
|
|
|
865
857
|
'maskDefaults',
|
|
866
858
|
'masked',
|
|
867
859
|
'monitorResize',
|
|
868
|
-
'owner',
|
|
869
860
|
'positioned',
|
|
870
861
|
'preventTooltipOnTouch',
|
|
871
862
|
'relayStoreEvents',
|
|
@@ -402,14 +402,6 @@ export declare type BryntumGroupBarProps = {
|
|
|
402
402
|
* Configure as `true` to allow multi select and allow clicking and key navigation to select multiple chips.
|
|
403
403
|
*/
|
|
404
404
|
multiSelect ? : Boolean
|
|
405
|
-
/**
|
|
406
|
-
* The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
|
|
407
|
-
* [items](https://bryntum.com/products/grid/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
|
|
408
|
-
* the owner is <strong>always</strong> the encapsulating Container.
|
|
409
|
-
* ...
|
|
410
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-owner)
|
|
411
|
-
*/
|
|
412
|
-
owner ? : Widget|any
|
|
413
405
|
/**
|
|
414
406
|
* Set to `true` when a widget is rendered into another widget's [contentElement](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-contentElement), but must
|
|
415
407
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
@@ -524,7 +516,7 @@ export declare type BryntumGroupBarProps = {
|
|
|
524
516
|
*/
|
|
525
517
|
title ? : string
|
|
526
518
|
/**
|
|
527
|
-
* Select/deselect all if
|
|
519
|
+
* Select/deselect all if <kbd>Cmd</kbd>/<kbd>Ctrl</kbd> is pressed when clicking
|
|
528
520
|
*/
|
|
529
521
|
toggleAllIfCtrlPressed ? : Boolean
|
|
530
522
|
/**
|
|
@@ -190,7 +190,7 @@ defineProps<{
|
|
|
190
190
|
contentElementCls ? : string|object
|
|
191
191
|
/**
|
|
192
192
|
* If configured as `true`, this means that when an unmatched string is typed into the
|
|
193
|
-
* combo's input field, and
|
|
193
|
+
* combo's input field, and <kbd>Enter</kbd>, or the [multiValueSeparator](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-multiValueSeparator) is typed,
|
|
194
194
|
* a new record will be created using the typed string as the [displayField](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-displayField).
|
|
195
195
|
* ...
|
|
196
196
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/TreeCombo#config-createOnUnmatched)
|
|
@@ -616,14 +616,6 @@ defineProps<{
|
|
|
616
616
|
* to the input field so that the pointer pierces the [pickerAlignElement](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-pickerAlignElement)
|
|
617
617
|
*/
|
|
618
618
|
overlayAnchor ? : Boolean
|
|
619
|
-
/**
|
|
620
|
-
* The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
|
|
621
|
-
* [items](https://bryntum.com/products/grid/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
|
|
622
|
-
* the owner is <strong>always</strong> the encapsulating Container.
|
|
623
|
-
* ...
|
|
624
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/TreeCombo#config-owner)
|
|
625
|
-
*/
|
|
626
|
-
owner ? : Widget|any
|
|
627
619
|
/**
|
|
628
620
|
* Configuration object for the [picker](https://bryntum.com/products/grid/docs/api/Core/widget/List) on initialization. Returns the
|
|
629
621
|
* [picker](https://bryntum.com/products/grid/docs/api/Core/widget/List) instance at runtime.
|
|
@@ -685,7 +677,7 @@ defineProps<{
|
|
|
685
677
|
required ? : Boolean
|
|
686
678
|
/**
|
|
687
679
|
* If this field is not [readOnly](https://bryntum.com/products/grid/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
688
|
-
* the
|
|
680
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
689
681
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/grid/docs/api/Core/widget/Field#config-clearable)
|
|
690
682
|
* behaviour will be activated.
|
|
691
683
|
*/
|
|
@@ -1171,7 +1163,6 @@ const widgetData = {
|
|
|
1171
1163
|
'multiValueSeparator',
|
|
1172
1164
|
'name',
|
|
1173
1165
|
'overlayAnchor',
|
|
1174
|
-
'owner',
|
|
1175
1166
|
'pickerAlignElement',
|
|
1176
1167
|
'pickerWidth',
|
|
1177
1168
|
'positioned',
|
|
@@ -175,7 +175,7 @@ export declare type BryntumTreeComboProps = {
|
|
|
175
175
|
contentElementCls ? : string|object
|
|
176
176
|
/**
|
|
177
177
|
* If configured as `true`, this means that when an unmatched string is typed into the
|
|
178
|
-
* combo's input field, and
|
|
178
|
+
* combo's input field, and <kbd>Enter</kbd>, or the [multiValueSeparator](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-multiValueSeparator) is typed,
|
|
179
179
|
* a new record will be created using the typed string as the [displayField](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-displayField).
|
|
180
180
|
* ...
|
|
181
181
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/TreeCombo#config-createOnUnmatched)
|
|
@@ -601,14 +601,6 @@ export declare type BryntumTreeComboProps = {
|
|
|
601
601
|
* to the input field so that the pointer pierces the [pickerAlignElement](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-pickerAlignElement)
|
|
602
602
|
*/
|
|
603
603
|
overlayAnchor ? : Boolean
|
|
604
|
-
/**
|
|
605
|
-
* The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
|
|
606
|
-
* [items](https://bryntum.com/products/grid/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
|
|
607
|
-
* the owner is <strong>always</strong> the encapsulating Container.
|
|
608
|
-
* ...
|
|
609
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/TreeCombo#config-owner)
|
|
610
|
-
*/
|
|
611
|
-
owner ? : Widget|any
|
|
612
604
|
/**
|
|
613
605
|
* Configuration object for the [picker](https://bryntum.com/products/grid/docs/api/Core/widget/List) on initialization. Returns the
|
|
614
606
|
* [picker](https://bryntum.com/products/grid/docs/api/Core/widget/List) instance at runtime.
|
|
@@ -670,7 +662,7 @@ export declare type BryntumTreeComboProps = {
|
|
|
670
662
|
required ? : Boolean
|
|
671
663
|
/**
|
|
672
664
|
* If this field is not [readOnly](https://bryntum.com/products/grid/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
673
|
-
* the
|
|
665
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
674
666
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/grid/docs/api/Core/widget/Field#config-clearable)
|
|
675
667
|
* behaviour will be activated.
|
|
676
668
|
*/
|
|
@@ -504,14 +504,6 @@ defineProps<{
|
|
|
504
504
|
* Grid monitors window resize by default.
|
|
505
505
|
*/
|
|
506
506
|
monitorResize ? : Boolean
|
|
507
|
-
/**
|
|
508
|
-
* The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
|
|
509
|
-
* [items](https://bryntum.com/products/grid/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
|
|
510
|
-
* the owner is <strong>always</strong> the encapsulating Container.
|
|
511
|
-
* ...
|
|
512
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/TreeGrid#config-owner)
|
|
513
|
-
*/
|
|
514
|
-
owner ? : Widget|any
|
|
515
507
|
/**
|
|
516
508
|
* Specify plugins (an array of classes) in config
|
|
517
509
|
*/
|
|
@@ -591,7 +583,7 @@ defineProps<{
|
|
|
591
583
|
rootElement ? : ShadowRoot|HTMLElement
|
|
592
584
|
/**
|
|
593
585
|
* Row height in pixels. This allows the default height for rows to be controlled. Note that it may be
|
|
594
|
-
*
|
|
586
|
+
* overridden by specifying a [rowHeight](https://bryntum.com/products/grid/docs/api/Grid/data/GridRowModel#field-rowHeight) on a per record basis, or from
|
|
595
587
|
* a column [renderer](https://bryntum.com/products/grid/docs/api/Grid/column/Column#config-renderer).
|
|
596
588
|
* ...
|
|
597
589
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/TreeGrid#config-rowHeight)
|
|
@@ -819,7 +811,7 @@ defineProps<{
|
|
|
819
811
|
cellEditFeature ? : object|Boolean|string|CellEdit|CellEditConfig
|
|
820
812
|
/**
|
|
821
813
|
* Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
|
|
822
|
-
*
|
|
814
|
+
* <kbd>Space</kbd> key when the cell is focused.
|
|
823
815
|
* ...
|
|
824
816
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/CellMenu)
|
|
825
817
|
*/
|
|
@@ -919,8 +911,8 @@ defineProps<{
|
|
|
919
911
|
filterBarFeature ? : object|Boolean|string|FilterBar|FilterBarConfig
|
|
920
912
|
/**
|
|
921
913
|
* Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
|
|
922
|
-
* <kbd>
|
|
923
|
-
* one anywhere on grid). Use <kbd>
|
|
914
|
+
* <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
|
|
915
|
+
* one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
|
|
924
916
|
* grouper.
|
|
925
917
|
* ...
|
|
926
918
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/Group)
|
|
@@ -1115,7 +1107,7 @@ const emit = defineEmits<{
|
|
|
1115
1107
|
*/
|
|
1116
1108
|
(e: 'beforeCellEditStart', params: ((event: { source: Grid, editorContext: CellEditorContext }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
1117
1109
|
/**
|
|
1118
|
-
* Fires on the owning Grid before deleting a range of selected cell values by pressing
|
|
1110
|
+
* Fires on the owning Grid before deleting a range of selected cell values by pressing <kbd>Backspace</kbd> or <kbd>Delete</kbd>
|
|
1119
1111
|
* buttons while [autoEdit](https://bryntum.com/products/grid/docs/api/Grid/feature/CellEdit#config-autoEdit) is set to `true`. Return `false` to prevent editing.
|
|
1120
1112
|
* @param {string} e Event name
|
|
1121
1113
|
* @param {object} params Event parameters
|
|
@@ -2223,7 +2215,7 @@ const emit = defineEmits<{
|
|
|
2223
2215
|
* @param {Response} params.params.event.response Optional response, if received
|
|
2224
2216
|
* @param {Error} params.params.event.error Optional error, if exception occurred
|
|
2225
2217
|
*/
|
|
2226
|
-
(e: 'pdfExport', params: ((event: { response?:
|
|
2218
|
+
(e: 'pdfExport', params: ((event: { response?: Response, error?: Error }) => void)|string): void
|
|
2227
2219
|
/**
|
|
2228
2220
|
* Fired when a Widget's read only state is toggled
|
|
2229
2221
|
* @param {string} e Event name
|
|
@@ -2534,6 +2526,18 @@ const emit = defineEmits<{
|
|
|
2534
2526
|
* @param {Core.widget.Tool} params.params.event.tool The tool which is being clicked.
|
|
2535
2527
|
*/
|
|
2536
2528
|
(e: 'toolClick', params: ((event: { source: Tool, tool: Tool }) => void)|string): void
|
|
2529
|
+
/**
|
|
2530
|
+
* Fired on the owning Grid/Scheduler/Gantt after tree grouping levels change
|
|
2531
|
+
* @param {string} e Event name
|
|
2532
|
+
* @param {object} params Event parameters
|
|
2533
|
+
* @param {string} params.e Event name
|
|
2534
|
+
* @param {object} params.params Event parameters
|
|
2535
|
+
* @param {object} params.params.event Event object
|
|
2536
|
+
* @param {Grid.view.Grid} params.params.event.source The grid instance
|
|
2537
|
+
* @param {(string|Function)[]} params.params.event.groupers Array of field names or functions representing the current grouping levels
|
|
2538
|
+
* @param {(string|Function)[]} params.params.event.oldGroupers Array of field names or functions representing the previous grouping levels
|
|
2539
|
+
*/
|
|
2540
|
+
(e: 'treeGroup', params: ((event: { source: Grid, groupers: (string|Function)[], oldGroupers: (string|Function)[] }) => void)|string): void
|
|
2537
2541
|
/**
|
|
2538
2542
|
* Fires when row locking is disabled.
|
|
2539
2543
|
* @param {string} e Event name
|
|
@@ -2649,7 +2653,6 @@ const widgetData = {
|
|
|
2649
2653
|
'maskDefaults',
|
|
2650
2654
|
'masked',
|
|
2651
2655
|
'monitorResize',
|
|
2652
|
-
'owner',
|
|
2653
2656
|
'plugins',
|
|
2654
2657
|
'preserveFocusOnDatasetChange',
|
|
2655
2658
|
'preserveScrollOnDatasetChange',
|
|
@@ -2828,6 +2831,7 @@ const widgetData = {
|
|
|
2828
2831
|
'onToggleGroup',
|
|
2829
2832
|
'onToggleNode',
|
|
2830
2833
|
'onToolClick',
|
|
2834
|
+
'onTreeGroup',
|
|
2831
2835
|
'onUnlockRows',
|
|
2832
2836
|
'onUnsplit',
|
|
2833
2837
|
'preserveScroll',
|
|
@@ -2977,6 +2981,7 @@ const widgetData = {
|
|
|
2977
2981
|
'toggleGroup',
|
|
2978
2982
|
'toggleNode',
|
|
2979
2983
|
'toolClick',
|
|
2984
|
+
'treeGroup',
|
|
2980
2985
|
'unlockRows',
|
|
2981
2986
|
'unsplit'
|
|
2982
2987
|
]
|
|
@@ -466,14 +466,6 @@ export declare type BryntumTreeGridProps = {
|
|
|
466
466
|
* Grid monitors window resize by default.
|
|
467
467
|
*/
|
|
468
468
|
monitorResize ? : Boolean
|
|
469
|
-
/**
|
|
470
|
-
* The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
|
|
471
|
-
* [items](https://bryntum.com/products/grid/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
|
|
472
|
-
* the owner is <strong>always</strong> the encapsulating Container.
|
|
473
|
-
* ...
|
|
474
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/TreeGrid#config-owner)
|
|
475
|
-
*/
|
|
476
|
-
owner ? : Widget|any
|
|
477
469
|
/**
|
|
478
470
|
* Specify plugins (an array of classes) in config
|
|
479
471
|
*/
|
|
@@ -553,7 +545,7 @@ export declare type BryntumTreeGridProps = {
|
|
|
553
545
|
rootElement ? : ShadowRoot|HTMLElement
|
|
554
546
|
/**
|
|
555
547
|
* Row height in pixels. This allows the default height for rows to be controlled. Note that it may be
|
|
556
|
-
*
|
|
548
|
+
* overridden by specifying a [rowHeight](https://bryntum.com/products/grid/docs/api/Grid/data/GridRowModel#field-rowHeight) on a per record basis, or from
|
|
557
549
|
* a column [renderer](https://bryntum.com/products/grid/docs/api/Grid/column/Column#config-renderer).
|
|
558
550
|
* ...
|
|
559
551
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/TreeGrid#config-rowHeight)
|
|
@@ -781,7 +773,7 @@ export declare type BryntumTreeGridProps = {
|
|
|
781
773
|
cellEditFeature ? : object|Boolean|string|CellEdit|CellEditConfig
|
|
782
774
|
/**
|
|
783
775
|
* Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
|
|
784
|
-
*
|
|
776
|
+
* <kbd>Space</kbd> key when the cell is focused.
|
|
785
777
|
* ...
|
|
786
778
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/CellMenu)
|
|
787
779
|
*/
|
|
@@ -881,8 +873,8 @@ export declare type BryntumTreeGridProps = {
|
|
|
881
873
|
filterBarFeature ? : object|Boolean|string|FilterBar|FilterBarConfig
|
|
882
874
|
/**
|
|
883
875
|
* Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
|
|
884
|
-
* <kbd>
|
|
885
|
-
* one anywhere on grid). Use <kbd>
|
|
876
|
+
* <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
|
|
877
|
+
* one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
|
|
886
878
|
* grouper.
|
|
887
879
|
* ...
|
|
888
880
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/Group)
|