Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

GridControl.ExportToXlsx Method

Name Parameters Description
ExportToXlsx(Stream, XlsxExportOptions) stream, options

Exports the data the GridControl.DefaultView (GridControl.MainView or the currently maximized detail View) displays to the specified stream in XLSX format using the specified options.

ExportToXlsx(Stream) stream Exports the data displayed by the GridControl.DefaultView (the GridControl.MainView or the currently maximized detail View) to the specified stream in XLSX (MS Excel 2007) format
ExportToXlsx(String, XlsxExportOptions) filePath, options

Exports the data displayed by the GridControl.DefaultView (the GridControl.MainView or the currently maximized detail View) to the specified file in XLSX (MS Excel 2007) format using the specified options.

ExportToXlsx(String) filePath

Exports the data displayed by the GridControl.DefaultView (the GridControl.MainView or the currently maximized detail View) to the specified file in XLSX (MS Excel 2007) format.