data

JavaScript array containing data for the component

string|array|object data;

Example

var books = [
    [ "War and Peace", "Leo Tolstoy" ],
    [ "Hamlet", "Shakespeare" ],
    [ "Madame Bovary", "Gustave Flaubert" ]
];
 
webix.ui({
    view: "list",
    data: books,
    datatype: "jsarray",
    template: "#data0# (#data1#)"
});

Related samples

Details

For data types other than JSON the property is used together with the datatype parameter.

See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix javascript web framework and page of data view html5 product.