Example #1
0
        protected void TreeGridControlDefault_ServerPdfExporting(object sender, Syncfusion.JavaScript.Web.TreeGridEventArgs e)
        {
            PdfExport exp = new PdfExport();
            TreeGridExportSettings settings = new TreeGridExportSettings();

            settings.Theme = ExportTheme.FlatLime;
            exp.Export(TreeGridControlDefault.Model, (IEnumerable)TreeGridControlDefault.DataSource, settings, "Export");
        }
Example #2
0
        protected void TreeGridControlDefault_ServerExcelExporting(object sender, Syncfusion.JavaScript.Web.TreeGridEventArgs e)
        {
            ExcelExport            exp      = new ExcelExport();
            TreeGridExportSettings settings = new TreeGridExportSettings();

            settings.Theme = ExportTheme.FlatLime;
            exp.Export(TreeGridControlDefault.Model, (IEnumerable)TreeGridControlDefault.DataSource, "Export.xlsx", ExcelVersion.Excel2010, new TreeGridExportSettings()
            {
                Theme = ExportTheme.BootstrapTheme
            });
        }
Example #3
0
 protected void queryCellInfo(object sender, Syncfusion.JavaScript.Web.TreeGridEventArgs e)
 {
     List <BusinessObject> businessObjects = e.Arguments["data"] as List <BusinessObject>;
 }