It has an url property and load method, but I cannot seem to get anything in, even when matching name:value from json data to the element ID’s. For example: http://snippet.webix.io/3a5b3a2e
Ok, was hoping that url and load would work too, since I’m planning on many screens with property sheets. Would save me some work.
You can use webix.ajax to load data and call setValues from loading handler:
function load(url, grid){
webix.ajax(url , function(text, response, loader){
var data = webix.DataDriver.json.toObject(text);
grid.setValues(data);
});
}
load("data.json", $$("sets"));
Ok, nice one, works perfect.