Hi Samuel,
Thanks for using Syncfusion support.
We have analyzed your query and we suspect that you want to send selected Row data on the double click on to another view page and perform editing in it and on clicking save values must be updated in data base.
We have achieved your requirement using ActionBegin event of the grid when request Type is editing, Ajax post is sent to the another controller (GridEdit in our sample) which has two view pages for Create and Edit actions.
Refer the below code snippet
|
})
.ClientSideEvents(e=>e.ActionBegin("Begin").QueryCellInfo("cellInfo"))
)
<script type="text/javascript">
function Begin(args) {
var type = args.requestType;
if (type == "beginedit" || type == "add") {
args.cancel = true;
if (!ej.isNullOrUndefined(args.rowIndex))
var OrderID = this.model.currentViewData[args.rowIndex]["OrderID"];
this.element.ejWaitingPopup("show");
if (type == "beginedit")
var url = "/GridEdit/Edit?OrderID=" + OrderID;
else
var url = "/GridEdit/Create";
location.assign(url);
}
}
</script> |
Refer the below screenshot for the output (edit action another view)
We have prepared a sample as per your requirement which can be downloaded from below link
If we misunderstood your query please get back to us with more details.
Regards,
Vignesh Natarajan