Hi Brian,
Thank you for your interest in syncfusion products.
we would suggest you to use OnDamand feature in MVC Grid to get better performance.
In order to enable OnDemand use the following two properties,
1. EnableOnDemand - Get or Set OnDemand paging/sorting.
2. IsGrouped property in PagingParams - Indicates the grouping state in Grid.
Please refer the below code snippet to achieve onDamand
public ActionResult Index()
{
GridPropertiesModel model = new GridPropertiesModel
{
DataSource = new context().Voters.Skip(0).Take(29000).ToList(),
AutoFormat = Syncfusion.Mvc.Shared.Skins.Office2007Silver,
EnableOnDemand=true,
TotalRecordsCount = 29000,
AllowSorting=true,
AllowPaging=true,
PageCount=6,
PageSize=15,
PagingSortingMapper="PagingAction",
Caption = "Voter Information",
PrimaryKeyColumns = { "VoterId" }
};
ViewData["GridModel"] = model;
return View();
}
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult PagingAction(PagingParams args)
{
IEnumerable data = new context().Voters.Skip(args.StartIndex).Take(args.PageSize).AsQueryable();
ActionResult result = data.GridActions();
return result;
}
Please refer the sample from the below link.
http://files.syncfusion.com/support/grid_mvc/Incidents/60054/Mvc_SampleGrid.zipPlease follow up the Direct-Trac incident#60054for more further.
Please let me know if you have any concerns
Regards,
M. Balaji