This is a migrated thread and some comments may be shown as answers.

Issue: Last value entered is not being taken in the toJSON function

2 Answers 60 Views
Spreadsheet
This is a migrated thread and some comments may be shown as answers.
Jim
Top achievements
Rank 1
Jim asked on 10 Aug 2017, 01:42 PM
I have an issue where we populate a blank spreadsheet for the user, they input some data, then click a button to submit it.  We then use the toJSON method on the spreadsheet to send the data to our API to parse and save.  However, if the user enters some data then doesn't tab (or click out of) that cell that they entered the data in, it isn't being sent with the other data.

2 Answers, 1 is accepted

Sort by
0
Veselin Tsvetanov
Telerik team
answered on 11 Aug 2017, 11:52 AM
Hi Jim,

Here you will find a simple Dojo, based on the scenario described. If you type text in the A1 cell and then click the Alert button (without clicking somewhere else in the Spreadsheet), you will notice, that the JSON result form the Spreadsheet returns the newly added text from that cell.

If you use a previous release of Kendo (not the R2 2017.2.621), you may observe improper behaviour as the described. If this is your case, I would recommend you to upgrade the version of Kendo to the latest. This way you will be able to benefit from a number of bug fixes and new features introduced for the widgets.

If this is not the case, I would like to ask you to modify this sample, so it reproduces the issue observed at your end and send it back to us. This way we will be able to troubleshoot the problem locally and to provide you with the most appropriate assistance for this case.

Regards,
Veselin Tsvetanov
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Jim
Top achievements
Rank 1
answered on 14 Aug 2017, 11:46 AM
Thank you for the quick response, it appears as though we are using an outdated version of the software, we will try updating and see if that fixes the issue.
Tags
Spreadsheet
Asked by
Jim
Top achievements
Rank 1
Answers by
Veselin Tsvetanov
Telerik team
Jim
Top achievements
Rank 1
Share this question
or