This is a migrated thread and some comments may be shown as answers.

Hide Columns in PdfExport

1 Answer 5 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Fit2Page
Top achievements
Rank 1
Iron
Veteran
Iron
Fit2Page asked on 29 Sep 2014, 08:22 AM
I am trying to switch off columns for display from your Demo on:

demos.telerik.com/aspnet-ajax/grid/examples/functionality/exporting/pdf-export/defaultvb.aspx


like this:

 Protected Sub DownloadPDF_Click(sender As Object, e As EventArgs)
        isPdfExport = True
        dtgProducts.MasterTableView.GetColumnSafe("Vrd").Display = False
        dtgProducts.MasterTableView.ExportToPdf()
    End Sub

but the column keeps displaying in the PDF.

Marc

1 Answer, 1 is accepted

Sort by
0
Fit2Page
Top achievements
Rank 1
Iron
Veteran
Iron
answered on 29 Sep 2014, 08:25 AM
oh no I see it already...problem solved...nothing on the hand.
Tags
Grid
Asked by
Fit2Page
Top achievements
Rank 1
Iron
Veteran
Iron
Answers by
Fit2Page
Top achievements
Rank 1
Iron
Veteran
Iron
Share this question
or