init gant in XML?

Maybe a stupid question, but I am not an expert in XML.
Is it possible to init the gantt in an XML file?

By now I load the form.xml in a tab and would like to add the gantt chart to the form.xml
I don’t n know how. On almost every example on the site the containers are defined in the HTML code.

Thanks in advance,
Alex

Yes it is possible, please download the archive ant see folder /samples/02_data_load

When I try to use those samples I am getting “File (data/data2.xml) is not found” for every file. Are they still there?

When I try to use those samples I am getting “File (data/data2.xml) is not found” for every file. Are they still there?

Double post

Yes. But you need http server to try, like apache or iis.

My mistake, I thought I was using the live demo and not a local one.

Maybe I asked the wrong question, but in the /samples/02_data_load there is also the HTML container definition:

What I meant was something like the combobox definition in form.xml not in the HTML page.
In from.xml the combo is like:

The combo can then be filled by:
Form.loadStruct(“xml/form.xml”,function(){
Combo = Form.getCombo(“combo1”);
Combo.loadXML(“xml/connect.php”);
});

Is there a similair way to init the Gantt chart in from.xml and fill it like the combo?

Alex

No, gantt is not a part of form.