@bryntum/grid-react-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/BryntumGrid.d.ts +6 -1
- package/lib/BryntumGrid.js +1 -0
- package/lib/BryntumGrid.js.map +1 -1
- package/lib/BryntumGridBase.d.ts +6 -1
- package/lib/BryntumGridBase.js +1 -0
- package/lib/BryntumGridBase.js.map +1 -1
- package/lib/BryntumTreeGrid.d.ts +6 -1
- package/lib/BryntumTreeGrid.js +1 -0
- package/lib/BryntumTreeGrid.js.map +1 -1
- package/package.json +1 -1
- package/src/BryntumAIFilterField.tsx +1 -1
- package/src/BryntumChecklistFilterCombo.tsx +2 -2
- package/src/BryntumGrid.tsx +15 -6
- package/src/BryntumGridBase.tsx +15 -6
- package/src/BryntumGroupBar.tsx +1 -1
- package/src/BryntumTreeCombo.tsx +2 -2
- package/src/BryntumTreeGrid.tsx +15 -6
package/README.md
CHANGED
|
@@ -152,8 +152,8 @@ API packages:
|
|
|
152
152
|
```json
|
|
153
153
|
{
|
|
154
154
|
"dependencies": {
|
|
155
|
-
"@bryntum/core-thin": "7.2.
|
|
156
|
-
"@bryntum/grid-thin": "7.2.
|
|
155
|
+
"@bryntum/core-thin": "7.2.2",
|
|
156
|
+
"@bryntum/grid-thin": "7.2.2"
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
```
|
|
@@ -163,8 +163,8 @@ Framework wrapper packages:
|
|
|
163
163
|
```json
|
|
164
164
|
{
|
|
165
165
|
"dependencies": {
|
|
166
|
-
"@bryntum/core-react-thin": "7.2.
|
|
167
|
-
"@bryntum/grid-react-thin": "7.2.
|
|
166
|
+
"@bryntum/core-react-thin": "7.2.2",
|
|
167
|
+
"@bryntum/grid-react-thin": "7.2.2"
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
170
|
```
|
package/lib/BryntumGrid.d.ts
CHANGED
|
@@ -651,7 +651,7 @@ export declare type BryntumGridProps = {
|
|
|
651
651
|
entityName: string;
|
|
652
652
|
}) => void) | string;
|
|
653
653
|
onPdfExport?: ((event: {
|
|
654
|
-
response?:
|
|
654
|
+
response?: Response;
|
|
655
655
|
error?: Error;
|
|
656
656
|
}) => void) | string;
|
|
657
657
|
onReadOnly?: ((event: {
|
|
@@ -782,6 +782,11 @@ export declare type BryntumGridProps = {
|
|
|
782
782
|
source: Tool;
|
|
783
783
|
tool: Tool;
|
|
784
784
|
}) => void) | string;
|
|
785
|
+
onTreeGroup?: ((event: {
|
|
786
|
+
source: Grid;
|
|
787
|
+
groupers: (string | Function)[];
|
|
788
|
+
oldGroupers: (string | Function)[];
|
|
789
|
+
}) => void) | string;
|
|
785
790
|
onUnlockRows?: ((event: {
|
|
786
791
|
clone: GridBase;
|
|
787
792
|
}) => void) | string;
|
package/lib/BryntumGrid.js
CHANGED
package/lib/BryntumGrid.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BryntumGrid.js","sourceRoot":"","sources":["../src/BryntumGrid.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EAA0pB,IAAI,EAAo1B,MAAM,oBAAoB,CAAC;AAEphD,OAAO,EAAE,YAAY,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"BryntumGrid.js","sourceRoot":"","sources":["../src/BryntumGrid.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EAA0pB,IAAI,EAAo1B,MAAM,oBAAoB,CAAC;AAEphD,OAAO,EAAE,YAAY,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AA4gE/F,MAAM,OAAO,WAAY,SAAQ,KAAK,CAAC,SAA2B;IAAlE;;QAMI,yBAAoB,GAAG,oBAAoB,CAAC;QAS5C,yBAAoB,GAA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;IACd,YAAY;IACZ,eAAe;IACf,QAAQ;IACR,cAAc;IACd,eAAe;IACf,gBAAgB;IAChB,iBAAiB;IACjB,cAAc;IACd,OAAO;IACP,SAAS;CACZ,CAAC"}
|
package/lib/BryntumGridBase.d.ts
CHANGED
|
@@ -650,7 +650,7 @@ export declare type BryntumGridBaseProps = {
|
|
|
650
650
|
entityName: string;
|
|
651
651
|
}) => void) | string;
|
|
652
652
|
onPdfExport?: ((event: {
|
|
653
|
-
response?:
|
|
653
|
+
response?: Response;
|
|
654
654
|
error?: Error;
|
|
655
655
|
}) => void) | string;
|
|
656
656
|
onReadOnly?: ((event: {
|
|
@@ -781,6 +781,11 @@ export declare type BryntumGridBaseProps = {
|
|
|
781
781
|
source: Tool;
|
|
782
782
|
tool: Tool;
|
|
783
783
|
}) => void) | string;
|
|
784
|
+
onTreeGroup?: ((event: {
|
|
785
|
+
source: Grid;
|
|
786
|
+
groupers: (string | Function)[];
|
|
787
|
+
oldGroupers: (string | Function)[];
|
|
788
|
+
}) => void) | string;
|
|
784
789
|
onUnlockRows?: ((event: {
|
|
785
790
|
clone: GridBase;
|
|
786
791
|
}) => void) | string;
|
package/lib/BryntumGridBase.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BryntumGridBase.js","sourceRoot":"","sources":["../src/BryntumGridBase.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAgqB,QAAQ,EAA80B,MAAM,oBAAoB,CAAC;AAExhD,OAAO,EAAE,YAAY,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"BryntumGridBase.js","sourceRoot":"","sources":["../src/BryntumGridBase.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAgqB,QAAQ,EAA80B,MAAM,oBAAoB,CAAC;AAExhD,OAAO,EAAE,YAAY,E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,eAAe;IACf,MAAM;IACN,eAAe;IACf,OAAO;IACP,OAAO;IACP,OAAO;IACP,YAAY;IACZ,oBAAoB;IACpB,OAAO;CACV,CAAC;AAEK,6BAAa,GAAG;IACnB,cAAc;IACd,YAAY;IACZ,eAAe;IACf,QAAQ;IACR,cAAc;IACd,eAAe;IACf,gBAAgB;IAChB,iBAAiB;IACjB,cAAc;IACd,OAAO;IACP,SAAS;CACZ,CAAC"}
|
package/lib/BryntumTreeGrid.d.ts
CHANGED
|
@@ -651,7 +651,7 @@ export declare type BryntumTreeGridProps = {
|
|
|
651
651
|
entityName: string;
|
|
652
652
|
}) => void) | string;
|
|
653
653
|
onPdfExport?: ((event: {
|
|
654
|
-
response?:
|
|
654
|
+
response?: Response;
|
|
655
655
|
error?: Error;
|
|
656
656
|
}) => void) | string;
|
|
657
657
|
onReadOnly?: ((event: {
|
|
@@ -782,6 +782,11 @@ export declare type BryntumTreeGridProps = {
|
|
|
782
782
|
source: Tool;
|
|
783
783
|
tool: Tool;
|
|
784
784
|
}) => void) | string;
|
|
785
|
+
onTreeGroup?: ((event: {
|
|
786
|
+
source: Grid;
|
|
787
|
+
groupers: (string | Function)[];
|
|
788
|
+
oldGroupers: (string | Function)[];
|
|
789
|
+
}) => void) | string;
|
|
785
790
|
onUnlockRows?: ((event: {
|
|
786
791
|
clone: GridBase;
|
|
787
792
|
}) => void) | string;
|
package/lib/BryntumTreeGrid.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BryntumTreeGrid.js","sourceRoot":"","sources":["../src/BryntumTreeGrid.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EAA47C,QAAQ,EAA4D,MAAM,oBAAoB,CAAC;AAEliD,OAAO,EAAE,YAAY,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"BryntumTreeGrid.js","sourceRoot":"","sources":["../src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ACnB,iBAAiB;IACjB,eAAe;IACf,cAAc;IACd,aAAa;IACb,aAAa;IACb,cAAc;IACd,WAAW;IACX,gBAAgB;IAChB,UAAU;IACV,WAAW;IACX,WAAW;IACX,UAAU;IACV,KAAK;IACL,YAAY;IACZ,eAAe;IACf,MAAM;IACN,eAAe;IACf,OAAO;IACP,OAAO;IACP,OAAO;IACP,YAAY;IACZ,oBAAoB;IACpB,OAAO;CACV,CAAC;AAEK,6BAAa,GAAG;IACnB,cAAc;IACd,YAAY;IACZ,eAAe;IACf,QAAQ;IACR,cAAc;IACd,eAAe;IACf,gBAAgB;IAChB,iBAAiB;IACjB,cAAc;IACd,OAAO;IACP,SAAS;CACZ,CAAC"}
|
package/package.json
CHANGED
|
@@ -507,7 +507,7 @@ export type BryntumAIFilterFieldProps = {
|
|
|
507
507
|
required? : boolean
|
|
508
508
|
/**
|
|
509
509
|
* 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
|
|
510
|
-
* the
|
|
510
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
511
511
|
* 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)
|
|
512
512
|
* behaviour will be activated.
|
|
513
513
|
*/
|
|
@@ -182,7 +182,7 @@ export type BryntumChecklistFilterComboProps = {
|
|
|
182
182
|
contentElementCls? : string|object
|
|
183
183
|
/**
|
|
184
184
|
* If configured as `true`, this means that when an unmatched string is typed into the
|
|
185
|
-
* combo's input field, and
|
|
185
|
+
* 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,
|
|
186
186
|
* 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).
|
|
187
187
|
* ...
|
|
188
188
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-createOnUnmatched)
|
|
@@ -677,7 +677,7 @@ export type BryntumChecklistFilterComboProps = {
|
|
|
677
677
|
required? : boolean
|
|
678
678
|
/**
|
|
679
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
|
|
680
|
-
* the
|
|
680
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
681
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)
|
|
682
682
|
* behaviour will be activated.
|
|
683
683
|
*/
|
package/src/BryntumGrid.tsx
CHANGED
|
@@ -560,7 +560,7 @@ export type BryntumGridProps = {
|
|
|
560
560
|
rootElement? : ShadowRoot|HTMLElement
|
|
561
561
|
/**
|
|
562
562
|
* Row height in pixels. This allows the default height for rows to be controlled. Note that it may be
|
|
563
|
-
*
|
|
563
|
+
* overridden by specifying a [rowHeight](https://bryntum.com/products/grid/docs/api/Grid/data/GridRowModel#field-rowHeight) on a per record basis, or from
|
|
564
564
|
* a column [renderer](https://bryntum.com/products/grid/docs/api/Grid/column/Column#config-renderer).
|
|
565
565
|
* ...
|
|
566
566
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/Grid#config-rowHeight)
|
|
@@ -780,7 +780,7 @@ export type BryntumGridProps = {
|
|
|
780
780
|
*/
|
|
781
781
|
onBeforeCellEditStart? : ((event: { source: Grid, editorContext: CellEditorContext }) => Promise<boolean>|boolean|void)|string
|
|
782
782
|
/**
|
|
783
|
-
* Fires on the owning Grid before deleting a range of selected cell values by pressing
|
|
783
|
+
* Fires on the owning Grid before deleting a range of selected cell values by pressing <kbd>Backspace</kbd> or <kbd>Delete</kbd>
|
|
784
784
|
* buttons while [autoEdit](https://bryntum.com/products/grid/docs/api/Grid/feature/CellEdit#config-autoEdit) is set to `true`. Return `false` to prevent editing.
|
|
785
785
|
* @param {object} event Event object
|
|
786
786
|
* @param {Grid.view.Grid} event.source Owner grid
|
|
@@ -1544,7 +1544,7 @@ export type BryntumGridProps = {
|
|
|
1544
1544
|
* @param {Response} event.response Optional response, if received
|
|
1545
1545
|
* @param {Error} event.error Optional error, if exception occurred
|
|
1546
1546
|
*/
|
|
1547
|
-
onPdfExport? : ((event: { response?:
|
|
1547
|
+
onPdfExport? : ((event: { response?: Response, error?: Error }) => void)|string
|
|
1548
1548
|
/**
|
|
1549
1549
|
* Fired when a Widget's read only state is toggled
|
|
1550
1550
|
* @param {object} event Event object
|
|
@@ -1755,6 +1755,14 @@ export type BryntumGridProps = {
|
|
|
1755
1755
|
* @param {Core.widget.Tool} event.tool The tool which is being clicked.
|
|
1756
1756
|
*/
|
|
1757
1757
|
onToolClick? : ((event: { source: Tool, tool: Tool }) => void)|string
|
|
1758
|
+
/**
|
|
1759
|
+
* Fired on the owning Grid/Scheduler/Gantt after tree grouping levels change
|
|
1760
|
+
* @param {object} event Event object
|
|
1761
|
+
* @param {Grid.view.Grid} event.source The grid instance
|
|
1762
|
+
* @param {(string|Function)[]} event.groupers Array of field names or functions representing the current grouping levels
|
|
1763
|
+
* @param {(string|Function)[]} event.oldGroupers Array of field names or functions representing the previous grouping levels
|
|
1764
|
+
*/
|
|
1765
|
+
onTreeGroup? : ((event: { source: Grid, groupers: (string|Function)[], oldGroupers: (string|Function)[] }) => void)|string
|
|
1758
1766
|
/**
|
|
1759
1767
|
* Fires when row locking is disabled.
|
|
1760
1768
|
* @param {object} event Event object
|
|
@@ -1799,7 +1807,7 @@ export type BryntumGridProps = {
|
|
|
1799
1807
|
cellEditFeature? : object|boolean|string|CellEdit|CellEditConfig
|
|
1800
1808
|
/**
|
|
1801
1809
|
* Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
|
|
1802
|
-
*
|
|
1810
|
+
* <kbd>Space</kbd> key when the cell is focused.
|
|
1803
1811
|
* ...
|
|
1804
1812
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/CellMenu)
|
|
1805
1813
|
*/
|
|
@@ -1899,8 +1907,8 @@ export type BryntumGridProps = {
|
|
|
1899
1907
|
filterBarFeature? : object|boolean|string|FilterBar|FilterBarConfig
|
|
1900
1908
|
/**
|
|
1901
1909
|
* Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
|
|
1902
|
-
* <kbd>
|
|
1903
|
-
* one anywhere on grid). Use <kbd>
|
|
1910
|
+
* <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
|
|
1911
|
+
* one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
|
|
1904
1912
|
* grouper.
|
|
1905
1913
|
* ...
|
|
1906
1914
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/Group)
|
|
@@ -2360,6 +2368,7 @@ export class BryntumGrid extends React.Component<BryntumGridProps> {
|
|
|
2360
2368
|
'onToggleGroup',
|
|
2361
2369
|
'onToggleNode',
|
|
2362
2370
|
'onToolClick',
|
|
2371
|
+
'onTreeGroup',
|
|
2363
2372
|
'onUnlockRows',
|
|
2364
2373
|
'onUnsplit',
|
|
2365
2374
|
'preserveScroll',
|
package/src/BryntumGridBase.tsx
CHANGED
|
@@ -560,7 +560,7 @@ export type BryntumGridBaseProps = {
|
|
|
560
560
|
rootElement? : ShadowRoot|HTMLElement
|
|
561
561
|
/**
|
|
562
562
|
* Row height in pixels. This allows the default height for rows to be controlled. Note that it may be
|
|
563
|
-
*
|
|
563
|
+
* overridden by specifying a [rowHeight](https://bryntum.com/products/grid/docs/api/Grid/data/GridRowModel#field-rowHeight) on a per record basis, or from
|
|
564
564
|
* a column [renderer](https://bryntum.com/products/grid/docs/api/Grid/column/Column#config-renderer).
|
|
565
565
|
* ...
|
|
566
566
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/GridBase#config-rowHeight)
|
|
@@ -779,7 +779,7 @@ export type BryntumGridBaseProps = {
|
|
|
779
779
|
*/
|
|
780
780
|
onBeforeCellEditStart? : ((event: { source: Grid, editorContext: CellEditorContext }) => Promise<boolean>|boolean|void)|string
|
|
781
781
|
/**
|
|
782
|
-
* Fires on the owning Grid before deleting a range of selected cell values by pressing
|
|
782
|
+
* Fires on the owning Grid before deleting a range of selected cell values by pressing <kbd>Backspace</kbd> or <kbd>Delete</kbd>
|
|
783
783
|
* buttons while [autoEdit](https://bryntum.com/products/grid/docs/api/Grid/feature/CellEdit#config-autoEdit) is set to `true`. Return `false` to prevent editing.
|
|
784
784
|
* @param {object} event Event object
|
|
785
785
|
* @param {Grid.view.Grid} event.source Owner grid
|
|
@@ -1543,7 +1543,7 @@ export type BryntumGridBaseProps = {
|
|
|
1543
1543
|
* @param {Response} event.response Optional response, if received
|
|
1544
1544
|
* @param {Error} event.error Optional error, if exception occurred
|
|
1545
1545
|
*/
|
|
1546
|
-
onPdfExport? : ((event: { response?:
|
|
1546
|
+
onPdfExport? : ((event: { response?: Response, error?: Error }) => void)|string
|
|
1547
1547
|
/**
|
|
1548
1548
|
* Fired when a Widget's read only state is toggled
|
|
1549
1549
|
* @param {object} event Event object
|
|
@@ -1754,6 +1754,14 @@ export type BryntumGridBaseProps = {
|
|
|
1754
1754
|
* @param {Core.widget.Tool} event.tool The tool which is being clicked.
|
|
1755
1755
|
*/
|
|
1756
1756
|
onToolClick? : ((event: { source: Tool, tool: Tool }) => void)|string
|
|
1757
|
+
/**
|
|
1758
|
+
* Fired on the owning Grid/Scheduler/Gantt after tree grouping levels change
|
|
1759
|
+
* @param {object} event Event object
|
|
1760
|
+
* @param {Grid.view.Grid} event.source The grid instance
|
|
1761
|
+
* @param {(string|Function)[]} event.groupers Array of field names or functions representing the current grouping levels
|
|
1762
|
+
* @param {(string|Function)[]} event.oldGroupers Array of field names or functions representing the previous grouping levels
|
|
1763
|
+
*/
|
|
1764
|
+
onTreeGroup? : ((event: { source: Grid, groupers: (string|Function)[], oldGroupers: (string|Function)[] }) => void)|string
|
|
1757
1765
|
/**
|
|
1758
1766
|
* Fires when row locking is disabled.
|
|
1759
1767
|
* @param {object} event Event object
|
|
@@ -1798,7 +1806,7 @@ export type BryntumGridBaseProps = {
|
|
|
1798
1806
|
cellEditFeature? : object|boolean|string|CellEdit|CellEditConfig
|
|
1799
1807
|
/**
|
|
1800
1808
|
* Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
|
|
1801
|
-
*
|
|
1809
|
+
* <kbd>Space</kbd> key when the cell is focused.
|
|
1802
1810
|
* ...
|
|
1803
1811
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/CellMenu)
|
|
1804
1812
|
*/
|
|
@@ -1898,8 +1906,8 @@ export type BryntumGridBaseProps = {
|
|
|
1898
1906
|
filterBarFeature? : object|boolean|string|FilterBar|FilterBarConfig
|
|
1899
1907
|
/**
|
|
1900
1908
|
* Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
|
|
1901
|
-
* <kbd>
|
|
1902
|
-
* one anywhere on grid). Use <kbd>
|
|
1909
|
+
* <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
|
|
1910
|
+
* one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
|
|
1903
1911
|
* grouper.
|
|
1904
1912
|
* ...
|
|
1905
1913
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/Group)
|
|
@@ -2357,6 +2365,7 @@ export class BryntumGridBase extends React.Component<BryntumGridBaseProps> {
|
|
|
2357
2365
|
'onToggleGroup',
|
|
2358
2366
|
'onToggleNode',
|
|
2359
2367
|
'onToolClick',
|
|
2368
|
+
'onTreeGroup',
|
|
2360
2369
|
'onUnlockRows',
|
|
2361
2370
|
'onUnsplit',
|
|
2362
2371
|
'preserveScroll',
|
package/src/BryntumGroupBar.tsx
CHANGED
|
@@ -531,7 +531,7 @@ export type BryntumGroupBarProps = {
|
|
|
531
531
|
*/
|
|
532
532
|
title? : string
|
|
533
533
|
/**
|
|
534
|
-
* Select/deselect all if
|
|
534
|
+
* Select/deselect all if <kbd>Cmd</kbd>/<kbd>Ctrl</kbd> is pressed when clicking
|
|
535
535
|
*/
|
|
536
536
|
toggleAllIfCtrlPressed? : boolean
|
|
537
537
|
/**
|
package/src/BryntumTreeCombo.tsx
CHANGED
|
@@ -182,7 +182,7 @@ export type BryntumTreeComboProps = {
|
|
|
182
182
|
contentElementCls? : string|object
|
|
183
183
|
/**
|
|
184
184
|
* If configured as `true`, this means that when an unmatched string is typed into the
|
|
185
|
-
* combo's input field, and
|
|
185
|
+
* 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,
|
|
186
186
|
* 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).
|
|
187
187
|
* ...
|
|
188
188
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/TreeCombo#config-createOnUnmatched)
|
|
@@ -677,7 +677,7 @@ export type BryntumTreeComboProps = {
|
|
|
677
677
|
required? : boolean
|
|
678
678
|
/**
|
|
679
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
|
|
680
|
-
* the
|
|
680
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
681
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)
|
|
682
682
|
* behaviour will be activated.
|
|
683
683
|
*/
|
package/src/BryntumTreeGrid.tsx
CHANGED
|
@@ -560,7 +560,7 @@ export type BryntumTreeGridProps = {
|
|
|
560
560
|
rootElement? : ShadowRoot|HTMLElement
|
|
561
561
|
/**
|
|
562
562
|
* Row height in pixels. This allows the default height for rows to be controlled. Note that it may be
|
|
563
|
-
*
|
|
563
|
+
* overridden by specifying a [rowHeight](https://bryntum.com/products/grid/docs/api/Grid/data/GridRowModel#field-rowHeight) on a per record basis, or from
|
|
564
564
|
* a column [renderer](https://bryntum.com/products/grid/docs/api/Grid/column/Column#config-renderer).
|
|
565
565
|
* ...
|
|
566
566
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/TreeGrid#config-rowHeight)
|
|
@@ -780,7 +780,7 @@ export type BryntumTreeGridProps = {
|
|
|
780
780
|
*/
|
|
781
781
|
onBeforeCellEditStart? : ((event: { source: Grid, editorContext: CellEditorContext }) => Promise<boolean>|boolean|void)|string
|
|
782
782
|
/**
|
|
783
|
-
* Fires on the owning Grid before deleting a range of selected cell values by pressing
|
|
783
|
+
* Fires on the owning Grid before deleting a range of selected cell values by pressing <kbd>Backspace</kbd> or <kbd>Delete</kbd>
|
|
784
784
|
* buttons while [autoEdit](https://bryntum.com/products/grid/docs/api/Grid/feature/CellEdit#config-autoEdit) is set to `true`. Return `false` to prevent editing.
|
|
785
785
|
* @param {object} event Event object
|
|
786
786
|
* @param {Grid.view.Grid} event.source Owner grid
|
|
@@ -1544,7 +1544,7 @@ export type BryntumTreeGridProps = {
|
|
|
1544
1544
|
* @param {Response} event.response Optional response, if received
|
|
1545
1545
|
* @param {Error} event.error Optional error, if exception occurred
|
|
1546
1546
|
*/
|
|
1547
|
-
onPdfExport? : ((event: { response?:
|
|
1547
|
+
onPdfExport? : ((event: { response?: Response, error?: Error }) => void)|string
|
|
1548
1548
|
/**
|
|
1549
1549
|
* Fired when a Widget's read only state is toggled
|
|
1550
1550
|
* @param {object} event Event object
|
|
@@ -1755,6 +1755,14 @@ export type BryntumTreeGridProps = {
|
|
|
1755
1755
|
* @param {Core.widget.Tool} event.tool The tool which is being clicked.
|
|
1756
1756
|
*/
|
|
1757
1757
|
onToolClick? : ((event: { source: Tool, tool: Tool }) => void)|string
|
|
1758
|
+
/**
|
|
1759
|
+
* Fired on the owning Grid/Scheduler/Gantt after tree grouping levels change
|
|
1760
|
+
* @param {object} event Event object
|
|
1761
|
+
* @param {Grid.view.Grid} event.source The grid instance
|
|
1762
|
+
* @param {(string|Function)[]} event.groupers Array of field names or functions representing the current grouping levels
|
|
1763
|
+
* @param {(string|Function)[]} event.oldGroupers Array of field names or functions representing the previous grouping levels
|
|
1764
|
+
*/
|
|
1765
|
+
onTreeGroup? : ((event: { source: Grid, groupers: (string|Function)[], oldGroupers: (string|Function)[] }) => void)|string
|
|
1758
1766
|
/**
|
|
1759
1767
|
* Fires when row locking is disabled.
|
|
1760
1768
|
* @param {object} event Event object
|
|
@@ -1799,7 +1807,7 @@ export type BryntumTreeGridProps = {
|
|
|
1799
1807
|
cellEditFeature? : object|boolean|string|CellEdit|CellEditConfig
|
|
1800
1808
|
/**
|
|
1801
1809
|
* Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
|
|
1802
|
-
*
|
|
1810
|
+
* <kbd>Space</kbd> key when the cell is focused.
|
|
1803
1811
|
* ...
|
|
1804
1812
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/CellMenu)
|
|
1805
1813
|
*/
|
|
@@ -1899,8 +1907,8 @@ export type BryntumTreeGridProps = {
|
|
|
1899
1907
|
filterBarFeature? : object|boolean|string|FilterBar|FilterBarConfig
|
|
1900
1908
|
/**
|
|
1901
1909
|
* Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
|
|
1902
|
-
* <kbd>
|
|
1903
|
-
* one anywhere on grid). Use <kbd>
|
|
1910
|
+
* <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
|
|
1911
|
+
* one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
|
|
1904
1912
|
* grouper.
|
|
1905
1913
|
* ...
|
|
1906
1914
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/Group)
|
|
@@ -2359,6 +2367,7 @@ export class BryntumTreeGrid extends React.Component<BryntumTreeGridProps> {
|
|
|
2359
2367
|
'onToggleGroup',
|
|
2360
2368
|
'onToggleNode',
|
|
2361
2369
|
'onToolClick',
|
|
2370
|
+
'onTreeGroup',
|
|
2362
2371
|
'onUnlockRows',
|
|
2363
2372
|
'onUnsplit',
|
|
2364
2373
|
'preserveScroll',
|