Edit value in Grid and pass viewModel to Controller

Hi, I would like to ask if it is possible to edit values in grid, save them and pass with viewmodel to controller for update db or something??

I know grid has edit mode, but i can't find any examples to do it.

P.S I was trying to implement it, but only last updated row value is sending to controller, another rows are the same before update...

Regards!

1 Reply

MS Manivel Sellamuthu Syncfusion Team February 12, 2020 09:43 AM UTC

Hi Bartosz, 

Thanks for contacting us. 

In Grid, we only have support for single row editing in edit mode and that edited row data only will be sent to controller. This is the default behavior. For that you can use URL Adaptor. Please refer the below documentation link for more information. 


Please get back to us, if you need further assistance. 

Regards, 
Manivel 


Loader.
Up arrow icon