@bryntum/grid-vue-3-thin 7.2.0 → 7.2.2
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/BiSBQkoK.js.map +1 -1
- package/lib/chunks/CBFPsO1m.js.map +1 -1
- package/lib/chunks/{1N5MmU6T.js → CRTOWTsN.js} +6 -4
- package/lib/chunks/CRTOWTsN.js.map +1 -0
- package/lib/chunks/CalpnIlY.js.map +1 -1
- package/lib/chunks/Dod-SqEN.js.map +1 -1
- package/lib/chunks/{B02B9_9A.js → tLWDyNcM.js} +6 -4
- package/lib/chunks/tLWDyNcM.js.map +1 -0
- package/lib/chunks/{Dos88vME.js → tjeY08VP.js} +9 -7
- package/lib/chunks/tjeY08VP.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/index.js +3 -3
- package/package.json +1 -1
- package/src/components/BryntumAIFilterField.vue +1 -1
- package/src/components/BryntumAIFilterFieldProps.ts +1 -1
- package/src/components/BryntumChecklistFilterCombo.vue +2 -2
- package/src/components/BryntumChecklistFilterComboProps.ts +2 -2
- package/src/components/BryntumGrid.vue +20 -6
- package/src/components/BryntumGridBase.vue +20 -6
- package/src/components/BryntumGridBaseProps.ts +4 -4
- package/src/components/BryntumGridProps.ts +4 -4
- package/src/components/BryntumGroupBar.vue +1 -1
- package/src/components/BryntumGroupBarProps.ts +1 -1
- package/src/components/BryntumTreeCombo.vue +2 -2
- package/src/components/BryntumTreeComboProps.ts +2 -2
- package/src/components/BryntumTreeGrid.vue +20 -6
- package/src/components/BryntumTreeGridProps.ts +4 -4
- package/lib/chunks/1N5MmU6T.js.map +0 -1
- package/lib/chunks/B02B9_9A.js.map +0 -1
- package/lib/chunks/Dos88vME.js.map +0 -1
|
@@ -591,7 +591,7 @@ defineProps<{
|
|
|
591
591
|
rootElement ? : ShadowRoot|HTMLElement
|
|
592
592
|
/**
|
|
593
593
|
* Row height in pixels. This allows the default height for rows to be controlled. Note that it may be
|
|
594
|
-
*
|
|
594
|
+
* 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
595
|
* a column [renderer](https://bryntum.com/products/grid/docs/api/Grid/column/Column#config-renderer).
|
|
596
596
|
* ...
|
|
597
597
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/Grid#config-rowHeight)
|
|
@@ -819,7 +819,7 @@ defineProps<{
|
|
|
819
819
|
cellEditFeature ? : object|Boolean|string|CellEdit|CellEditConfig
|
|
820
820
|
/**
|
|
821
821
|
* Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
|
|
822
|
-
*
|
|
822
|
+
* <kbd>Space</kbd> key when the cell is focused.
|
|
823
823
|
* ...
|
|
824
824
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/CellMenu)
|
|
825
825
|
*/
|
|
@@ -919,8 +919,8 @@ defineProps<{
|
|
|
919
919
|
filterBarFeature ? : object|Boolean|string|FilterBar|FilterBarConfig
|
|
920
920
|
/**
|
|
921
921
|
* 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>
|
|
922
|
+
* <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
|
|
923
|
+
* one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
|
|
924
924
|
* grouper.
|
|
925
925
|
* ...
|
|
926
926
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/Group)
|
|
@@ -1115,7 +1115,7 @@ const emit = defineEmits<{
|
|
|
1115
1115
|
*/
|
|
1116
1116
|
(e: 'beforeCellEditStart', params: ((event: { source: Grid, editorContext: CellEditorContext }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
1117
1117
|
/**
|
|
1118
|
-
* Fires on the owning Grid before deleting a range of selected cell values by pressing
|
|
1118
|
+
* Fires on the owning Grid before deleting a range of selected cell values by pressing <kbd>Backspace</kbd> or <kbd>Delete</kbd>
|
|
1119
1119
|
* 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
1120
|
* @param {string} e Event name
|
|
1121
1121
|
* @param {object} params Event parameters
|
|
@@ -2223,7 +2223,7 @@ const emit = defineEmits<{
|
|
|
2223
2223
|
* @param {Response} params.params.event.response Optional response, if received
|
|
2224
2224
|
* @param {Error} params.params.event.error Optional error, if exception occurred
|
|
2225
2225
|
*/
|
|
2226
|
-
(e: 'pdfExport', params: ((event: { response?:
|
|
2226
|
+
(e: 'pdfExport', params: ((event: { response?: Response, error?: Error }) => void)|string): void
|
|
2227
2227
|
/**
|
|
2228
2228
|
* Fired when a Widget's read only state is toggled
|
|
2229
2229
|
* @param {string} e Event name
|
|
@@ -2534,6 +2534,18 @@ const emit = defineEmits<{
|
|
|
2534
2534
|
* @param {Core.widget.Tool} params.params.event.tool The tool which is being clicked.
|
|
2535
2535
|
*/
|
|
2536
2536
|
(e: 'toolClick', params: ((event: { source: Tool, tool: Tool }) => void)|string): void
|
|
2537
|
+
/**
|
|
2538
|
+
* Fired on the owning Grid/Scheduler/Gantt after tree grouping levels change
|
|
2539
|
+
* @param {string} e Event name
|
|
2540
|
+
* @param {object} params Event parameters
|
|
2541
|
+
* @param {string} params.e Event name
|
|
2542
|
+
* @param {object} params.params Event parameters
|
|
2543
|
+
* @param {object} params.params.event Event object
|
|
2544
|
+
* @param {Grid.view.Grid} params.params.event.source The grid instance
|
|
2545
|
+
* @param {(string|Function)[]} params.params.event.groupers Array of field names or functions representing the current grouping levels
|
|
2546
|
+
* @param {(string|Function)[]} params.params.event.oldGroupers Array of field names or functions representing the previous grouping levels
|
|
2547
|
+
*/
|
|
2548
|
+
(e: 'treeGroup', params: ((event: { source: Grid, groupers: (string|Function)[], oldGroupers: (string|Function)[] }) => void)|string): void
|
|
2537
2549
|
/**
|
|
2538
2550
|
* Fires when row locking is disabled.
|
|
2539
2551
|
* @param {string} e Event name
|
|
@@ -2829,6 +2841,7 @@ const widgetData = {
|
|
|
2829
2841
|
'onToggleGroup',
|
|
2830
2842
|
'onToggleNode',
|
|
2831
2843
|
'onToolClick',
|
|
2844
|
+
'onTreeGroup',
|
|
2832
2845
|
'onUnlockRows',
|
|
2833
2846
|
'onUnsplit',
|
|
2834
2847
|
'preserveScroll',
|
|
@@ -2978,6 +2991,7 @@ const widgetData = {
|
|
|
2978
2991
|
'toggleGroup',
|
|
2979
2992
|
'toggleNode',
|
|
2980
2993
|
'toolClick',
|
|
2994
|
+
'treeGroup',
|
|
2981
2995
|
'unlockRows',
|
|
2982
2996
|
'unsplit'
|
|
2983
2997
|
]
|
|
@@ -591,7 +591,7 @@ defineProps<{
|
|
|
591
591
|
rootElement ? : ShadowRoot|HTMLElement
|
|
592
592
|
/**
|
|
593
593
|
* Row height in pixels. This allows the default height for rows to be controlled. Note that it may be
|
|
594
|
-
*
|
|
594
|
+
* 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
595
|
* a column [renderer](https://bryntum.com/products/grid/docs/api/Grid/column/Column#config-renderer).
|
|
596
596
|
* ...
|
|
597
597
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/GridBase#config-rowHeight)
|
|
@@ -818,7 +818,7 @@ defineProps<{
|
|
|
818
818
|
cellEditFeature ? : object|Boolean|string|CellEdit|CellEditConfig
|
|
819
819
|
/**
|
|
820
820
|
* Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
|
|
821
|
-
*
|
|
821
|
+
* <kbd>Space</kbd> key when the cell is focused.
|
|
822
822
|
* ...
|
|
823
823
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/CellMenu)
|
|
824
824
|
*/
|
|
@@ -918,8 +918,8 @@ defineProps<{
|
|
|
918
918
|
filterBarFeature ? : object|Boolean|string|FilterBar|FilterBarConfig
|
|
919
919
|
/**
|
|
920
920
|
* 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>
|
|
921
|
+
* <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
|
|
922
|
+
* one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
|
|
923
923
|
* grouper.
|
|
924
924
|
* ...
|
|
925
925
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/Group)
|
|
@@ -1114,7 +1114,7 @@ const emit = defineEmits<{
|
|
|
1114
1114
|
*/
|
|
1115
1115
|
(e: 'beforeCellEditStart', params: ((event: { source: Grid, editorContext: CellEditorContext }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
1116
1116
|
/**
|
|
1117
|
-
* Fires on the owning Grid before deleting a range of selected cell values by pressing
|
|
1117
|
+
* Fires on the owning Grid before deleting a range of selected cell values by pressing <kbd>Backspace</kbd> or <kbd>Delete</kbd>
|
|
1118
1118
|
* 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
1119
|
* @param {string} e Event name
|
|
1120
1120
|
* @param {object} params Event parameters
|
|
@@ -2222,7 +2222,7 @@ const emit = defineEmits<{
|
|
|
2222
2222
|
* @param {Response} params.params.event.response Optional response, if received
|
|
2223
2223
|
* @param {Error} params.params.event.error Optional error, if exception occurred
|
|
2224
2224
|
*/
|
|
2225
|
-
(e: 'pdfExport', params: ((event: { response?:
|
|
2225
|
+
(e: 'pdfExport', params: ((event: { response?: Response, error?: Error }) => void)|string): void
|
|
2226
2226
|
/**
|
|
2227
2227
|
* Fired when a Widget's read only state is toggled
|
|
2228
2228
|
* @param {string} e Event name
|
|
@@ -2533,6 +2533,18 @@ const emit = defineEmits<{
|
|
|
2533
2533
|
* @param {Core.widget.Tool} params.params.event.tool The tool which is being clicked.
|
|
2534
2534
|
*/
|
|
2535
2535
|
(e: 'toolClick', params: ((event: { source: Tool, tool: Tool }) => void)|string): void
|
|
2536
|
+
/**
|
|
2537
|
+
* Fired on the owning Grid/Scheduler/Gantt after tree grouping levels change
|
|
2538
|
+
* @param {string} e Event name
|
|
2539
|
+
* @param {object} params Event parameters
|
|
2540
|
+
* @param {string} params.e Event name
|
|
2541
|
+
* @param {object} params.params Event parameters
|
|
2542
|
+
* @param {object} params.params.event Event object
|
|
2543
|
+
* @param {Grid.view.Grid} params.params.event.source The grid instance
|
|
2544
|
+
* @param {(string|Function)[]} params.params.event.groupers Array of field names or functions representing the current grouping levels
|
|
2545
|
+
* @param {(string|Function)[]} params.params.event.oldGroupers Array of field names or functions representing the previous grouping levels
|
|
2546
|
+
*/
|
|
2547
|
+
(e: 'treeGroup', params: ((event: { source: Grid, groupers: (string|Function)[], oldGroupers: (string|Function)[] }) => void)|string): void
|
|
2536
2548
|
/**
|
|
2537
2549
|
* Fires when row locking is disabled.
|
|
2538
2550
|
* @param {string} e Event name
|
|
@@ -2826,6 +2838,7 @@ const widgetData = {
|
|
|
2826
2838
|
'onToggleGroup',
|
|
2827
2839
|
'onToggleNode',
|
|
2828
2840
|
'onToolClick',
|
|
2841
|
+
'onTreeGroup',
|
|
2829
2842
|
'onUnlockRows',
|
|
2830
2843
|
'onUnsplit',
|
|
2831
2844
|
'preserveScroll',
|
|
@@ -2975,6 +2988,7 @@ const widgetData = {
|
|
|
2975
2988
|
'toggleGroup',
|
|
2976
2989
|
'toggleNode',
|
|
2977
2990
|
'toolClick',
|
|
2991
|
+
'treeGroup',
|
|
2978
2992
|
'unlockRows',
|
|
2979
2993
|
'unsplit'
|
|
2980
2994
|
]
|
|
@@ -553,7 +553,7 @@ export declare type BryntumGridBaseProps = {
|
|
|
553
553
|
rootElement ? : ShadowRoot|HTMLElement
|
|
554
554
|
/**
|
|
555
555
|
* Row height in pixels. This allows the default height for rows to be controlled. Note that it may be
|
|
556
|
-
*
|
|
556
|
+
* 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
557
|
* a column [renderer](https://bryntum.com/products/grid/docs/api/Grid/column/Column#config-renderer).
|
|
558
558
|
* ...
|
|
559
559
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/GridBase#config-rowHeight)
|
|
@@ -780,7 +780,7 @@ export declare type BryntumGridBaseProps = {
|
|
|
780
780
|
cellEditFeature ? : object|Boolean|string|CellEdit|CellEditConfig
|
|
781
781
|
/**
|
|
782
782
|
* Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
|
|
783
|
-
*
|
|
783
|
+
* <kbd>Space</kbd> key when the cell is focused.
|
|
784
784
|
* ...
|
|
785
785
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/CellMenu)
|
|
786
786
|
*/
|
|
@@ -880,8 +880,8 @@ export declare type BryntumGridBaseProps = {
|
|
|
880
880
|
filterBarFeature ? : object|Boolean|string|FilterBar|FilterBarConfig
|
|
881
881
|
/**
|
|
882
882
|
* 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>
|
|
883
|
+
* <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
|
|
884
|
+
* one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
|
|
885
885
|
* grouper.
|
|
886
886
|
* ...
|
|
887
887
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/Group)
|
|
@@ -553,7 +553,7 @@ export declare type BryntumGridProps = {
|
|
|
553
553
|
rootElement ? : ShadowRoot|HTMLElement
|
|
554
554
|
/**
|
|
555
555
|
* Row height in pixels. This allows the default height for rows to be controlled. Note that it may be
|
|
556
|
-
*
|
|
556
|
+
* 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
557
|
* a column [renderer](https://bryntum.com/products/grid/docs/api/Grid/column/Column#config-renderer).
|
|
558
558
|
* ...
|
|
559
559
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/Grid#config-rowHeight)
|
|
@@ -781,7 +781,7 @@ export declare type BryntumGridProps = {
|
|
|
781
781
|
cellEditFeature ? : object|Boolean|string|CellEdit|CellEditConfig
|
|
782
782
|
/**
|
|
783
783
|
* Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
|
|
784
|
-
*
|
|
784
|
+
* <kbd>Space</kbd> key when the cell is focused.
|
|
785
785
|
* ...
|
|
786
786
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/CellMenu)
|
|
787
787
|
*/
|
|
@@ -881,8 +881,8 @@ export declare type BryntumGridProps = {
|
|
|
881
881
|
filterBarFeature ? : object|Boolean|string|FilterBar|FilterBarConfig
|
|
882
882
|
/**
|
|
883
883
|
* 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>
|
|
884
|
+
* <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
|
|
885
|
+
* one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
|
|
886
886
|
* grouper.
|
|
887
887
|
* ...
|
|
888
888
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/Group)
|
|
@@ -539,7 +539,7 @@ defineProps<{
|
|
|
539
539
|
*/
|
|
540
540
|
title ? : string
|
|
541
541
|
/**
|
|
542
|
-
* Select/deselect all if
|
|
542
|
+
* Select/deselect all if <kbd>Cmd</kbd>/<kbd>Ctrl</kbd> is pressed when clicking
|
|
543
543
|
*/
|
|
544
544
|
toggleAllIfCtrlPressed ? : Boolean
|
|
545
545
|
/**
|
|
@@ -524,7 +524,7 @@ export declare type BryntumGroupBarProps = {
|
|
|
524
524
|
*/
|
|
525
525
|
title ? : string
|
|
526
526
|
/**
|
|
527
|
-
* Select/deselect all if
|
|
527
|
+
* Select/deselect all if <kbd>Cmd</kbd>/<kbd>Ctrl</kbd> is pressed when clicking
|
|
528
528
|
*/
|
|
529
529
|
toggleAllIfCtrlPressed ? : Boolean
|
|
530
530
|
/**
|
|
@@ -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)
|
|
@@ -685,7 +685,7 @@ defineProps<{
|
|
|
685
685
|
required ? : Boolean
|
|
686
686
|
/**
|
|
687
687
|
* 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
|
|
688
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
689
689
|
* 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
690
|
* behaviour will be activated.
|
|
691
691
|
*/
|
|
@@ -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)
|
|
@@ -670,7 +670,7 @@ export declare type BryntumTreeComboProps = {
|
|
|
670
670
|
required ? : Boolean
|
|
671
671
|
/**
|
|
672
672
|
* 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
|
|
673
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
674
674
|
* 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
675
|
* behaviour will be activated.
|
|
676
676
|
*/
|
|
@@ -591,7 +591,7 @@ defineProps<{
|
|
|
591
591
|
rootElement ? : ShadowRoot|HTMLElement
|
|
592
592
|
/**
|
|
593
593
|
* Row height in pixels. This allows the default height for rows to be controlled. Note that it may be
|
|
594
|
-
*
|
|
594
|
+
* 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
595
|
* a column [renderer](https://bryntum.com/products/grid/docs/api/Grid/column/Column#config-renderer).
|
|
596
596
|
* ...
|
|
597
597
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/TreeGrid#config-rowHeight)
|
|
@@ -819,7 +819,7 @@ defineProps<{
|
|
|
819
819
|
cellEditFeature ? : object|Boolean|string|CellEdit|CellEditConfig
|
|
820
820
|
/**
|
|
821
821
|
* Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
|
|
822
|
-
*
|
|
822
|
+
* <kbd>Space</kbd> key when the cell is focused.
|
|
823
823
|
* ...
|
|
824
824
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/CellMenu)
|
|
825
825
|
*/
|
|
@@ -919,8 +919,8 @@ defineProps<{
|
|
|
919
919
|
filterBarFeature ? : object|Boolean|string|FilterBar|FilterBarConfig
|
|
920
920
|
/**
|
|
921
921
|
* 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>
|
|
922
|
+
* <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
|
|
923
|
+
* one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
|
|
924
924
|
* grouper.
|
|
925
925
|
* ...
|
|
926
926
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/Group)
|
|
@@ -1115,7 +1115,7 @@ const emit = defineEmits<{
|
|
|
1115
1115
|
*/
|
|
1116
1116
|
(e: 'beforeCellEditStart', params: ((event: { source: Grid, editorContext: CellEditorContext }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
1117
1117
|
/**
|
|
1118
|
-
* Fires on the owning Grid before deleting a range of selected cell values by pressing
|
|
1118
|
+
* Fires on the owning Grid before deleting a range of selected cell values by pressing <kbd>Backspace</kbd> or <kbd>Delete</kbd>
|
|
1119
1119
|
* 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
1120
|
* @param {string} e Event name
|
|
1121
1121
|
* @param {object} params Event parameters
|
|
@@ -2223,7 +2223,7 @@ const emit = defineEmits<{
|
|
|
2223
2223
|
* @param {Response} params.params.event.response Optional response, if received
|
|
2224
2224
|
* @param {Error} params.params.event.error Optional error, if exception occurred
|
|
2225
2225
|
*/
|
|
2226
|
-
(e: 'pdfExport', params: ((event: { response?:
|
|
2226
|
+
(e: 'pdfExport', params: ((event: { response?: Response, error?: Error }) => void)|string): void
|
|
2227
2227
|
/**
|
|
2228
2228
|
* Fired when a Widget's read only state is toggled
|
|
2229
2229
|
* @param {string} e Event name
|
|
@@ -2534,6 +2534,18 @@ const emit = defineEmits<{
|
|
|
2534
2534
|
* @param {Core.widget.Tool} params.params.event.tool The tool which is being clicked.
|
|
2535
2535
|
*/
|
|
2536
2536
|
(e: 'toolClick', params: ((event: { source: Tool, tool: Tool }) => void)|string): void
|
|
2537
|
+
/**
|
|
2538
|
+
* Fired on the owning Grid/Scheduler/Gantt after tree grouping levels change
|
|
2539
|
+
* @param {string} e Event name
|
|
2540
|
+
* @param {object} params Event parameters
|
|
2541
|
+
* @param {string} params.e Event name
|
|
2542
|
+
* @param {object} params.params Event parameters
|
|
2543
|
+
* @param {object} params.params.event Event object
|
|
2544
|
+
* @param {Grid.view.Grid} params.params.event.source The grid instance
|
|
2545
|
+
* @param {(string|Function)[]} params.params.event.groupers Array of field names or functions representing the current grouping levels
|
|
2546
|
+
* @param {(string|Function)[]} params.params.event.oldGroupers Array of field names or functions representing the previous grouping levels
|
|
2547
|
+
*/
|
|
2548
|
+
(e: 'treeGroup', params: ((event: { source: Grid, groupers: (string|Function)[], oldGroupers: (string|Function)[] }) => void)|string): void
|
|
2537
2549
|
/**
|
|
2538
2550
|
* Fires when row locking is disabled.
|
|
2539
2551
|
* @param {string} e Event name
|
|
@@ -2828,6 +2840,7 @@ const widgetData = {
|
|
|
2828
2840
|
'onToggleGroup',
|
|
2829
2841
|
'onToggleNode',
|
|
2830
2842
|
'onToolClick',
|
|
2843
|
+
'onTreeGroup',
|
|
2831
2844
|
'onUnlockRows',
|
|
2832
2845
|
'onUnsplit',
|
|
2833
2846
|
'preserveScroll',
|
|
@@ -2977,6 +2990,7 @@ const widgetData = {
|
|
|
2977
2990
|
'toggleGroup',
|
|
2978
2991
|
'toggleNode',
|
|
2979
2992
|
'toolClick',
|
|
2993
|
+
'treeGroup',
|
|
2980
2994
|
'unlockRows',
|
|
2981
2995
|
'unsplit'
|
|
2982
2996
|
]
|
|
@@ -553,7 +553,7 @@ export declare type BryntumTreeGridProps = {
|
|
|
553
553
|
rootElement ? : ShadowRoot|HTMLElement
|
|
554
554
|
/**
|
|
555
555
|
* Row height in pixels. This allows the default height for rows to be controlled. Note that it may be
|
|
556
|
-
*
|
|
556
|
+
* 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
557
|
* a column [renderer](https://bryntum.com/products/grid/docs/api/Grid/column/Column#config-renderer).
|
|
558
558
|
* ...
|
|
559
559
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/TreeGrid#config-rowHeight)
|
|
@@ -781,7 +781,7 @@ export declare type BryntumTreeGridProps = {
|
|
|
781
781
|
cellEditFeature ? : object|Boolean|string|CellEdit|CellEditConfig
|
|
782
782
|
/**
|
|
783
783
|
* Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
|
|
784
|
-
*
|
|
784
|
+
* <kbd>Space</kbd> key when the cell is focused.
|
|
785
785
|
* ...
|
|
786
786
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/CellMenu)
|
|
787
787
|
*/
|
|
@@ -881,8 +881,8 @@ export declare type BryntumTreeGridProps = {
|
|
|
881
881
|
filterBarFeature ? : object|Boolean|string|FilterBar|FilterBarConfig
|
|
882
882
|
/**
|
|
883
883
|
* 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>
|
|
884
|
+
* <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
|
|
885
|
+
* one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
|
|
886
886
|
* grouper.
|
|
887
887
|
* ...
|
|
888
888
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/Group)
|