Example #1
0
        public ActionResult Report2()
        {
            var gridModel = new Report2Grid();

            SetupReport2Grid(gridModel.ReportGrid);
            return(View(gridModel));
        }
Example #2
0
        public ActionResult Report2ExportToExcel()
        {
            var gridModel = new Report2Grid();

            SetupReport2Grid(gridModel.ReportGrid);
            JQGridState gridState = Session["Report2GridState"] as JQGridState;

            gridModel.ReportGrid.ExportToExcel(GetReport2Data(), "车辆装货进出场报表.xls", gridState);
            return(View());
        }
Example #3
0
        public ActionResult Report2_RequestData()
        {
            var gridModel = new Report2Grid();

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

            Session["Report2GridState"] = gridState;
            return(gridModel.ReportGrid.DataBind(GetReport2Data()));
        }