New to Telerik UI for ASP.NET MVC? Download free 30-day trial

GridColumnExportableBuilder

Defines the fluent API for configuring GridPdfSettings

Methods

Excel(System.Boolean)

Specifies whether the column should be exported to Excel.

Parameters

value - System.Boolean

If set to false, the column won't be in the exported file.

Example


               @(Html.Kendo().Grid(Model)
                   .Name("grid")
                   .Columns(columns =>
                   {
                       columns.Bound(c => c.Name).Exportable(e=>e.Excel(true));
                   }))

Pdf(System.Boolean)

Specifies whether the column should be exported to Pdf.

Parameters

value - System.Boolean

If set to false, the column won't be in the exported file.

Example


               @(Html.Kendo().Grid(Model)
                   .Name("grid")
                   .Columns(columns =>
                   {
                       columns.Bound(c => c.Name).Exportable(e=>e.Pdf(true));
                   }))

In this article
Not finding the help you need?