GridExcelBuilder
The fluent API for configuring the grid Excel export.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class GridExcelBuilder
Inheritance: objectGridExcelBuilder
Inherited Members
Constructors
Methods
Specifies whether all pages should be exported
public GridExcelBuilder AllPages(bool allPages)
If the parameter is set to true all pages will be exported
Returns:Enables or disables collapsible (grouped) rows, for grids with aggregates.
Enables or disables collapsible (grouped) rows, for grids with aggregates.
public GridExcelBuilder Collapsible(bool value)
The value for Collapsible
Returns:Sets the file name of the excel file.
public GridExcelBuilder FileName(string fileName)
If the parameter is set to true all pages will be exported
Returns:Enables or disables filtering in the output Excel file.
public GridExcelBuilder Filterable(bool filterable)
The value for Filterable
Returns:Forces the use of server-side proxy even if the browser supports local saving.
public GridExcelBuilder ForceProxy(bool forceProxy)
true if the server proxy should be used always; false for automatic detection
Returns: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.