PivotGridExtension.OLAPExportToXlsx(PivotGridSettings, String, Boolean, XlsxExportOptions) Method
In This Article
Exports the pivot grid’s data to XLSX format, based on the provided settings. Used only in an OLAP mode.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
#Declaration
public static ActionResult OLAPExportToXlsx(
PivotGridSettings settings,
string connectionString,
bool saveAsFile,
XlsxExportOptions exportOptions
)
#Parameters
Name | Type | Description |
---|---|---|
settings | Pivot |
A Pivot |
connection |
String | A String that specifies the connection string to an OLAP cube. |
save |
Boolean | true to display the File Download dialog; false to display the file with exported data within a page. |
export |
Xlsx |
An Xlsx |
#Returns
Type | Description |
---|---|
Action |
A Action |
See Also