const tbarConfig = [
{
type: 'container',
items: [
{
ref: 'expandAllButton',
icon: 'b-fa b-fa-angle-double-down',
tooltip: intl.formatMessage({ id: 'Button_ExpandAll' }),
onAction: (props: any) => {
const gantt = props.source.parent.parent.parent;
StateHelper.clearExpandCollapse();
gantt.expandAll();
},
},
{
ref: 'collapseAllButton',
icon: 'b-fa b-fa-angle-double-up',
tooltip: intl.formatMessage({ id: 'Button_CollapseAll' }),
onAction: (props: any) => {
const gantt = props.source.parent.parent.parent;
StateHelper.clearExpandCollapse();
gantt.collapseAll();
},
},
],
},
how to combine buttons without using buttonGroup
Support Forum
- Attachments
-
- Capture23.PNG (4.64 KiB) Viewed 78 times
Last edited by vasudha on Wed Mar 06, 2024 11:50 am, edited 1 time in total.