New to Telerik UI for ASP.NET Core? Download free 30-day trial
Export to Excel
- EXAMPLE
- VIEW SOURCE
-
EDIT IN TELERIK REPL
-
Change Theme
default
- Main
- Main Dark
- Nordic
- Ocean Blue
- Purple
- Turquoise
- Main
- Main Dark
- Nordic
- Urban
- Vintage
- Main
- Arctic
- Lime Dark
- Main Dark
- Nova
- Main
- Main Dark
- Opal
- Silver
Also available for:
CLIENT-SIDE API SERVER-SIDE APIDescription
This example shows how to enable the Export to Excel functionality of the Telerik for ASP.NET Core Grid.
You have to include the Excel toolbar command .ToolBar(tools => tools.Excel())
as well as specify the FileName export setting.
Alternatively, you could force the Excel export by invoking the saveAsExcel()
method from the Client-side API of the component.
Yet another useful option is the ability to customize the grid’s rows/columns and cells of the exported file by intercepting the excelExport
event.
More about the Telerik Grid for ASP.NET Core
The demo also demonstrates how a Grid column can be excluded from exporting via the Exportable setting.