Skip to content

data

JavaScript array containing data for the component

let data: string|array|object
var books = [
[ "War and Peace", "Leo Tolstoy" ],
[ "Hamlet", "Shakespeare" ],
[ "Madame Bovary", "Gustave Flaubert" ]
];
webix.grid({
data: books,
datatype: "jsarray",
autoConfig: true
});

also check the next samples:

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

Articles

API