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
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.
If you have not checked yet, be sure to visit site of our main product Webix best ui framework and page of object list javascript product.