Skip to content

Commit 2a43c40

Browse files
github-actions[bot]NansiYanchevadimodi
authored
Merge export-events-1897 into production (#1898)
* docs(grid): improve export event description * Update components/grid/export/events.md * Update components/grid/export/events.md --------- Co-authored-by: Nansi Yancheva <[email protected]> Co-authored-by: Dimo Dimov <[email protected]>
1 parent 40552f9 commit 2a43c40

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/grid/export/events.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ You can customize the files exported to Excel and CSV by using the [OnBeforeExpo
2323

2424
## OnBeforeExport
2525

26-
The `OnBeforeExport` event fires after the user clicked the `ExcelExport` or `CsvExport` buttons. The event handler receives a `GridBeforeExcelExportEventArgs` and `GridBeforeCsvExportEventArgs` object, depending on the type of export, which provides the following fields:
26+
The `OnBeforeExport` event fires after the user clicks the `ExcelExport` or `CsvExport` button and before the export process starts. You can use the event to configure the exported Grid columns or change the exported data. The event handler receives a `GridBeforeExcelExportEventArgs` and `GridBeforeCsvExportEventArgs` object, depending on the type of export, which provides the following properties:
2727

2828
### For Excel Export
2929

@@ -244,7 +244,7 @@ To export a hidden (the Visible attribute set to `false`) column you can manuall
244244

245245
## OnAfterExport
246246

247-
The `OnAfterExport` event fires after the [OnBeforeExport](#onbeforeexport) event, and before the actual file is provided to the user. The event handler receives a `GridAfterExcelExportEventArgs` or `GridAfterCsvExportEventArgs` object, depending on the type of export, which provides the following fields:
247+
The `OnAfterExport` event fires after [OnBeforeExport](#onbeforeexport) and before the generated file is provided to the user. You can use the event to make changes to the exported file. The event handler receives a `GridAfterExcelExportEventArgs` or `GridAfterCsvExportEventArgs` object, depending on the type of export, which provides the following fields:
248248

249249
### For Excel Export
250250

0 commit comments

Comments
 (0)