PivotGridExtension.ExportToXlsx(PivotGridSettings, Object, Boolean) Method
In This Article
Exports the pivot grid’s data to XLSX format, based on the provided settings.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
public static ActionResult ExportToXlsx(
PivotGridSettings settings,
object dataObject,
bool saveAsFile
)
#Parameters
Name | Type | Description |
---|---|---|
settings | Pivot |
A Pivot |
data |
Object | A Pivot |
save |
Boolean | true to display the File Download dialog; false to display the file with exported data within a page. |
#Returns
Type | Description |
---|---|
Action |
A Action |
See Also