Beispiel #1
0
        public ActionResult Report4()
        {
            var gridModel = new Report4Grid();

            SetupReport4Grid(gridModel.ReportGrid);
            return(View(gridModel));
        }
Beispiel #2
0
        public ActionResult Report4ExportToExcel()
        {
            var gridModel = new Report4Grid();

            SetupReport4Grid(gridModel.ReportGrid);
            JQGridState gridState = Session["Report4GridState"] as JQGridState;

            gridModel.ReportGrid.ExportToExcel(GetReport4Data(), "验收货物情况报表.xls", gridState);
            return(View());
        }
Beispiel #3
0
        public ActionResult Report4_RequestData()
        {
            var gridModel = new Report4Grid();

            SetupReport4Grid(gridModel.ReportGrid);
            JQGridState gridState = gridModel.ReportGrid.GetState(false);

            Session["Report4GridState"] = gridState;
            return(gridModel.ReportGrid.DataBind(GetReport4Data()));
        }