ajax request for config

As in documentation I want to try something like this:
webix.ajax(“config.html”, function(text){
webix.ui(webix.DataDriver.html.toObject(text)).show();
});
But I don’t know what format text must be?
I tried to create plain file config.html with window configuration:
{
view: “window”,
id: “test”,

}
without any html tags and it did not work. :slight_smile:
Any help?

Solved. Added html and body tags to the config.html.

If there’s no HTML tags you can also store window configuration in config.json file and parse its contents with the help of JSON dataDriver. As in the sample: http://docs.webix.com/samples/15_datatable/01_loading/10_custom_configuration_format.html