We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Batch mode saving empty cells as {} instead of ""

I saw earlier there was a post here but don't know if there's any update for a fix: https://www.syncfusion.com/feedback/4628/grid-shows-invalid-result-while-edit-string-column-values-in-batch-mode

Is this the intended interaction for empty cells in batch mode? Why are empty cells saved as {} or [Object object] instead of ""? 

3 Replies

MS Madhu Sudhanan P Syncfusion Team February 18, 2019 05:25 AM UTC

Hi Ryan, 

Thanks for contacting Syncfusion support. 

The issue “Grid shows invalid result while edit string column values in batch mode” is fixed and included in our EJ2 v16.4.53 release, please upgrade to the latest version to resolve this issue. 

Regards, 
Madhu Sudhanan P 



RN Ryan Ngoh February 18, 2019 07:21 PM UTC

What exactly is this supposed to fix? I still get empty cells showing [Object object] by default. 


MS Madhu Sudhanan P Syncfusion Team February 19, 2019 09:14 AM UTC

Hi Ryan, 
Thanks for the update. 
When clearing the cell content, it was saved as [Object object] which was the issues logged in the below feedback report and the same was fixed and included in v16.4.53. Please find the below sample and try to clear any cell content to empty and save it. Now it will be saved properly. 
 
 
Also if you are trying to add new record in the grid with empty data source then we must specify the column type explicitly to avoid this problem. 
 
 
<ColumnDirective field='OrderID' type="number" . . . ></ColumnDirective> 
 
 
If the information didn’t resolved your problem please get back to us with more information on the problem you have faced. 
 
Regards, 
Madhu Sudhanan P  


Loader.
Live Chat Icon For mobile
Up arrow icon