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

The fluent API for configuring the pivot grid Excel export.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class PivotGridExcelBuilder

Inheritance: objectPivotGridExcelBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public PivotGridExcelBuilder(PivotGridExcelSettings excel)
Parameters:excelPivotGridExcelSettings

Methods

Sets the file name of the excel file.

C#
public PivotGridExcelBuilder FileName(string fileName)
Parameters:fileNamestringReturns:

PivotGridExcelBuilder

Enables or disables filtering in the output Excel file.

C#
public PivotGridExcelBuilder Filterable(bool filterable)
Parameters:filterableboolReturns:

PivotGridExcelBuilder

Forces the use of server-side proxy even if the browser supports local saving.

C#
public PivotGridExcelBuilder ForceProxy(bool forceProxy)
Parameters:forceProxybool

true if the server proxy should be used always; false for automatic detection

Returns:

PivotGridExcelBuilder

Set the url of the server side proxy. The proxy is responsible for returning the excel file to the end user. Used in browsers that don't support saving files from JavaScript.

C#
public PivotGridExcelBuilder ProxyURL(string url)
Parameters:urlstringReturns:

PivotGridExcelBuilder