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