Our state of the art Gantt chart


Post by sidyfall »

Hi, I'm currently working on integrating GANTT and i wanted to make a simple dataset just to play around the UI but i can't seem to be able to set the start date of tasks and link them to successors or predecessors.
Here's a nippet of my dataset :

Capture d’écran du 2022-01-17 16-17-36.png
Capture d’écran du 2022-01-17 16-17-36.png (75.03 KiB) Viewed 524 times

I'm pretty sure i'm missing something but i can't find out what it is in the doc or examples


Post by sidyfall »

Full dataset i tried :

config: {
        columns: [
          { field: "surName", text: "Surname", hidden: false },
          { field: "age", text: "Age", align: "right" },
          { field: "city", text: "City", editor: false },
        ],
        startDate: new Date(2020, 0, 14),

    data: [
      {
        id: 1,
        name: "Setup Web Server",
        startDate: "2020-01-14",
        expanded: true,
        duration: 10,
        percentDone: 50,
        children: [
          {
            id: 2,
            name: "Install Apache",
            startDate: "2020-01-14",
            endDate: "2020-01-17",
            duration: 3,
            percentDone: 70,
          },
          {
            id: 3,
            name: "Configure firewall",
            startDate: "2020-01-17",
            endDate: "2020-01-18",
            duration: 1,
            percentDone: 18,
          },
        ],
      },
    ],
  },
 

Post by alex.l »

Hi sidyfall,

Please have a look at our examples, you have it in the sources you downloaded, check the examples/frameworks folder.

We have a guide how to load data into Gantt here https://bryntum.com/docs/gantt/guide/Gantt/data/project_data
This is an article how to work with inline data https://bryntum.com/docs/gantt/guide/Gantt/data/project_data#working-with-inline-data

All the best,
Alex


Post by sidyfall »

Hi Alex,

I downloaded and started the demo from the trial version 4.3.6 of vue-3 but i have an error on the console.

Capture d’écran du 2022-01-21 14-47-13.png
Capture d’écran du 2022-01-21 14-47-13.png (89.53 KiB) Viewed 465 times
alex.l wrote: Tue Jan 18, 2022 1:05 pm

Hi sidyfall,

Please have a look at our examples, you have it in the sources you downloaded, check the examples/frameworks folder.

We have a guide how to load data into Gantt here https://bryntum.com/docs/gantt/guide/Gantt/data/project_data
This is an article how to work with inline data https://bryntum.com/docs/gantt/guide/Gantt/data/project_data#working-with-inline-data


Post by mats »

Looks like this is caused by the fact that your trial is expired. If you need more time, please contact sales at bryntum and we will extend it (once) for you.


Post by sidyfall »

I managed to get the data on my project correctly now. The issue i still have are the startdates of some tasks.
Is there a constraint that makes the start date of child tasks the same as the parent start date.
I'm reading through the documentation and i can't find this information.


Post by sidyfall »

I found my answer in a different post, it's ok now


Post Reply