Home Forums FlexGanttFX How to add a column to the treeview

Viewing 2 reply threads
  • Author
    Posts
    • Daniel
      Participant
      Post count: 4
      #13871 |

      Hello,
      How can I add a second or third column to the Treeview in the Primary Detail section?

      • This topic was modified 1 year, 4 months ago by Daniel.
    • Dirk Lemmermann
      Keymaster
      Post count: 69
      #13873 |

      I am assuming you are using the DualGanttChartContainer (because you mention “primary”). In this case:

      
      GanttChart ganttChart = container.getPrimaryGanttChart();
      TreeTableView treeTableView = ganttChart.getTreeTableView();
      treeTableView.getColumns().add(new TreeTableColumn(....));
      
    • Daniel
      Participant
      Post count: 4
      #13874 |

      Ok, Thank you very much. That helped me.

Viewing 2 reply threads
  • You must be logged in to reply to this topic.