Two very useful export enhancements have been added to the ASPxGridView and ASPxTreeList.
Starting with DXperience v2010.1, you can change the exported column width size and export to the Excel 2007 XLSX document format:
1. Change Column Width
To change the column width before exporting, use the ExportWidth property. This property has been added to both the GridViewColumn and TreeListDataColumn classes.
2. Excel XLSX Format
Two new methods have been added to the ASPxGridViewExporter and ASPxTreeListExporter controls:
- WriteXlsx - Exports the grid's data to a specific storage (such as a stream or file) in XLSX format
- WriteXlsxToResponse - Exports the grid's data to a specific storage (such as a stream or file) in XLSX format and writes it to the Response
Both of these improvements came from customer suggestions. Your feedback has helped improve the ASPxGridView and ASPxTreeList for everyone. Thank you and keep it coming.
DXperience? What's That?
DXperience is the .NET developer's secret weapon. Get full access to a complete suite of professional components that let you instantly drop in new features, designer styles and fast performance for your applications. Try a fully-functional version of DXperience for free now: http://www.devexpress.com/Downloads/NET/
Free DevExpress Products – Get Your Copy Today
The following free DevExpress product offers remain available. Should you have any questions about the free offers below, please submit a ticket via the
DevExpress Support Center at your convenience. We’ll be happy to follow-up.