save

defines URLs for data saving

string save;

Example

webix.ui({
  id: "mylist",
  view: "list",
  url: "data.php",
  save: "save.php"
});

Details

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",
  url: "data.php",
  save: "connector->save.php"
})
See also
Back to top