@bryntum/grid-vue-3-thin 7.3.0 → 7.3.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/Bc2x_WPR.js.map +1 -1
- package/lib/chunks/Be7ZZzGW.js.map +1 -1
- package/lib/chunks/BpNo5v3W.js.map +1 -1
- package/lib/chunks/{BeyOFZne.js → C87PnYXS.js} +11 -9
- package/lib/chunks/C87PnYXS.js.map +1 -0
- package/lib/chunks/{Ba35uKyP.js → C9RmZYoQ.js} +7 -5
- package/lib/chunks/C9RmZYoQ.js.map +1 -0
- package/lib/chunks/CAlh-Y8B.js.map +1 -1
- package/lib/chunks/CWYhi4DG.js.map +1 -1
- package/lib/chunks/CcfDAcJD.js.map +1 -1
- package/lib/chunks/{BGeNcVH6.js → DZ2V6NNc.js} +12 -10
- package/lib/chunks/DZ2V6NNc.js.map +1 -0
- package/lib/chunks/w2GDktIt.js.map +1 -1
- package/lib/components/BryntumAIFilterField.js +1 -1
- package/lib/components/BryntumChecklistFilterCombo.js +1 -1
- package/lib/components/BryntumTreeCombo.js +1 -1
- package/lib/index.js +3 -3
- package/package.json +1 -1
- package/src/components/BryntumAIFilterField.vue +86 -106
- package/src/components/BryntumAIFilterFieldProps.ts +15 -0
- package/src/components/BryntumChecklistFilterCombo.vue +87 -109
- package/src/components/BryntumChecklistFilterComboProps.ts +15 -0
- package/src/components/BryntumGrid.vue +529 -755
- package/src/components/BryntumGridBase.vue +529 -755
- package/src/components/BryntumGridBaseProps.ts +6 -0
- package/src/components/BryntumGridChartDesigner.vue +49 -69
- package/src/components/BryntumGridChartDesignerProps.ts +6 -0
- package/src/components/BryntumGridFieldFilterPicker.vue +59 -85
- package/src/components/BryntumGridFieldFilterPickerGroup.vue +63 -91
- package/src/components/BryntumGridFieldFilterPickerGroupProps.ts +6 -0
- package/src/components/BryntumGridFieldFilterPickerProps.ts +6 -0
- package/src/components/BryntumGridProps.ts +6 -0
- package/src/components/BryntumGroupBar.vue +74 -102
- package/src/components/BryntumGroupBarProps.ts +9 -1
- package/src/components/BryntumTreeCombo.vue +87 -109
- package/src/components/BryntumTreeComboProps.ts +15 -0
- package/src/components/BryntumTreeGrid.vue +529 -755
- package/src/components/BryntumTreeGridProps.ts +6 -0
- package/lib/chunks/BGeNcVH6.js.map +0 -1
- package/lib/chunks/Ba35uKyP.js.map +0 -1
- package/lib/chunks/BeyOFZne.js.map +0 -1
|
@@ -53,6 +53,8 @@ defineProps<{
|
|
|
53
53
|
/**
|
|
54
54
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
55
55
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-element).
|
|
56
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
57
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-appendTo)
|
|
56
58
|
*/
|
|
57
59
|
appendTo ? : HTMLElement|string
|
|
58
60
|
/**
|
|
@@ -102,9 +104,11 @@ defineProps<{
|
|
|
102
104
|
/**
|
|
103
105
|
* If [closable](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-closable) is `true`, this is the name of a callback function to handle what the "close"
|
|
104
106
|
* action means. If not provided, the record representing the chip is removed from the store.
|
|
107
|
+
* @param {Core.data.Model[]} records Records to be closed
|
|
108
|
+
* @param {object} options Close options
|
|
105
109
|
* @returns {void}
|
|
106
110
|
*/
|
|
107
|
-
closeHandler ? : string|(() => void)
|
|
111
|
+
closeHandler ? : string|((records: Model[], options: object) => void)
|
|
108
112
|
/**
|
|
109
113
|
* Custom CSS classes to add to element.
|
|
110
114
|
* May be specified as a space separated string, or as an object in which property names
|
|
@@ -281,10 +285,14 @@ defineProps<{
|
|
|
281
285
|
ignoreParentReadOnly ? : Boolean
|
|
282
286
|
/**
|
|
283
287
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
288
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
289
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-insertBefore)
|
|
284
290
|
*/
|
|
285
291
|
insertBefore ? : HTMLElement|string
|
|
286
292
|
/**
|
|
287
293
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
294
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
295
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-insertFirst)
|
|
288
296
|
*/
|
|
289
297
|
insertFirst ? : HTMLElement|string
|
|
290
298
|
/**
|
|
@@ -557,46 +565,38 @@ const emit = defineEmits<{
|
|
|
557
565
|
* Fires before an object is destroyed.
|
|
558
566
|
* @param {string} e Event name
|
|
559
567
|
* @param {object} params Event parameters
|
|
560
|
-
* @param {
|
|
561
|
-
* @param {
|
|
562
|
-
* @param {object} params.params.event Event object
|
|
563
|
-
* @param {Core.Base} params.params.event.source The Object that is being destroyed.
|
|
568
|
+
* @param {object} params.event Event object
|
|
569
|
+
* @param {Core.Base} params.event.source The Object that is being destroyed.
|
|
564
570
|
*/
|
|
565
571
|
(e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void
|
|
566
572
|
/**
|
|
567
573
|
* Triggered before a widget is hidden. Return `false` to prevent the action.
|
|
568
574
|
* @param {string} e Event name
|
|
569
575
|
* @param {object} params Event parameters
|
|
570
|
-
* @param {
|
|
571
|
-
* @param {
|
|
572
|
-
* @param {object} params.params.event Event object
|
|
573
|
-
* @param {Core.widget.Widget} params.params.event.source The widget being hidden.
|
|
576
|
+
* @param {object} params.event Event object
|
|
577
|
+
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
574
578
|
*/
|
|
575
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
579
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
576
580
|
/**
|
|
577
581
|
* User going to activate an item in the list either by pointer or keyboard.
|
|
578
582
|
* The active record, list item index, and the triggering event are passed.
|
|
579
583
|
* It is preventable by returning `false`
|
|
580
584
|
* @param {string} e Event name
|
|
581
585
|
* @param {object} params Event parameters
|
|
582
|
-
* @param {
|
|
583
|
-
* @param {
|
|
584
|
-
* @param {
|
|
585
|
-
* @param {Core.
|
|
586
|
-
* @param {
|
|
587
|
-
* @param {
|
|
588
|
-
* @param {number} params.params.event.index List item index
|
|
589
|
-
* @param {Event} params.params.event.event Triggering event
|
|
586
|
+
* @param {object} params.event Event object
|
|
587
|
+
* @param {Core.widget.List} params.event.source The List instance
|
|
588
|
+
* @param {HTMLElement} params.event.item The clicked list element
|
|
589
|
+
* @param {Core.data.Model} params.event.record Activated record
|
|
590
|
+
* @param {number} params.event.index List item index
|
|
591
|
+
* @param {Event} params.event.event Triggering event
|
|
590
592
|
*/
|
|
591
|
-
(e: 'beforeItem', params: ((event: { source: List, item: HTMLElement, record: Model, index: number, event: Event }) =>
|
|
593
|
+
(e: 'beforeItem', params: ((event: { source: List, item: HTMLElement, record: Model, index: number, event: Event }) => boolean|void)|string): boolean|void
|
|
592
594
|
/**
|
|
593
595
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
594
596
|
* @param {string} e Event name
|
|
595
597
|
* @param {object} params Event parameters
|
|
596
|
-
* @param {
|
|
597
|
-
* @param {
|
|
598
|
-
* @param {object} params.params.event Event object
|
|
599
|
-
* @param {Core.widget.Widget,any} params.params.event.source The widget being shown
|
|
598
|
+
* @param {object} params.event Event object
|
|
599
|
+
* @param {Core.widget.Widget,any} params.event.source The widget being shown
|
|
600
600
|
*/
|
|
601
601
|
(e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
602
602
|
/**
|
|
@@ -604,46 +604,38 @@ const emit = defineEmits<{
|
|
|
604
604
|
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#event-catchAll)
|
|
605
605
|
* @param {string} e Event name
|
|
606
606
|
* @param {object} params Event parameters
|
|
607
|
-
* @param {
|
|
608
|
-
* @param {
|
|
609
|
-
* @param {
|
|
610
|
-
* @param {{[key: string]: any, type: string}} params.params.event.event The Object that contains event details
|
|
611
|
-
* @param {string} params.params.event.event.type The type of the event which is caught by the listener
|
|
607
|
+
* @param {object} params.event Event object
|
|
608
|
+
* @param {{[key: string]: any, type: string}} params.event.event The Object that contains event details
|
|
609
|
+
* @param {string} params.event.event.type The type of the event which is caught by the listener
|
|
612
610
|
*/
|
|
613
611
|
(e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void
|
|
614
612
|
/**
|
|
615
613
|
* Fires when an object is destroyed.
|
|
616
614
|
* @param {string} e Event name
|
|
617
615
|
* @param {object} params Event parameters
|
|
618
|
-
* @param {
|
|
619
|
-
* @param {
|
|
620
|
-
* @param {object} params.params.event Event object
|
|
621
|
-
* @param {Core.Base} params.params.event.source The Object that is being destroyed.
|
|
616
|
+
* @param {object} params.event Event object
|
|
617
|
+
* @param {Core.Base} params.event.source The Object that is being destroyed.
|
|
622
618
|
*/
|
|
623
619
|
(e: 'destroy', params: ((event: { source: Base }) => void)|string): void
|
|
624
620
|
/**
|
|
625
621
|
* Triggered when a widget's [element](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-element) is available.
|
|
626
622
|
* @param {string} e Event name
|
|
627
623
|
* @param {object} params Event parameters
|
|
628
|
-
* @param {
|
|
629
|
-
* @param {
|
|
630
|
-
* @param {object} params.params.event Event object
|
|
631
|
-
* @param {HTMLElement} params.params.event.element The Widget's element.
|
|
624
|
+
* @param {object} params.event Event object
|
|
625
|
+
* @param {HTMLElement} params.event.element The Widget's element.
|
|
632
626
|
*/
|
|
633
627
|
(e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void
|
|
634
628
|
/**
|
|
635
629
|
* Fired when focus enters this Widget.
|
|
636
630
|
* @param {string} e Event name
|
|
637
631
|
* @param {object} params Event parameters
|
|
638
|
-
* @param {
|
|
639
|
-
* @param {
|
|
640
|
-
* @param {
|
|
641
|
-
* @param {
|
|
642
|
-
* @param {
|
|
643
|
-
* @param {
|
|
644
|
-
* @param {
|
|
645
|
-
* @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
|
|
646
|
-
* @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
632
|
+
* @param {object} params.event Event object
|
|
633
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
634
|
+
* @param {HTMLElement} params.event.fromElement The element which lost focus.
|
|
635
|
+
* @param {HTMLElement} params.event.toElement The element which gained focus.
|
|
636
|
+
* @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
|
|
637
|
+
* @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
|
|
638
|
+
* @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
647
639
|
*/
|
|
648
640
|
(e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
|
|
649
641
|
/**
|
|
@@ -652,25 +644,21 @@ const emit = defineEmits<{
|
|
|
652
644
|
* will not trigger this event. This is when focus exits this widget completely.
|
|
653
645
|
* @param {string} e Event name
|
|
654
646
|
* @param {object} params Event parameters
|
|
655
|
-
* @param {
|
|
656
|
-
* @param {
|
|
657
|
-
* @param {
|
|
658
|
-
* @param {
|
|
659
|
-
* @param {
|
|
660
|
-
* @param {
|
|
661
|
-
* @param {
|
|
662
|
-
* @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
|
|
663
|
-
* @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
647
|
+
* @param {object} params.event Event object
|
|
648
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
649
|
+
* @param {HTMLElement} params.event.fromElement The element which lost focus.
|
|
650
|
+
* @param {HTMLElement} params.event.toElement The element which gained focus.
|
|
651
|
+
* @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
|
|
652
|
+
* @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
|
|
653
|
+
* @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
664
654
|
*/
|
|
665
655
|
(e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
|
|
666
656
|
/**
|
|
667
657
|
* Triggered after a widget was hidden
|
|
668
658
|
* @param {string} e Event name
|
|
669
659
|
* @param {object} params Event parameters
|
|
670
|
-
* @param {
|
|
671
|
-
* @param {
|
|
672
|
-
* @param {object} params.params.event Event object
|
|
673
|
-
* @param {Core.widget.Widget} params.params.event.source The widget
|
|
660
|
+
* @param {object} params.event Event object
|
|
661
|
+
* @param {Core.widget.Widget} params.event.source The widget
|
|
674
662
|
*/
|
|
675
663
|
(e: 'hide', params: ((event: { source: Widget }) => void)|string): void
|
|
676
664
|
/**
|
|
@@ -678,14 +666,12 @@ const emit = defineEmits<{
|
|
|
678
666
|
* The active record, list item index, and the triggering event are passed.
|
|
679
667
|
* @param {string} e Event name
|
|
680
668
|
* @param {object} params Event parameters
|
|
681
|
-
* @param {
|
|
682
|
-
* @param {
|
|
683
|
-
* @param {
|
|
684
|
-
* @param {Core.
|
|
685
|
-
* @param {
|
|
686
|
-
* @param {
|
|
687
|
-
* @param {number} params.params.event.index List item index
|
|
688
|
-
* @param {Event} params.params.event.event Triggering event
|
|
669
|
+
* @param {object} params.event Event object
|
|
670
|
+
* @param {Core.widget.List} params.event.source The List instance
|
|
671
|
+
* @param {HTMLElement} params.event.item The clicked list element
|
|
672
|
+
* @param {Core.data.Model} params.event.record Activated record
|
|
673
|
+
* @param {number} params.event.index List item index
|
|
674
|
+
* @param {Event} params.event.event Triggering event
|
|
689
675
|
*/
|
|
690
676
|
(e: 'item', params: ((event: { source: List, item: HTMLElement, record: Model, index: number, event: Event }) => void)|string): void
|
|
691
677
|
/**
|
|
@@ -694,21 +680,17 @@ const emit = defineEmits<{
|
|
|
694
680
|
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#event-paint)
|
|
695
681
|
* @param {string} e Event name
|
|
696
682
|
* @param {object} params Event parameters
|
|
697
|
-
* @param {
|
|
698
|
-
* @param {
|
|
699
|
-
* @param {
|
|
700
|
-
* @param {Core.widget.Widget} params.params.event.source The widget being painted.
|
|
701
|
-
* @param {boolean} params.params.event.firstPaint `true` if this is the first paint.
|
|
683
|
+
* @param {object} params.event Event object
|
|
684
|
+
* @param {Core.widget.Widget} params.event.source The widget being painted.
|
|
685
|
+
* @param {boolean} params.event.firstPaint `true` if this is the first paint.
|
|
702
686
|
*/
|
|
703
687
|
(e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void
|
|
704
688
|
/**
|
|
705
689
|
* Fired when a Widget's read only state is toggled
|
|
706
690
|
* @param {string} e Event name
|
|
707
691
|
* @param {object} params Event parameters
|
|
708
|
-
* @param {
|
|
709
|
-
* @param {
|
|
710
|
-
* @param {object} params.params.event Event object
|
|
711
|
-
* @param {boolean} params.params.event.readOnly Read only or not
|
|
692
|
+
* @param {object} params.event Event object
|
|
693
|
+
* @param {boolean} params.event.readOnly Read only or not
|
|
712
694
|
*/
|
|
713
695
|
(e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void
|
|
714
696
|
/**
|
|
@@ -720,57 +702,47 @@ const emit = defineEmits<{
|
|
|
720
702
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
721
703
|
* @param {string} e Event name
|
|
722
704
|
* @param {object} params Event parameters
|
|
723
|
-
* @param {
|
|
724
|
-
* @param {
|
|
725
|
-
* @param {
|
|
726
|
-
* @param {
|
|
727
|
-
* @param {number} params.
|
|
728
|
-
* @param {number} params.
|
|
729
|
-
* @param {number} params.params.event.oldWidth The old width
|
|
730
|
-
* @param {number} params.params.event.oldHeight The old height
|
|
705
|
+
* @param {object} params.event Event object
|
|
706
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
707
|
+
* @param {number} params.event.width The new width
|
|
708
|
+
* @param {number} params.event.height The new height
|
|
709
|
+
* @param {number} params.event.oldWidth The old width
|
|
710
|
+
* @param {number} params.event.oldHeight The old height
|
|
731
711
|
*/
|
|
732
712
|
(e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void
|
|
733
713
|
/**
|
|
734
714
|
* Fired when selection changes
|
|
735
715
|
* @param {string} e Event name
|
|
736
716
|
* @param {object} params Event parameters
|
|
737
|
-
* @param {
|
|
738
|
-
* @param {
|
|
739
|
-
* @param {
|
|
740
|
-
* @param {Core.widget.List} params.params.event.source The List instance
|
|
741
|
-
* @param {Core.data.Model[]} params.params.event.selected An array of the currently selected records
|
|
717
|
+
* @param {object} params.event Event object
|
|
718
|
+
* @param {Core.widget.List} params.event.source The List instance
|
|
719
|
+
* @param {Core.data.Model[]} params.event.selected An array of the currently selected records
|
|
742
720
|
*/
|
|
743
721
|
(e: 'selectionChange', params: ((event: { source: List, selected: Model[] }) => void)|string): void
|
|
744
722
|
/**
|
|
745
723
|
* Triggered after a widget is shown.
|
|
746
724
|
* @param {string} e Event name
|
|
747
725
|
* @param {object} params Event parameters
|
|
748
|
-
* @param {
|
|
749
|
-
* @param {
|
|
750
|
-
* @param {object} params.params.event Event object
|
|
751
|
-
* @param {Core.widget.Widget} params.params.event.source The widget
|
|
726
|
+
* @param {object} params.event Event object
|
|
727
|
+
* @param {Core.widget.Widget} params.event.source The widget
|
|
752
728
|
*/
|
|
753
729
|
(e: 'show', params: ((event: { source: Widget }) => void)|string): void
|
|
754
730
|
/**
|
|
755
731
|
* Group item expanded or collapsed
|
|
756
732
|
* @param {string} e Event name
|
|
757
733
|
* @param {object} params Event parameters
|
|
758
|
-
* @param {
|
|
759
|
-
* @param {
|
|
760
|
-
* @param {
|
|
761
|
-
* @param {Core.data.Model} params.params.event.groupRecord Group record
|
|
762
|
-
* @param {boolean} params.params.event.collapse Collapsed (true) or expanded (false)
|
|
734
|
+
* @param {object} params.event Event object
|
|
735
|
+
* @param {Core.data.Model} params.event.groupRecord Group record
|
|
736
|
+
* @param {boolean} params.event.collapse Collapsed (true) or expanded (false)
|
|
763
737
|
*/
|
|
764
738
|
(e: 'toggleGroup', params: ((event: { groupRecord: Model, collapse: boolean }) => void)|string): void
|
|
765
739
|
/**
|
|
766
740
|
* Tree parent node expanded or collapsed
|
|
767
741
|
* @param {string} e Event name
|
|
768
742
|
* @param {object} params Event parameters
|
|
769
|
-
* @param {
|
|
770
|
-
* @param {
|
|
771
|
-
* @param {
|
|
772
|
-
* @param {Core.data.Model} params.params.event.record The parent record which has been toggled
|
|
773
|
-
* @param {boolean} params.params.event.collapse Collapsed (true) or expanded (false)
|
|
743
|
+
* @param {object} params.event Event object
|
|
744
|
+
* @param {Core.data.Model} params.event.record The parent record which has been toggled
|
|
745
|
+
* @param {boolean} params.event.collapse Collapsed (true) or expanded (false)
|
|
774
746
|
*/
|
|
775
747
|
(e: 'toggleNode', params: ((event: { record: Model, collapse: boolean }) => void)|string): void
|
|
776
748
|
}>();
|
|
@@ -38,6 +38,8 @@ export declare type BryntumGroupBarProps = {
|
|
|
38
38
|
/**
|
|
39
39
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
40
40
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-element).
|
|
41
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
42
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-appendTo)
|
|
41
43
|
*/
|
|
42
44
|
appendTo ? : HTMLElement|string
|
|
43
45
|
/**
|
|
@@ -87,9 +89,11 @@ export declare type BryntumGroupBarProps = {
|
|
|
87
89
|
/**
|
|
88
90
|
* If [closable](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-closable) is `true`, this is the name of a callback function to handle what the "close"
|
|
89
91
|
* action means. If not provided, the record representing the chip is removed from the store.
|
|
92
|
+
* @param {Core.data.Model[]} records Records to be closed
|
|
93
|
+
* @param {object} options Close options
|
|
90
94
|
* @returns {void}
|
|
91
95
|
*/
|
|
92
|
-
closeHandler ? : string|(() => void)
|
|
96
|
+
closeHandler ? : string|((records: Model[], options: object) => void)
|
|
93
97
|
/**
|
|
94
98
|
* Custom CSS classes to add to element.
|
|
95
99
|
* May be specified as a space separated string, or as an object in which property names
|
|
@@ -266,10 +270,14 @@ export declare type BryntumGroupBarProps = {
|
|
|
266
270
|
ignoreParentReadOnly ? : Boolean
|
|
267
271
|
/**
|
|
268
272
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
273
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
274
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-insertBefore)
|
|
269
275
|
*/
|
|
270
276
|
insertBefore ? : HTMLElement|string
|
|
271
277
|
/**
|
|
272
278
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
279
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
280
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/GroupBar#config-insertFirst)
|
|
273
281
|
*/
|
|
274
282
|
insertFirst ? : HTMLElement|string
|
|
275
283
|
/**
|