Hello,
I have the Gantt linked to a MySQL database, but it’s automatically expanded when I open the page.
How to do it ?
Thanks
Hello,
I have the Gantt linked to a MySQL database, but it’s automatically expanded when I open the page.
How to do it ?
Thanks
If you are using connector, just be sure to remove the next line from default gantt’s server side
$gantt->mix("open", 1);
If you are using your own backend, be sure that it generates json without “open” property for each item.
In which file ?
In fact, I want that all items should be auto expanded and not closed as it is now.
The code should be added to the gantt connector file (php), where $gantt is an instance of GanttConnector class
Thank you Aliaksandr but I can’t find where I should do it
Disregard, it works fine now !!
Thanks mate