public ActionResult IndexContent(GridDemoCfgInput input) { if (!input.UseRemoteData) { input.DataFunc = "getGridData"; } return(Json(new { Content = this.RenderPartialView("IndexContent", input), Cfg = input })); }
public ActionResult Index() { var o = new GridDemoCfgInput { Groupable = true, Sortable = true, Height = 350, MinHeight = 0, PageSize = 15, ShowGroupedColumn = true, LoadOnParentChange = true, Resizable = true, Reorderable = true, DataFunc = "getGridData", Page1OnSort = false }; return(View(o)); }