Defines the fluent API for configuring PivotGridV2ExcelSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class PivotGridV2ExcelSettingsBuilder<T> where T : class
Inheritance: objectPivotGridV2ExcelSettingsBuilder<T>
Inherited Members
Constructors
public PivotGridV2ExcelSettingsBuilder(PivotGridV2ExcelSettings container)
Properties
protected PivotGridV2ExcelSettings Container { get; }
Methods
Specifies the file name of the exported Excel file.
public PivotGridV2ExcelSettingsBuilder<T> FileName(string value)
The value that configures the file name.
Returns:Enables or disables the column filtering in the exported Excel file.
public PivotGridV2ExcelSettingsBuilder<T> Filterable()
Enables or disables the column filtering in the exported Excel file.
public PivotGridV2ExcelSettingsBuilder<T> Filterable(bool value)
The value that toggles the column filtering option.
Returns:If enabled, the content will be forwarded to the specified ProxyURL even if the browser supports saving files locally.
public PivotGridV2ExcelSettingsBuilder<T> ForceProxy()
If set to "true", the content will be forwarded to the specified ProxyURL even if the browser supports saving files locally.
public PivotGridV2ExcelSettingsBuilder<T> ForceProxy(bool value)
The value that enables or disabled the ForceProxy option.
Returns:The URL of the server side proxy that will stream the file to the end user. The developer is responsible for implementing the server-side proxy. The proxy will receive a POST request with the following parameters in the request body:
- contentType: The MIME type of the file.
- base64: The base-64 encoded file content.
- fileName: The file name, as requested by the caller.
The proxy must return the decoded file with the "Content-Disposition" header set to 'attachment; filename="<fileName.xslx>"'.
public PivotGridV2ExcelSettingsBuilder<T> ProxyURL(string value)
The value that configures the proxy URL.
Returns: