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

dataStateChange of ejs Grid does not fire . Cannot add new row.

We are  facing issues while performing  CRUD operation through the Syncfusion ejs grid with Angular 7 using web API.

When add row  button is clicked , a row is seen as added in the UI, but when clicked on update the given row is not getting updated to database

 1. In order to save the record  in database, we have tried to save data on datastatechanged event of ejs grid , but it is not working. event does not get fired at all 

  1. Next we  tried to do it by using URLAdaptors , but it gives connection_refused_error for controller's methods

 Can you provide some pointers about why the event is not getting triggered ? Would appreciate urgent help. 


1 Reply

MF Mohammed Farook J Syncfusion Team December 17, 2018 07:22 AM UTC

Hi Anthony, 

Greetings from Syncfusion. 

Query :  Can you provide some pointers about why the event is not getting triggered ? 
We have analyzed your query and dataStateChange event will be triggered only after the grid update. So you cannot bind new rows to the grid in this event but instead we suggest to use the actionBegin event with a condition as ‘args.requestType’ is ‘save’. Please refer to the below documentations for your reference, 


If we have misunderstood your query, then please provide the below information or details to look into this issue further, 

  1. Are you not using updateUrl property of dataManager? This will handle the update request by default.
  2. Please provide your controller side code?
  3. Please share the full grid code example?

J Mohammed Farook 

Live Chat Icon For mobile
Up arrow icon