diff --git a/components/grid/export/csv.md b/components/grid/export/csv.md index 704eb3a0f5..79b25f8bd9 100644 --- a/components/grid/export/csv.md +++ b/components/grid/export/csv.md @@ -124,7 +124,12 @@ You can programmatically invoke the export feature of the Grid, by using the fol | Method | Type | Description | | --- | --- | --- | | `SaveAsCsvFileAsync` | `ValueTask` | Sends the exported CSV file to the browser for download. You can pass [`GridCsvExportOptions`](slug:Telerik.Blazor.Components.TelerikGrid-1) to customize the export. | -| `ExportToCsvAsync` | `Task` | Returns the exported data as a `MemoryStream`. The stream itself is finalized, so that the resource does not leak. To read and work with the stream, clone its available binary data to a new `MemoryStream` instance. You can pass [`GridCsvExportOptions`](slug:Telerik.Blazor.Components.TelerikGrid-1) to customize the export. | +| `ExportToCsvAsync` | `Task` | Returns the exported data as a `MemoryStream`. The stream itself is finalized, so that the resource does not leak. To read and work with the stream, clone its available binary data to a new `MemoryStream` instance. You can pass [`GridCsvExportOptions`](slug:Telerik.Blazor.Components.Grid.GridCsvExportOptions) to customize the export. | + +When exporting programmatically with a `GridCsvExportOptions` argument: + +* The `Columns` and `Data` properties of `GridCsvExportOptions` are required. +* Multi-column headers are not supported. >caption Invoke the export function from code diff --git a/components/grid/export/excel.md b/components/grid/export/excel.md index 0cc318ff11..cce558d3c0 100644 --- a/components/grid/export/excel.md +++ b/components/grid/export/excel.md @@ -132,8 +132,13 @@ You can programmatically invoke the export feature of the Grid, by using the fol | Method | Type | Description | | --- | --- | --- | -| `SaveAsExcelFileAsync` | `ValueTask` | Sends the exported excel file to the browser for download. You can pass [`GridExcelExportOptions`](slug:Telerik.Blazor.Components.TelerikGrid-1) to customize the export. | -| `ExportToExcelAsync` | `Task` | Returns the exported data as a `MemoryStream`. The stream itself is finalized, so that the resource does not leak. To read and work with the stream, clone its available binary data to a new `MemoryStream` instance. You can pass [`GridExcelExportOptions`](slug:Telerik.Blazor.Components.TelerikGrid-1) to customize the export. | +| `SaveAsExcelFileAsync` | `ValueTask` | Sends the exported Excel file to the browser for download. You can pass [`GridExcelExportOptions`](slug:Telerik.Blazor.Components.Grid.GridExcelExportOptions) to customize the export. | +| `ExportToExcelAsync` | `Task` | Returns the exported data as a `MemoryStream`. The stream itself is finalized, so that the resource does not leak. To read and work with the stream, clone its available binary data to a new `MemoryStream` instance. You can pass [`GridExcelExportOptions`](slug:Telerik.Blazor.Components.Grid.GridExcelExportOptions) to customize the export. | + +When exporting programmatically with a `GridExcelExportOptions` argument: + +* The `Columns` and `Data` properties of `GridExcelExportOptions` are required. +* Multi-column headers are not supported. >caption Invoke the export function from code