Hi Team,
i’m able to save spreadsheet data using serialization, but i’ve an issue while
loading the data back. Could you please share an example to load the data set which is cosumed using the REST service endpoint and JSON style format?
While trying to reload the data, it’s received successfully from the server but while loading parsing it’s throwing the following error. Not sure what’s the problem here.
TypeError: e is undefined
spreadsheet.js (line 10, col 1367)
I’ve tried both AJAX and URL load approach.
Here’s the code snipet.
AJAX approach :
function loadData(){
$$(“ss”).reset();
webix.ajax(“http://XXXX/api/test”, function(text){
$$(“ss”).parse(text,“json”);
});
//$$(“ss”).load(“http://XXXX/api/test”);
}
Using load API:
webix.ui({
cols:[
buttons,
{view:“resizer”},
{
view:“spreadsheet”,
id:“ss”,
toolbar: “full”,
subbar:{
view:“toolbar”, css:“webix_ssheet_toolbar”, elements:elements
},
//data:sheet1_data
url:“http://XXXX/api/test”,
}
]
});
Regards,
Siva.