I am using this method to iterate a range, however, the value parameter does not have a value attribute - it only has the prototype value.
I am populating the data using a webservice, and use AngularJS in my application.
Can you think of any reason I dont have the value attribute (the cells have data in)
Thanks
Marc!
5 Answers, 1 is accepted
I prepared a simple AngularJS application with a spreadsheet, getting data from a remote service that seems to be working as expected:
http://dojo.telerik.com/EzEYE
Can you please compare it to your implementation, and apply the necessary adjustments? I hope this helps, but if the issue persists, we will need a similar isolated runnable project, where it can be observed, so we can inspect it further, and try to determine what is causing the undesired behavior. Thank you in advance.
Regards,
Dimiter Topalov
Telerik by Progress
Hi Dimiter
I checked my code and I found some errors on my side - apologies for wasting your time, but thank you for the demo!
Marc
Could you explain what this is used for though please?
parameterMap: function(options, operation) {
if (operation !== "read" && options.models) {
return {models: kendo.stringify(options.models)};
}
}
The dataSource.transport.parameterMap is irrelevant in the discussed scenario. It is just a leftover from the original demo I used to make the example:
http://demos.telerik.com/kendo-ui/spreadsheet/index
In the online-demo scenario, the parameterMap is required because of the involved CRUD operations. I am sorry for the confusion caused.
Regards,
Dimiter Topalov
Telerik by Progress
Hi Dimiter,
I did realise it was irrelevant in this scenario, I was just interested! Thanks again!
Marc