@bryntum/grid-angular-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/bundles/bryntum-grid-angular-thin.umd.js +46 -53
- package/bundles/bryntum-grid-angular-thin.umd.js.map +1 -1
- package/esm2015/lib/bryntum-a-i-filter-field.component.js +2 -6
- package/esm2015/lib/bryntum-checklist-filter-combo.component.js +2 -6
- package/esm2015/lib/bryntum-grid-base.component.js +14 -7
- package/esm2015/lib/bryntum-grid-chart-designer.component.js +2 -6
- package/esm2015/lib/bryntum-grid-field-filter-picker-group.component.js +2 -6
- package/esm2015/lib/bryntum-grid-field-filter-picker.component.js +2 -6
- package/esm2015/lib/bryntum-grid.component.js +14 -7
- package/esm2015/lib/bryntum-group-bar.component.js +2 -6
- package/esm2015/lib/bryntum-tree-combo.component.js +2 -6
- package/esm2015/lib/bryntum-tree-grid.component.js +14 -7
- package/fesm2015/bryntum-grid-angular-thin.js +46 -53
- package/fesm2015/bryntum-grid-angular-thin.js.map +1 -1
- package/lib/bryntum-a-i-filter-field.component.d.ts +2 -11
- package/lib/bryntum-checklist-filter-combo.component.d.ts +3 -12
- package/lib/bryntum-grid-base.component.d.ts +14 -15
- package/lib/bryntum-grid-chart-designer.component.d.ts +1 -10
- package/lib/bryntum-grid-field-filter-picker-group.component.d.ts +1 -10
- package/lib/bryntum-grid-field-filter-picker.component.d.ts +1 -10
- package/lib/bryntum-grid.component.d.ts +14 -15
- package/lib/bryntum-group-bar.component.d.ts +2 -11
- package/lib/bryntum-tree-combo.component.d.ts +3 -12
- package/lib/bryntum-tree-grid.component.d.ts +14 -15
- package/package.json +1 -1
- package/src/lib/bryntum-a-i-filter-field.component.ts +1 -12
- package/src/lib/bryntum-checklist-filter-combo.component.ts +2 -13
- package/src/lib/bryntum-grid-base.component.ts +15 -17
- package/src/lib/bryntum-grid-chart-designer.component.ts +0 -11
- package/src/lib/bryntum-grid-field-filter-picker-group.component.ts +0 -11
- package/src/lib/bryntum-grid-field-filter-picker.component.ts +0 -11
- package/src/lib/bryntum-grid.component.ts +15 -17
- package/src/lib/bryntum-group-bar.component.ts +1 -12
- package/src/lib/bryntum-tree-combo.component.ts +2 -13
- package/src/lib/bryntum-tree-grid.component.ts +15 -17
|
@@ -477,14 +477,6 @@ export type BryntumGridBaseProps = {
|
|
|
477
477
|
* Grid monitors window resize by default.
|
|
478
478
|
*/
|
|
479
479
|
monitorResize ? : boolean
|
|
480
|
-
/**
|
|
481
|
-
* The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
|
|
482
|
-
* [items](https://bryntum.com/products/grid/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
|
|
483
|
-
* the owner is <strong>always</strong> the encapsulating Container.
|
|
484
|
-
* ...
|
|
485
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/GridBase#config-owner)
|
|
486
|
-
*/
|
|
487
|
-
owner ? : Widget|any
|
|
488
480
|
/**
|
|
489
481
|
* Specify plugins (an array of classes) in config
|
|
490
482
|
*/
|
|
@@ -564,7 +556,7 @@ export type BryntumGridBaseProps = {
|
|
|
564
556
|
rootElement ? : ShadowRoot|HTMLElement
|
|
565
557
|
/**
|
|
566
558
|
* Row height in pixels. This allows the default height for rows to be controlled. Note that it may be
|
|
567
|
-
*
|
|
559
|
+
* overridden by specifying a [rowHeight](https://bryntum.com/products/grid/docs/api/Grid/data/GridRowModel#field-rowHeight) on a per record basis, or from
|
|
568
560
|
* a column [renderer](https://bryntum.com/products/grid/docs/api/Grid/column/Column#config-renderer).
|
|
569
561
|
* ...
|
|
570
562
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/GridBase#config-rowHeight)
|
|
@@ -791,7 +783,7 @@ export type BryntumGridBaseProps = {
|
|
|
791
783
|
cellEditFeature ? : object|boolean|string|CellEdit|CellEditConfig
|
|
792
784
|
/**
|
|
793
785
|
* Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
|
|
794
|
-
*
|
|
786
|
+
* <kbd>Space</kbd> key when the cell is focused.
|
|
795
787
|
* ...
|
|
796
788
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/CellMenu)
|
|
797
789
|
*/
|
|
@@ -891,8 +883,8 @@ export type BryntumGridBaseProps = {
|
|
|
891
883
|
filterBarFeature ? : object|boolean|string|FilterBar|FilterBarConfig
|
|
892
884
|
/**
|
|
893
885
|
* Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
|
|
894
|
-
* <kbd>
|
|
895
|
-
* one anywhere on grid). Use <kbd>
|
|
886
|
+
* <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
|
|
887
|
+
* one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
|
|
896
888
|
* grouper.
|
|
897
889
|
* ...
|
|
898
890
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/Group)
|
|
@@ -1177,6 +1169,7 @@ export class BryntumGridBaseComponent implements OnInit, OnDestroy {
|
|
|
1177
1169
|
'onToggleGroup',
|
|
1178
1170
|
'onToggleNode',
|
|
1179
1171
|
'onToolClick',
|
|
1172
|
+
'onTreeGroup',
|
|
1180
1173
|
'onUnlockRows',
|
|
1181
1174
|
'onUnsplit'
|
|
1182
1175
|
];
|
|
@@ -1305,7 +1298,6 @@ export class BryntumGridBaseComponent implements OnInit, OnDestroy {
|
|
|
1305
1298
|
'minHeight',
|
|
1306
1299
|
'minWidth',
|
|
1307
1300
|
'monitorResize',
|
|
1308
|
-
'owner',
|
|
1309
1301
|
'plugins',
|
|
1310
1302
|
'preserveFocusOnDatasetChange',
|
|
1311
1303
|
'preserveScroll',
|
|
@@ -1395,7 +1387,6 @@ export class BryntumGridBaseComponent implements OnInit, OnDestroy {
|
|
|
1395
1387
|
'maskDefaults',
|
|
1396
1388
|
'masked',
|
|
1397
1389
|
'monitorResize',
|
|
1398
|
-
'owner',
|
|
1399
1390
|
'plugins',
|
|
1400
1391
|
'preserveFocusOnDatasetChange',
|
|
1401
1392
|
'preserveScrollOnDatasetChange',
|
|
@@ -1553,7 +1544,6 @@ export class BryntumGridBaseComponent implements OnInit, OnDestroy {
|
|
|
1553
1544
|
@Input() maskDefaults ! : MaskConfig;
|
|
1554
1545
|
@Input() masked ! : boolean|string|MaskConfig;
|
|
1555
1546
|
@Input() monitorResize ! : boolean;
|
|
1556
|
-
@Input() owner ! : Widget|any;
|
|
1557
1547
|
@Input() plugins ! : Function[];
|
|
1558
1548
|
@Input() preserveFocusOnDatasetChange ! : boolean;
|
|
1559
1549
|
@Input() preserveScrollOnDatasetChange ! : boolean;
|
|
@@ -1738,7 +1728,7 @@ export class BryntumGridBaseComponent implements OnInit, OnDestroy {
|
|
|
1738
1728
|
*/
|
|
1739
1729
|
@Output() onBeforeCellEditStart: any = new EventEmitter<((event: { source: Grid, editorContext: CellEditorContext }) => Promise<boolean>|boolean|void)|string>();
|
|
1740
1730
|
/**
|
|
1741
|
-
* Fires on the owning Grid before deleting a range of selected cell values by pressing
|
|
1731
|
+
* Fires on the owning Grid before deleting a range of selected cell values by pressing <kbd>Backspace</kbd> or <kbd>Delete</kbd>
|
|
1742
1732
|
* buttons while [autoEdit](https://bryntum.com/products/grid/docs/api/Grid/feature/CellEdit#config-autoEdit) is set to `true`. Return `false` to prevent editing.
|
|
1743
1733
|
* @param {object} event Event object
|
|
1744
1734
|
* @param {Grid.view.Grid} event.source Owner grid
|
|
@@ -2502,7 +2492,7 @@ export class BryntumGridBaseComponent implements OnInit, OnDestroy {
|
|
|
2502
2492
|
* @param {Response} event.response Optional response, if received
|
|
2503
2493
|
* @param {Error} event.error Optional error, if exception occurred
|
|
2504
2494
|
*/
|
|
2505
|
-
@Output() onPdfExport: any = new EventEmitter<((event: { response?:
|
|
2495
|
+
@Output() onPdfExport: any = new EventEmitter<((event: { response?: Response, error?: Error }) => void)|string>();
|
|
2506
2496
|
/**
|
|
2507
2497
|
* Fired when a Widget's read only state is toggled
|
|
2508
2498
|
* @param {object} event Event object
|
|
@@ -2713,6 +2703,14 @@ export class BryntumGridBaseComponent implements OnInit, OnDestroy {
|
|
|
2713
2703
|
* @param {Core.widget.Tool} event.tool The tool which is being clicked.
|
|
2714
2704
|
*/
|
|
2715
2705
|
@Output() onToolClick: any = new EventEmitter<((event: { source: Tool, tool: Tool }) => void)|string>();
|
|
2706
|
+
/**
|
|
2707
|
+
* Fired on the owning Grid/Scheduler/Gantt after tree grouping levels change
|
|
2708
|
+
* @param {object} event Event object
|
|
2709
|
+
* @param {Grid.view.Grid} event.source The grid instance
|
|
2710
|
+
* @param {(string|Function)[]} event.groupers Array of field names or functions representing the current grouping levels
|
|
2711
|
+
* @param {(string|Function)[]} event.oldGroupers Array of field names or functions representing the previous grouping levels
|
|
2712
|
+
*/
|
|
2713
|
+
@Output() onTreeGroup: any = new EventEmitter<((event: { source: Grid, groupers: (string|Function)[], oldGroupers: (string|Function)[] }) => void)|string>();
|
|
2716
2714
|
/**
|
|
2717
2715
|
* Fires when row locking is disabled.
|
|
2718
2716
|
* @param {object} event Event object
|
|
@@ -328,14 +328,6 @@ export type BryntumGridChartDesignerProps = {
|
|
|
328
328
|
monitorResize ? : boolean|{
|
|
329
329
|
immediate?: boolean
|
|
330
330
|
}
|
|
331
|
-
/**
|
|
332
|
-
* The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
|
|
333
|
-
* [items](https://bryntum.com/products/grid/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
|
|
334
|
-
* the owner is <strong>always</strong> the encapsulating Container.
|
|
335
|
-
* ...
|
|
336
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridChartDesigner#config-owner)
|
|
337
|
-
*/
|
|
338
|
-
owner ? : Widget|any
|
|
339
331
|
/**
|
|
340
332
|
* 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
|
|
341
333
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
@@ -561,7 +553,6 @@ export class BryntumGridChartDesignerComponent implements OnInit, OnDestroy {
|
|
|
561
553
|
'minHeight',
|
|
562
554
|
'minWidth',
|
|
563
555
|
'monitorResize',
|
|
564
|
-
'owner',
|
|
565
556
|
'positioned',
|
|
566
557
|
'preventTooltipOnTouch',
|
|
567
558
|
'readOnly',
|
|
@@ -618,7 +609,6 @@ export class BryntumGridChartDesignerComponent implements OnInit, OnDestroy {
|
|
|
618
609
|
'maskDefaults',
|
|
619
610
|
'masked',
|
|
620
611
|
'monitorResize',
|
|
621
|
-
'owner',
|
|
622
612
|
'positioned',
|
|
623
613
|
'preventTooltipOnTouch',
|
|
624
614
|
'relayStoreEvents',
|
|
@@ -725,7 +715,6 @@ export class BryntumGridChartDesignerComponent implements OnInit, OnDestroy {
|
|
|
725
715
|
@Input() monitorResize ! : boolean|{
|
|
726
716
|
immediate?: boolean
|
|
727
717
|
};
|
|
728
|
-
@Input() owner ! : Widget|any;
|
|
729
718
|
@Input() positioned ! : boolean;
|
|
730
719
|
@Input() preventTooltipOnTouch ! : boolean;
|
|
731
720
|
@Input() relayStoreEvents ! : boolean;
|
|
@@ -471,14 +471,6 @@ export type BryntumGridFieldFilterPickerGroupProps = {
|
|
|
471
471
|
* [operators](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPicker#config-operators).
|
|
472
472
|
*/
|
|
473
473
|
operators ? : object
|
|
474
|
-
/**
|
|
475
|
-
* The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
|
|
476
|
-
* [items](https://bryntum.com/products/grid/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
|
|
477
|
-
* the owner is <strong>always</strong> the encapsulating Container.
|
|
478
|
-
* ...
|
|
479
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPickerGroup#config-owner)
|
|
480
|
-
*/
|
|
481
|
-
owner ? : Widget|any
|
|
482
474
|
/**
|
|
483
475
|
* 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
|
|
484
476
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
@@ -766,7 +758,6 @@ export class BryntumGridFieldFilterPickerGroupComponent implements OnInit, OnDes
|
|
|
766
758
|
'monitorResize',
|
|
767
759
|
'namedItems',
|
|
768
760
|
'operators',
|
|
769
|
-
'owner',
|
|
770
761
|
'positioned',
|
|
771
762
|
'preventTooltipOnTouch',
|
|
772
763
|
'readOnly',
|
|
@@ -846,7 +837,6 @@ export class BryntumGridFieldFilterPickerGroupComponent implements OnInit, OnDes
|
|
|
846
837
|
'monitorResize',
|
|
847
838
|
'namedItems',
|
|
848
839
|
'operators',
|
|
849
|
-
'owner',
|
|
850
840
|
'positioned',
|
|
851
841
|
'preventTooltipOnTouch',
|
|
852
842
|
'relayStoreEvents',
|
|
@@ -986,7 +976,6 @@ export class BryntumGridFieldFilterPickerGroupComponent implements OnInit, OnDes
|
|
|
986
976
|
};
|
|
987
977
|
@Input() namedItems ! : Record<string, GridContainerItemConfig>;
|
|
988
978
|
@Input() operators ! : object;
|
|
989
|
-
@Input() owner ! : Widget|any;
|
|
990
979
|
@Input() positioned ! : boolean;
|
|
991
980
|
@Input() preventTooltipOnTouch ! : boolean;
|
|
992
981
|
@Input() relayStoreEvents ! : boolean;
|
|
@@ -456,14 +456,6 @@ export type BryntumGridFieldFilterPickerProps = {
|
|
|
456
456
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-operators)
|
|
457
457
|
*/
|
|
458
458
|
operators ? : object
|
|
459
|
-
/**
|
|
460
|
-
* The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
|
|
461
|
-
* [items](https://bryntum.com/products/grid/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
|
|
462
|
-
* the owner is <strong>always</strong> the encapsulating Container.
|
|
463
|
-
* ...
|
|
464
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GridFieldFilterPicker#config-owner)
|
|
465
|
-
*/
|
|
466
|
-
owner ? : Widget|any
|
|
467
459
|
/**
|
|
468
460
|
* 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
|
|
469
461
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
@@ -758,7 +750,6 @@ export class BryntumGridFieldFilterPickerComponent implements OnInit, OnDestroy
|
|
|
758
750
|
'namedItems',
|
|
759
751
|
'operatorLocked',
|
|
760
752
|
'operators',
|
|
761
|
-
'owner',
|
|
762
753
|
'positioned',
|
|
763
754
|
'preventTooltipOnTouch',
|
|
764
755
|
'propertyFieldConfig',
|
|
@@ -839,7 +830,6 @@ export class BryntumGridFieldFilterPickerComponent implements OnInit, OnDestroy
|
|
|
839
830
|
'namedItems',
|
|
840
831
|
'operatorLocked',
|
|
841
832
|
'operators',
|
|
842
|
-
'owner',
|
|
843
833
|
'positioned',
|
|
844
834
|
'preventTooltipOnTouch',
|
|
845
835
|
'propertyFieldConfig',
|
|
@@ -979,7 +969,6 @@ export class BryntumGridFieldFilterPickerComponent implements OnInit, OnDestroy
|
|
|
979
969
|
@Input() namedItems ! : Record<string, GridContainerItemConfig>;
|
|
980
970
|
@Input() operatorLocked ! : boolean;
|
|
981
971
|
@Input() operators ! : object;
|
|
982
|
-
@Input() owner ! : Widget|any;
|
|
983
972
|
@Input() positioned ! : boolean;
|
|
984
973
|
@Input() preventTooltipOnTouch ! : boolean;
|
|
985
974
|
@Input() propertyFieldConfig ! : ComboConfig;
|
|
@@ -477,14 +477,6 @@ export type BryntumGridProps = {
|
|
|
477
477
|
* Grid monitors window resize by default.
|
|
478
478
|
*/
|
|
479
479
|
monitorResize ? : boolean
|
|
480
|
-
/**
|
|
481
|
-
* The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
|
|
482
|
-
* [items](https://bryntum.com/products/grid/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
|
|
483
|
-
* the owner is <strong>always</strong> the encapsulating Container.
|
|
484
|
-
* ...
|
|
485
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/Grid#config-owner)
|
|
486
|
-
*/
|
|
487
|
-
owner ? : Widget|any
|
|
488
480
|
/**
|
|
489
481
|
* Specify plugins (an array of classes) in config
|
|
490
482
|
*/
|
|
@@ -564,7 +556,7 @@ export type BryntumGridProps = {
|
|
|
564
556
|
rootElement ? : ShadowRoot|HTMLElement
|
|
565
557
|
/**
|
|
566
558
|
* Row height in pixels. This allows the default height for rows to be controlled. Note that it may be
|
|
567
|
-
*
|
|
559
|
+
* overridden by specifying a [rowHeight](https://bryntum.com/products/grid/docs/api/Grid/data/GridRowModel#field-rowHeight) on a per record basis, or from
|
|
568
560
|
* a column [renderer](https://bryntum.com/products/grid/docs/api/Grid/column/Column#config-renderer).
|
|
569
561
|
* ...
|
|
570
562
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/Grid#config-rowHeight)
|
|
@@ -792,7 +784,7 @@ export type BryntumGridProps = {
|
|
|
792
784
|
cellEditFeature ? : object|boolean|string|CellEdit|CellEditConfig
|
|
793
785
|
/**
|
|
794
786
|
* Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
|
|
795
|
-
*
|
|
787
|
+
* <kbd>Space</kbd> key when the cell is focused.
|
|
796
788
|
* ...
|
|
797
789
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/CellMenu)
|
|
798
790
|
*/
|
|
@@ -892,8 +884,8 @@ export type BryntumGridProps = {
|
|
|
892
884
|
filterBarFeature ? : object|boolean|string|FilterBar|FilterBarConfig
|
|
893
885
|
/**
|
|
894
886
|
* Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
|
|
895
|
-
* <kbd>
|
|
896
|
-
* one anywhere on grid). Use <kbd>
|
|
887
|
+
* <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
|
|
888
|
+
* one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
|
|
897
889
|
* grouper.
|
|
898
890
|
* ...
|
|
899
891
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/Group)
|
|
@@ -1178,6 +1170,7 @@ export class BryntumGridComponent implements OnInit, OnDestroy {
|
|
|
1178
1170
|
'onToggleGroup',
|
|
1179
1171
|
'onToggleNode',
|
|
1180
1172
|
'onToolClick',
|
|
1173
|
+
'onTreeGroup',
|
|
1181
1174
|
'onUnlockRows',
|
|
1182
1175
|
'onUnsplit'
|
|
1183
1176
|
];
|
|
@@ -1306,7 +1299,6 @@ export class BryntumGridComponent implements OnInit, OnDestroy {
|
|
|
1306
1299
|
'minHeight',
|
|
1307
1300
|
'minWidth',
|
|
1308
1301
|
'monitorResize',
|
|
1309
|
-
'owner',
|
|
1310
1302
|
'plugins',
|
|
1311
1303
|
'preserveFocusOnDatasetChange',
|
|
1312
1304
|
'preserveScroll',
|
|
@@ -1397,7 +1389,6 @@ export class BryntumGridComponent implements OnInit, OnDestroy {
|
|
|
1397
1389
|
'maskDefaults',
|
|
1398
1390
|
'masked',
|
|
1399
1391
|
'monitorResize',
|
|
1400
|
-
'owner',
|
|
1401
1392
|
'plugins',
|
|
1402
1393
|
'preserveFocusOnDatasetChange',
|
|
1403
1394
|
'preserveScrollOnDatasetChange',
|
|
@@ -1556,7 +1547,6 @@ export class BryntumGridComponent implements OnInit, OnDestroy {
|
|
|
1556
1547
|
@Input() maskDefaults ! : MaskConfig;
|
|
1557
1548
|
@Input() masked ! : boolean|string|MaskConfig;
|
|
1558
1549
|
@Input() monitorResize ! : boolean;
|
|
1559
|
-
@Input() owner ! : Widget|any;
|
|
1560
1550
|
@Input() plugins ! : Function[];
|
|
1561
1551
|
@Input() preserveFocusOnDatasetChange ! : boolean;
|
|
1562
1552
|
@Input() preserveScrollOnDatasetChange ! : boolean;
|
|
@@ -1742,7 +1732,7 @@ export class BryntumGridComponent implements OnInit, OnDestroy {
|
|
|
1742
1732
|
*/
|
|
1743
1733
|
@Output() onBeforeCellEditStart: any = new EventEmitter<((event: { source: Grid, editorContext: CellEditorContext }) => Promise<boolean>|boolean|void)|string>();
|
|
1744
1734
|
/**
|
|
1745
|
-
* Fires on the owning Grid before deleting a range of selected cell values by pressing
|
|
1735
|
+
* Fires on the owning Grid before deleting a range of selected cell values by pressing <kbd>Backspace</kbd> or <kbd>Delete</kbd>
|
|
1746
1736
|
* buttons while [autoEdit](https://bryntum.com/products/grid/docs/api/Grid/feature/CellEdit#config-autoEdit) is set to `true`. Return `false` to prevent editing.
|
|
1747
1737
|
* @param {object} event Event object
|
|
1748
1738
|
* @param {Grid.view.Grid} event.source Owner grid
|
|
@@ -2506,7 +2496,7 @@ export class BryntumGridComponent implements OnInit, OnDestroy {
|
|
|
2506
2496
|
* @param {Response} event.response Optional response, if received
|
|
2507
2497
|
* @param {Error} event.error Optional error, if exception occurred
|
|
2508
2498
|
*/
|
|
2509
|
-
@Output() onPdfExport: any = new EventEmitter<((event: { response?:
|
|
2499
|
+
@Output() onPdfExport: any = new EventEmitter<((event: { response?: Response, error?: Error }) => void)|string>();
|
|
2510
2500
|
/**
|
|
2511
2501
|
* Fired when a Widget's read only state is toggled
|
|
2512
2502
|
* @param {object} event Event object
|
|
@@ -2717,6 +2707,14 @@ export class BryntumGridComponent implements OnInit, OnDestroy {
|
|
|
2717
2707
|
* @param {Core.widget.Tool} event.tool The tool which is being clicked.
|
|
2718
2708
|
*/
|
|
2719
2709
|
@Output() onToolClick: any = new EventEmitter<((event: { source: Tool, tool: Tool }) => void)|string>();
|
|
2710
|
+
/**
|
|
2711
|
+
* Fired on the owning Grid/Scheduler/Gantt after tree grouping levels change
|
|
2712
|
+
* @param {object} event Event object
|
|
2713
|
+
* @param {Grid.view.Grid} event.source The grid instance
|
|
2714
|
+
* @param {(string|Function)[]} event.groupers Array of field names or functions representing the current grouping levels
|
|
2715
|
+
* @param {(string|Function)[]} event.oldGroupers Array of field names or functions representing the previous grouping levels
|
|
2716
|
+
*/
|
|
2717
|
+
@Output() onTreeGroup: any = new EventEmitter<((event: { source: Grid, groupers: (string|Function)[], oldGroupers: (string|Function)[] }) => void)|string>();
|
|
2720
2718
|
/**
|
|
2721
2719
|
* Fires when row locking is disabled.
|
|
2722
2720
|
* @param {object} event Event object
|
|
@@ -413,14 +413,6 @@ export type BryntumGroupBarProps = {
|
|
|
413
413
|
* Configure as `true` to allow multi select and allow clicking and key navigation to select multiple chips.
|
|
414
414
|
*/
|
|
415
415
|
multiSelect ? : boolean
|
|
416
|
-
/**
|
|
417
|
-
* The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
|
|
418
|
-
* [items](https://bryntum.com/products/grid/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
|
|
419
|
-
* the owner is <strong>always</strong> the encapsulating Container.
|
|
420
|
-
* ...
|
|
421
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-owner)
|
|
422
|
-
*/
|
|
423
|
-
owner ? : Widget|any
|
|
424
416
|
/**
|
|
425
417
|
* 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
|
|
426
418
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
@@ -535,7 +527,7 @@ export type BryntumGroupBarProps = {
|
|
|
535
527
|
*/
|
|
536
528
|
title ? : string
|
|
537
529
|
/**
|
|
538
|
-
* Select/deselect all if
|
|
530
|
+
* Select/deselect all if <kbd>Cmd</kbd>/<kbd>Ctrl</kbd> is pressed when clicking
|
|
539
531
|
*/
|
|
540
532
|
toggleAllIfCtrlPressed ? : boolean
|
|
541
533
|
/**
|
|
@@ -698,7 +690,6 @@ export class BryntumGroupBarComponent implements OnInit, OnDestroy {
|
|
|
698
690
|
'minWidth',
|
|
699
691
|
'monitorResize',
|
|
700
692
|
'multiSelect',
|
|
701
|
-
'owner',
|
|
702
693
|
'positioned',
|
|
703
694
|
'preventTooltipOnTouch',
|
|
704
695
|
'readOnly',
|
|
@@ -769,7 +760,6 @@ export class BryntumGroupBarComponent implements OnInit, OnDestroy {
|
|
|
769
760
|
'maskDefaults',
|
|
770
761
|
'masked',
|
|
771
762
|
'monitorResize',
|
|
772
|
-
'owner',
|
|
773
763
|
'positioned',
|
|
774
764
|
'preventTooltipOnTouch',
|
|
775
765
|
'relayStoreEvents',
|
|
@@ -896,7 +886,6 @@ export class BryntumGroupBarComponent implements OnInit, OnDestroy {
|
|
|
896
886
|
@Input() monitorResize ! : boolean|{
|
|
897
887
|
immediate?: boolean
|
|
898
888
|
};
|
|
899
|
-
@Input() owner ! : Widget|any;
|
|
900
889
|
@Input() positioned ! : boolean;
|
|
901
890
|
@Input() preventTooltipOnTouch ! : boolean;
|
|
902
891
|
@Input() relayStoreEvents ! : boolean;
|
|
@@ -186,7 +186,7 @@ export type BryntumTreeComboProps = {
|
|
|
186
186
|
contentElementCls ? : string|object
|
|
187
187
|
/**
|
|
188
188
|
* If configured as `true`, this means that when an unmatched string is typed into the
|
|
189
|
-
* combo's input field, and
|
|
189
|
+
* 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,
|
|
190
190
|
* 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).
|
|
191
191
|
* ...
|
|
192
192
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/TreeCombo#config-createOnUnmatched)
|
|
@@ -612,14 +612,6 @@ export type BryntumTreeComboProps = {
|
|
|
612
612
|
* to the input field so that the pointer pierces the [pickerAlignElement](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-pickerAlignElement)
|
|
613
613
|
*/
|
|
614
614
|
overlayAnchor ? : boolean
|
|
615
|
-
/**
|
|
616
|
-
* The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
|
|
617
|
-
* [items](https://bryntum.com/products/grid/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
|
|
618
|
-
* the owner is <strong>always</strong> the encapsulating Container.
|
|
619
|
-
* ...
|
|
620
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/TreeCombo#config-owner)
|
|
621
|
-
*/
|
|
622
|
-
owner ? : Widget|any
|
|
623
615
|
/**
|
|
624
616
|
* Configuration object for the [picker](https://bryntum.com/products/grid/docs/api/Core/widget/List) on initialization. Returns the
|
|
625
617
|
* [picker](https://bryntum.com/products/grid/docs/api/Core/widget/List) instance at runtime.
|
|
@@ -681,7 +673,7 @@ export type BryntumTreeComboProps = {
|
|
|
681
673
|
required ? : boolean
|
|
682
674
|
/**
|
|
683
675
|
* 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
|
|
684
|
-
* the
|
|
676
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
685
677
|
* 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)
|
|
686
678
|
* behaviour will be activated.
|
|
687
679
|
*/
|
|
@@ -987,7 +979,6 @@ export class BryntumTreeComboComponent implements OnInit, OnDestroy {
|
|
|
987
979
|
'multiValueSeparator',
|
|
988
980
|
'name',
|
|
989
981
|
'overlayAnchor',
|
|
990
|
-
'owner',
|
|
991
982
|
'picker',
|
|
992
983
|
'pickerAlignElement',
|
|
993
984
|
'pickerWidth',
|
|
@@ -1105,7 +1096,6 @@ export class BryntumTreeComboComponent implements OnInit, OnDestroy {
|
|
|
1105
1096
|
'multiValueSeparator',
|
|
1106
1097
|
'name',
|
|
1107
1098
|
'overlayAnchor',
|
|
1108
|
-
'owner',
|
|
1109
1099
|
'pickerAlignElement',
|
|
1110
1100
|
'pickerWidth',
|
|
1111
1101
|
'positioned',
|
|
@@ -1281,7 +1271,6 @@ export class BryntumTreeComboComponent implements OnInit, OnDestroy {
|
|
|
1281
1271
|
@Input() multiValueSeparator ! : string;
|
|
1282
1272
|
@Input() name ! : string;
|
|
1283
1273
|
@Input() overlayAnchor ! : boolean;
|
|
1284
|
-
@Input() owner ! : Widget|any;
|
|
1285
1274
|
@Input() pickerAlignElement ! : string;
|
|
1286
1275
|
@Input() pickerWidth ! : number|string;
|
|
1287
1276
|
@Input() positioned ! : boolean;
|
|
@@ -477,14 +477,6 @@ export type BryntumTreeGridProps = {
|
|
|
477
477
|
* Grid monitors window resize by default.
|
|
478
478
|
*/
|
|
479
479
|
monitorResize ? : boolean
|
|
480
|
-
/**
|
|
481
|
-
* The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
|
|
482
|
-
* [items](https://bryntum.com/products/grid/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
|
|
483
|
-
* the owner is <strong>always</strong> the encapsulating Container.
|
|
484
|
-
* ...
|
|
485
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/TreeGrid#config-owner)
|
|
486
|
-
*/
|
|
487
|
-
owner ? : Widget|any
|
|
488
480
|
/**
|
|
489
481
|
* Specify plugins (an array of classes) in config
|
|
490
482
|
*/
|
|
@@ -564,7 +556,7 @@ export type BryntumTreeGridProps = {
|
|
|
564
556
|
rootElement ? : ShadowRoot|HTMLElement
|
|
565
557
|
/**
|
|
566
558
|
* Row height in pixels. This allows the default height for rows to be controlled. Note that it may be
|
|
567
|
-
*
|
|
559
|
+
* overridden by specifying a [rowHeight](https://bryntum.com/products/grid/docs/api/Grid/data/GridRowModel#field-rowHeight) on a per record basis, or from
|
|
568
560
|
* a column [renderer](https://bryntum.com/products/grid/docs/api/Grid/column/Column#config-renderer).
|
|
569
561
|
* ...
|
|
570
562
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/view/TreeGrid#config-rowHeight)
|
|
@@ -792,7 +784,7 @@ export type BryntumTreeGridProps = {
|
|
|
792
784
|
cellEditFeature ? : object|boolean|string|CellEdit|CellEditConfig
|
|
793
785
|
/**
|
|
794
786
|
* Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
|
|
795
|
-
*
|
|
787
|
+
* <kbd>Space</kbd> key when the cell is focused.
|
|
796
788
|
* ...
|
|
797
789
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/CellMenu)
|
|
798
790
|
*/
|
|
@@ -892,8 +884,8 @@ export type BryntumTreeGridProps = {
|
|
|
892
884
|
filterBarFeature ? : object|boolean|string|FilterBar|FilterBarConfig
|
|
893
885
|
/**
|
|
894
886
|
* Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
|
|
895
|
-
* <kbd>
|
|
896
|
-
* one anywhere on grid). Use <kbd>
|
|
887
|
+
* <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
|
|
888
|
+
* one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
|
|
897
889
|
* grouper.
|
|
898
890
|
* ...
|
|
899
891
|
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/feature/Group)
|
|
@@ -1178,6 +1170,7 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
|
|
|
1178
1170
|
'onToggleGroup',
|
|
1179
1171
|
'onToggleNode',
|
|
1180
1172
|
'onToolClick',
|
|
1173
|
+
'onTreeGroup',
|
|
1181
1174
|
'onUnlockRows',
|
|
1182
1175
|
'onUnsplit'
|
|
1183
1176
|
];
|
|
@@ -1306,7 +1299,6 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
|
|
|
1306
1299
|
'minHeight',
|
|
1307
1300
|
'minWidth',
|
|
1308
1301
|
'monitorResize',
|
|
1309
|
-
'owner',
|
|
1310
1302
|
'plugins',
|
|
1311
1303
|
'preserveFocusOnDatasetChange',
|
|
1312
1304
|
'preserveScroll',
|
|
@@ -1397,7 +1389,6 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
|
|
|
1397
1389
|
'maskDefaults',
|
|
1398
1390
|
'masked',
|
|
1399
1391
|
'monitorResize',
|
|
1400
|
-
'owner',
|
|
1401
1392
|
'plugins',
|
|
1402
1393
|
'preserveFocusOnDatasetChange',
|
|
1403
1394
|
'preserveScrollOnDatasetChange',
|
|
@@ -1556,7 +1547,6 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
|
|
|
1556
1547
|
@Input() maskDefaults ! : MaskConfig;
|
|
1557
1548
|
@Input() masked ! : boolean|string|MaskConfig;
|
|
1558
1549
|
@Input() monitorResize ! : boolean;
|
|
1559
|
-
@Input() owner ! : Widget|any;
|
|
1560
1550
|
@Input() plugins ! : Function[];
|
|
1561
1551
|
@Input() preserveFocusOnDatasetChange ! : boolean;
|
|
1562
1552
|
@Input() preserveScrollOnDatasetChange ! : boolean;
|
|
@@ -1742,7 +1732,7 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
|
|
|
1742
1732
|
*/
|
|
1743
1733
|
@Output() onBeforeCellEditStart: any = new EventEmitter<((event: { source: Grid, editorContext: CellEditorContext }) => Promise<boolean>|boolean|void)|string>();
|
|
1744
1734
|
/**
|
|
1745
|
-
* Fires on the owning Grid before deleting a range of selected cell values by pressing
|
|
1735
|
+
* Fires on the owning Grid before deleting a range of selected cell values by pressing <kbd>Backspace</kbd> or <kbd>Delete</kbd>
|
|
1746
1736
|
* buttons while [autoEdit](https://bryntum.com/products/grid/docs/api/Grid/feature/CellEdit#config-autoEdit) is set to `true`. Return `false` to prevent editing.
|
|
1747
1737
|
* @param {object} event Event object
|
|
1748
1738
|
* @param {Grid.view.Grid} event.source Owner grid
|
|
@@ -2506,7 +2496,7 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
|
|
|
2506
2496
|
* @param {Response} event.response Optional response, if received
|
|
2507
2497
|
* @param {Error} event.error Optional error, if exception occurred
|
|
2508
2498
|
*/
|
|
2509
|
-
@Output() onPdfExport: any = new EventEmitter<((event: { response?:
|
|
2499
|
+
@Output() onPdfExport: any = new EventEmitter<((event: { response?: Response, error?: Error }) => void)|string>();
|
|
2510
2500
|
/**
|
|
2511
2501
|
* Fired when a Widget's read only state is toggled
|
|
2512
2502
|
* @param {object} event Event object
|
|
@@ -2717,6 +2707,14 @@ export class BryntumTreeGridComponent implements OnInit, OnDestroy {
|
|
|
2717
2707
|
* @param {Core.widget.Tool} event.tool The tool which is being clicked.
|
|
2718
2708
|
*/
|
|
2719
2709
|
@Output() onToolClick: any = new EventEmitter<((event: { source: Tool, tool: Tool }) => void)|string>();
|
|
2710
|
+
/**
|
|
2711
|
+
* Fired on the owning Grid/Scheduler/Gantt after tree grouping levels change
|
|
2712
|
+
* @param {object} event Event object
|
|
2713
|
+
* @param {Grid.view.Grid} event.source The grid instance
|
|
2714
|
+
* @param {(string|Function)[]} event.groupers Array of field names or functions representing the current grouping levels
|
|
2715
|
+
* @param {(string|Function)[]} event.oldGroupers Array of field names or functions representing the previous grouping levels
|
|
2716
|
+
*/
|
|
2717
|
+
@Output() onTreeGroup: any = new EventEmitter<((event: { source: Grid, groupers: (string|Function)[], oldGroupers: (string|Function)[] }) => void)|string>();
|
|
2720
2718
|
/**
|
|
2721
2719
|
* Fires when row locking is disabled.
|
|
2722
2720
|
* @param {object} event Event object
|