TreeListExtension.ExportToXlsx(TreeListSettings, TreeListVirtualModeCreateChildrenMethod, TreeListVirtualModeNodeCreatingMethod, String, Boolean, XlsxExportOptions) Method
Exports the TreeList, which operates in virtual mode, to XLSX, 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(
TreeListSettings settings,
TreeListVirtualModeCreateChildrenMethod createChildrenMethod,
TreeListVirtualModeNodeCreatingMethod nodeCreatingMethod,
string fileName,
bool saveAsFile,
XlsxExportOptions exportOptions
)
#Parameters
Name | Type | Description |
---|---|---|
settings | Tree |
A Tree |
create |
Tree |
A delegate method of the Tree |
node |
Tree |
A delegate method of the Tree |
file |
String | A String value that specifies the target file name. |
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 |