If I use an external configuration file (JSON) to organize and fill a datatable, this will not work well.
If I call the json file in different ways, it just show me the database structure (columns) from configuration but not the data from the data part.
I tried with:
webix.ajax().get("loadmainview.php?view=1", function(text, data, XmlHttpRequest){
$$("mainViewAfterLoad").clearAll();
$$("mainViewAfterLoad").parse(text);
//$$("contextDetails").show();
});
and also
$$("mainViewAfterLoad").clearAll();
$$("mainViewAfterLoad").load("loadmainview.php?view=1");
Both fail same. Structure is there but no data.