Using my own Add/Edit/Delete button instead of Syncfusion provided Toolbar
Hi,
I am using Asp.Net MVC Grid with manual excel like editing feature in JSON action mode.
I am facing 2 issues.
1) I have requirement
of using my own Save button instead of using "Update" button of Toolbar from the GRID. Can I make a call to the Save action method specified in the grid's Mapper.SaveAction from my client side event.
2) Also I do not want to display the Toolbar at all, but want the editing feature (update). However, when I disable the toolbar for the grid and enable the Editing, the GRID does not show any records.
Shall appreciate quick response.
Thanks.
Himanshu Kumar
EXTRACT FROM MY CODE FOR GRID:
...
.Editing(edit =>
{
edit.AllowNew(false);
edit.AllowDelete(false);
edit.AllowEdit(true);
edit.EditMode(GridEditMode.ManualExcel);
edit.PrimaryKey(key => key.Add(p => p.ProductID));
})
.ToolBar(tools =>
{
tools.EnableToolbar(false);
})
.Mappers(mapper =>
{
mapper.SaveAction("BulkSave"); // the action method to perform the update action
})
....