// GET: ServerSideExporting
        public ActionResult ServerSideExporting()
        {
            var order = OrdersDetails.GetRecords();

            ViewBag.datasource = order;
            return(View());
        }
        public ActionResult PdfExport(string gridModel)
        {
            GridPdfExport exp = new GridPdfExport();

            Syncfusion.EJ2.Grids.Grid gridProperty = ConvertGridObject(gridModel);
            return(exp.PdfExport <OrdersDetails>(gridProperty, OrdersDetails.GetRecords()));
        }
Exemple #3
0
        // GET: Adaptive
        public ActionResult Adaptive()
        {
            var order = OrdersDetails.GetRecords();

            ViewBag.datasource = order;
            return(View());
        }