Documentation

driver

defines data driver - methods and properties for data parsing

object driver;

Example

$$('mylist').data.driver = webix.DataDriver.xml;
$$('mylist').load("data.xml");
// it is the same as
$$('mylist').load("data.xml","xml");

See also

Details

The property can take one of a predefined set of values.
The predefined values are:

  1. xml (default)
  2. json
  3. csv
  4. jsarray
  5. html
  6. htmltable

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;
Back to top