Hello Webix Team,
I have recently started using webix spreadsheet component.
I want to display a spreadsheet kind of table in my application using JSON data like below :
webix.ui({
id: “ssheet”,
container:“data”,
view:“spreadsheet”,
data: [{ “name”:“John”, “age”:30, “car”:null },{ “name”:“John”, “age”:30, “car”:null }]
});
But I am getting the below error when I use the above code snippet :
Uncaught TypeError: Cannot read property ‘data’ of undefined
at kt (sheets.js:354)
at Ct (sheets.js:334)
at _t (sheets.js:313)
at n (sheets.js:300)
at u.$onLoad (spreadsheet.js:117)
at u.Et (webix.js?v=6.4.2:19)
at u.Bt (webix.js?v=6.4.2:19)
at u.parse (webix.js?v=6.4.2:19)
at u.data_setter (webix.js?v=6.4.2:19)
at u.Ft (webix.js?v=6.4.2:19)
Please let me know how to resolve the same.