Our state of the art Gantt chart


Post by vasudha »

 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
Attachments
Capture23.PNG
Capture23.PNG (4.64 KiB) Viewed 72 times
Last edited by vasudha on Wed Mar 06, 2024 11:50 am, edited 1 time in total.

Post by khattakdev »

Hi there,

Looks like you have provided partial information. Please edit your post and add more information to it.

Arsalan
Developer Advocate


Post Reply