Excel download example

Hi there, I'm trying to understand the online example for Excel/CSV downloads here

This seems to rely on some other services NorthwindService and a Query type. What are these? I was expecting to see some kind of generic Excel download feature that works with any grid and doesn't have any other dependencies. Maybe I don't understand what I'm looking at?

The export can export a data not DataGrid.

Makes sense that it's not dependent on the grid, but it seems to export only Northwind data -- because the Export method is part of NorthwindService. How does this help me export my own data?

The export is performed by the ExportController. You can call it from any service.

Do you mean an MVC controller called ExportController? Where is that in this example? Sorry, I'm finding everything about this example confusing.

The source code of the entire project is here:

Okay, now I understand what's going on :slight_smile: