Hi Daniel,
Thanks for using Syncfusion products.
We created a sample with your code example and when we insert a new record in Grid we able to get the new row in UI without refreshing the page. So, we unable to reproduce the mentioned issue in our sample.
Find the code example and sample:
@(Html.EJ().Grid<object>("FlatGrid")
.Datasource(d => d.URL("/Grid/GetData").InsertURL("/Grid/PerformInsert")
.UpdateURL("/Grid/PerformUpdate") .RemoveURL("/Grid/PerformDelete").Adaptor(AdaptorType.UrlAdaptor))
.AllowPaging() /*Paging Enabled*/
.EditSettings(e => e.AllowEditing().AllowDeleting().AllowAdding())
.ToolbarSettings(tool => tool.ShowToolbar().ToolbarItems(item =>
{ |
C#
public ActionResult PerformInsert(Employee value)
{
. . . .
}
//Perform update
public ActionResult PerformUpdate(Employee value)
{
. . . .
}
//Perform delete
public ActionResult PerformDelete(int key)
{
. . . . .
} |
To find out the root cause, we need the following details.
1. Did you get the new data in response window of an network tab(Console page).
Find the screenshot:
2. If possible, replicate the issue in the attached sample.
3. Essential Studio Version details.
Regards,
Vignesh Natarajan