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

Saving changes in Batch Edit mode and JS error when BatchEditingSettings's EditType="Row"

2 Answers 69 Views
Grid
This is a migrated thread and some comments may be shown as answers.
djbox3
Top achievements
Rank 1
djbox3 asked on 20 Feb 2015, 03:38 AM
I get a JS exception error message, when I add new and delete new create row and attempt to save.
I have wired a button to save changes.
$find(radgridid).get_batchEditingManager().saveChanges($find(radgridid).get_masterTableView())
RadGrid's is in "Batch" mode and the EditType is "Row".

JS exception error message:
Uncaught TypeError: Cannot read property 'cells' of null

2 Answers, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 24 Feb 2015, 09:00 AM
Hi,

Can you please try running your application with the latest release version of the controls (trial or dev) and see whether this will change something?

Also, make sure that when you are running this script snippet, the grid and masterTableView client-side objects are fully loaded, for example on a button click event handler:
http://www.telerik.com/forums/how-to-fire-the-updateedited-method-from-an-outside-button#5Af7aU0fFEa0UKS5HOhyjA

Hope this helps.

Regards,
Eyup
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Tony
Top achievements
Rank 1
answered on 08 Feb 2017, 09:27 PM
I am having this same exact issue but do not have the luxury of updated to the latest Telerik release. Telerik is currently integrated with another piece of software. Is there any kind of workaround?
Tags
Grid
Asked by
djbox3
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Tony
Top achievements
Rank 1
Share this question
or