GridColumnExportableBuilder

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

Razor
 
               @(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

Razor
 
               @(Html.Kendo().Grid(Model)
                   .Name("grid")
                   .Columns(columns =>
                   {
                       columns.Bound(c => c.Name).Exportable(e=>e.Pdf(true));
                   }))
             
In this article
MethodsExcel(System.Boolean)Pdf(System.Boolean)
Not finding the help you need?
Contact Support