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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Update ejGrid with BatchUrl / Error when updating grid

Thread ID:

Created:

Updated:

Platform:

Replies:

131817 Jul 28,2017 09:08 AM UTC Aug 4,2017 05:26 AM UTC JavaScript 3
loading
Tags: ejGrid
bdu
Asked On July 28, 2017 09:08 AM UTC

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

Prasanna Kumar Viswanathan [Syncfusion]
Replied On 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 


bdu
Replied On 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


Renjith Singh Rajendran [Syncfusion]
Replied On 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. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;