1 Star 0 Fork 0

XFly-Studio / Grid.Blazor

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
Excel_export.md 533 Bytes
Copy Edit Web IDE Raw Blame History
Gustavo Navarro authored 2020-05-16 18:47 . Update documentation

GridBlazor for ASP.NET Core MVC

Export to Excel

Index

Grids can be exported to an Excel file. You have to use the SetExcelExport method of the GridClient object:

    var client = new GridClient<Order>(q => orderService.GetOrdersGridRows(columns, q),
         query, false, "ordersGrid", columns, locale)
        .SetExcelExport(true);

This is an example of a grid with an export to Excel button:

<- Button components on the grid

Comment ( 0 )

Sign in for post a comment

1
https://gitee.com/fan0217/Grid.Blazor.git
git@gitee.com:fan0217/Grid.Blazor.git
fan0217
Grid.Blazor
Grid.Blazor
master

Search