Skip to content

Commit b8bc0c2

Browse files
authored
Update csv.md
1 parent 295ca3c commit b8bc0c2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

components/grid/export/csv.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,12 @@ You can programmatically invoke the export feature of the Grid, by using the fol
124124
| Method | Type | Description |
125125
| --- | --- | --- |
126126
| `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. |
127-
| `ExportToCsvAsync` | `Task<MemoryStream>` | 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. |
127+
| `ExportToCsvAsync` | `Task<MemoryStream>` | 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. |
128+
129+
When exporting programmatically with a `GridCsvExportOptions` argument:
130+
131+
* Always set the `Columns` and `Data` properties of `GridCsvExportOptions`.
132+
* Multi-column headers are not supported.
128133

129134
>caption Invoke the export function from code
130135

0 commit comments

Comments
 (0)