Esempio n. 1
0
        public ActionResult IndexContent(GridDemoCfgInput input)
        {
            if (!input.UseRemoteData)
            {
                input.DataFunc = "getGridData";
            }

            return(Json(new
            {
                Content = this.RenderPartialView("IndexContent", input),
                Cfg = input
            }));
        }
Esempio n. 2
0
        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));
        }