In reference to the forum thread 141654 and the provided example code at:
Added removeUrl to ejs-grid:
<e-data-manager json ="@ViewBag.datasource" adaptor="RemoteSaveAdaptor" updateUrl="Home/Update" insertUrl="Home/Insert" removeUrl="Home/Delete" ></e-data-manager>
When I attempt to add a Delete action method to your example code like this:
public ActionResult Delete([FromBody] CRUDModel<OrdersDetails> value)
{
OrdersDetails.GetAllRecords().Remove(value.value);
return Json(value.value);
}
The "value" property of the CRUDModel returns null. Can you provide a sample that allows deleting of a record?