Skip to main content

GridViewExtension.WriteXls(GridViewSettings, Object, Stream, XlsExportOptions) Method

Exports the grid’s data to a stream in XLS format with the specified export options.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public static void WriteXls(
    GridViewSettings settings,
    object dataObject,
    Stream stream,
    XlsExportOptions exportOptions
)

Parameters

Name Type
settings GridViewSettings
dataObject Object
stream Stream
exportOptions XlsExportOptions
See Also