defines data driver - methods and properties for data parsing
// load JSON
$$('mylist').data.driver = webix.DataDriver.json;
$$('mylist').load("data.json");
// it is the same as
$$('mylist').load("data.json","json");
// load XML
$$('mylist').data.driver = webix.DataDriver.xml;
$$('mylist').load("data.xml","xml");
The property can take one of a predefined set of values.
The predefined values are:
Or the name of a custom-defined data type:
webix.DataDriver.customType={ //customType - the name of the new data type
...
}
$$('mylist1').data.driver = webix.DataDriver.customType;