The DevExpress ASP.NET MVC GridView extension can export data in both XLS and XLSX formats. The DevExpress Excel Export Engine maintains data grouping layout and automatically transforms summary items to corresponding Excel functions.
The Export row type combo box controls the ExportedRowType property value, and specifies whether all rows displayed within the GridView are exported (or only selected rows).