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
close icon

MVC Grid to be used for child rows

I have a requirement for a master detail form such as an invoice where we'd use standard form controls for the header such as Customer, Date, and Order Number etc. The invoice items would then be controlled by the grid. The problem comes when I'm thinking about saving the data and incorporating the child data. I've had decent success using the grid on it's own on a page using batch inputting and have managed to wire most things successfully, but in the 'real world' the grid will probably be associated with a master record where data entry would ideally be done all at once. The save button on the grid only calls the save method for those rows as far as I understand in my MVC controller?

Do you have any literature or samples that could point me in the right direction.

Thank you in advance.

Kind Regards,

Paul Pitchford.


1 Reply

PK Prasanna Kumar Viswanathan Syncfusion Team February 11, 2015 12:39 PM UTC

Hi Paul,

Sorry for the inconvenience caused,

We unable to understand your requirement ,kindly refer the below link and  could you please let us know what type of grid you are using weather master detail grid or hierarchy grid?

Hierarchy Grid:

Link: http://mvc.syncfusion.com/demos/web/grid/hierarchygrid

Masters Grid:

Link: http://mvc.syncfusion.com/demos/web/grid/masterdetails

Additionally in the requirement, you mention that you are using edit type as batch and have a problem in saving the data. Can you please let us know the problem occurs while saving the data in child grid data or parent grid?  

So, Please send the details of an requirement as a screenshot or code snippet that will help as to provide a better solution asap.

Regards,

Prasanna Kumar N.S.V

Loader.
Live Chat Icon For mobile
Up arrow icon