Override Edit/Add dialog save method

Because there currently no good way to implement search when the data grid uses the DataManager, I find that I need to bind datagrid to a local List<T> and then implement the CRUD operations manually. I would like to use the existing Edit/Add dialog. However, I don't see any way of overriding the save method.

Please advise.

Kind regards,
Judi Smith


3 Replies 1 reply marked as answer

RS Renjith Singh Rajendran Syncfusion Team March 8, 2021 12:15 PM UTC

Hi Judi, 

Greetings from Syncfusion support. 

Based on your scenario, it is recommend to use Custom way of binding data to Grid. With this support you can handle the CRUD operations in Grid in a custom way by overriding our default CRUD methods Insert/InsertAsync, Remove/RemoveAsync, Update/UpdateAsync and also you can handle the DataOperations in Read/ReadAsync method based on the query from DataManagerRequest. 

References :  

Please get back to us if you need further assistance. 

Regards, 
Renjith Singh Rajendran 


Marked as answer

JS Judi Smith March 10, 2021 02:28 PM UTC

Thank you. That was helpful.


RS Renjith Singh Rajendran Syncfusion Team March 11, 2021 05:26 AM UTC

Hi Judi, 

Thanks for your update. 

We are glad to hear that the provided suggestion helped you. Please get back to us if you need further assistance. 

Regards, 
Renjith Singh Rajendran 


Loader.
Up arrow icon