the URL which the component will use to load data after its initialization
webix.ui({
datatype: "xml",
url: "data.xml"
...
});
Used in conjunction with the datatype parameter.
If datatype isn't provided, the component will expect data in JSON format.
The url parameter can be set as:
webix.ui({
view:"datatable", id:"table",
url:"some.php"
});
{ view:"datatable", id:"table", autoConfig:true, url:function(){
return webix.ajax(url).then(function(data){
return data.json();
});
}};
{ view:"list", id:"list", template:"#id#. #package#", url:{
$proxy:true,
load:function(view, callback, params){
webix.ajax().bind(view).get(url, params, callback);
}
}};