defines URLs for data saving
webix.ui({
id: "mylist",
view: "list",
load: "data.php",
save: "save.php"
});
If the property is set, the component will create a DataProcessor instance, and initialize it with the defined URL.
If you need to get the DataProcessor, you can use:
var view = $$("myview");
var dp = webix.dp(view); // the dataprocessor that was assigned to the view
To use a server-side connector, you can initialize save
as follows:
webix.ui({
view: "list",
load: "data.php",
save: "connector->save.php"
})
Back to top