JavaScript array containing data for the component
var books = [
[ "War and Peace", "Leo Tolstoy" ],
[ "Hamlet", "Shakespeare" ],
[ "Madame Bovary", "Gustave Flaubert" ]
];
webix.ui({
view: "list",
data: books,
datatype: "jsarray",
template: "#data0# (#data1#)"
});
The data property serves only as an initial data source. After the data has been parsed, it will be kept in the inner storage for loaded data.
The source array will be modified during data parsing. To reuse the original data array, make a copy of it and continue with the copied array.
For data types other than JSON the property is used together with the datatype parameter.