JavaScript array containing data for the component
var books = [
[ "War and Peace", "Leo Tolstoy" ],
[ "Hamlet", "Shakespeare" ],
[ "Madame Bovary", "Gustave Flaubert" ]
];
webix.ui({
view: "contextmenu",
data: books, width:260,
datatype: "jsarray",
template: "#data0# (#data1#)"
});
For data types other than JSON the property is used together with the datatype parameter.