Grid editing using a different object for add/edit

Hi there,

I am reviewing your grid editing documentation and have seen range of articles on customising the edit template, using custom commands, using custom data adapters. They are great for making it easy and all of them will be useful building blocks for creating my own crud system.

However I use a CQRS backend model and have separate commands for each action. How do I bind the add template and edit templates to different objects and keeping the flow within your grid system. I would rather not have to create separate custom dialogs for each.

Thanks very much


1 Reply 1 reply marked as answer

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

Hi Dean, 

Greetings from Syncfusion support. 

We would like to inform you that Grid is a strongly typed component. We will process actions in grid only based on the model class. So it is not feasible to use different models for read and write actions in grid. 

Please get back to us if you need further assistance. 

Regards, 
Renjith R 


Marked as answer
Loader.
Up arrow icon