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

Update ejGrid with BatchUrl / Error when updating grid

Hello

I use the grid (ejGrid) and I would like to make an update using in the DataManager the BatchUrl.
During the update (click on the small icon in the header of the grid save) the controller is activated, I have the row changed in the parameter: EditParams pValueParams, "change".
I update the database using the Entity Framework.
Then the grid is always in Edit mode, as if it does not know I made the update.

I also have a mistake:

Ej.web.all.min.js? Cdv = 51: 10 Uncaught TypeError: Can not read property 'groupDs' of null
    
At i.processResponse (ej.web.all.min.js? Cdv = 51: 10)
    
At t.DataManager. <Anonymous> (ej.web.all.min.js? Cdv = 51: 10)
    
At Object.success (ej.web.all.min.js? Cdv = 51: 10)
    
At fire (jquery.js? Cdv = 51: 1037)
    
At Object.fireWith [as resolveWith] (jquery.js? Cdv = 51: 1148)
    
At done (jquery.js? Cdv = 51: 8074)
    
At XMLHttpRequest.callback (jquery.js? Cdv = 51: 8598)

I have seen all the examples, but I do not find the solution.
Do you have an example to better understand how batchUrl works

Thank you

Greetings from Switzerland, it's raining ... :-)




Attachment: ExcludeComputer_a0ed783a.zip

3 Replies

PK Prasanna Kumar Viswanathan Syncfusion Team July 31, 2017 05:24 PM UTC

Hi Sir, 

Thanks for contacting Syncfusion support. 

We checked in our sample and when we make an update with BatchURL we did not face the mentioned issue in our sample. In this you have mentioned that you can get the changed values in the parameter of the Batch URL. So, we need the following details to find out the root cause of the issue.  

1. Code example of a Grid and controller.  

2. Share one record of data that you have bounded to the Grid. 

3. Have you used complex data in your sample.  

4. Essential Studio Version details. 

5. If possible, replicate the issue in the attached sample.  


Regards, 
Prasanna Kumar N.S.V 



BD bdu August 3, 2017 09:41 AM UTC

Thank you for your help and example.

But I can not operate the BatchEdit mode.

Your example is very clear, I understand it very well, but with my page Javacript and my controler via webApi, I can not manage to operate this mode BatchEdit.

It does not matter, I changed to normal mode and my page works perfectly with the update.

Thank you again, good day



RS Renjith Singh Rajendran Syncfusion Team August 4, 2017 05:26 AM UTC

Hi Sir, 

We are happy to hear that your issue has been resolved. 

Please get back to us if you need further assistance. 

Regards, 
Renjith Singh Rajendran. 


Loader.
Live Chat Icon For mobile
Up arrow icon