CRUD

Hi,

We are using the save button of the custom editor window to perform crud operations, when inserting a new event looks like its not reading the auto generated sql id returned by REST APi in the response object, we have correctly mapped the eventid field to the id field of the event settings, please provide sample code. 

if (args.requestType === 'eventCreate') {
     rest_api_call(eventobject).subscribe(data => {})     //here we receive the server generated id
}

Thanks.

1 Reply

HB Hareesh Balasubramanian Syncfusion Team April 22, 2020 02:26 PM UTC

Hi Umair, 

Greetings from Syncfusion Support. 

We have validated your reported query “We are using the save button of the custom editor window to perform crud operations, when inserting a new event looks like its not reading the auto generated sql id returned by REST APi in the response object” at our end. We have prepared a CRUD sample using Restful service with the customized window that has been rendered using editorTemplate property and the sample can be downloaded from the following link. 


And for further reference kindly refer the below UG link, 

Kindly try the above CRUD sample and revert us if you have any further assistance. 

Regards, 
Hareesh 


Loader.
Up arrow icon