-
Notifications
You must be signed in to change notification settings - Fork 79
Docs: export customizations #623
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Hello @svdimitr, Check the below option if you would like to automatically generate PR to production. The automation uses the branch for the cherry-pick, and then will delete the branch. Please, do not delete it manually.
|
|
||
You can programmatically invoke the export feature of the Grid, by using the following methods exposed on the `@ref` of the Grid: | ||
|
||
* `SaveAsExcelFileAsync` - `ValueTask` - sends the exported excel file to the browser for download |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if it's clear that the second word is the return type.
Co-authored-by: Dimo Dimov <961014+dimodi@users.noreply.github.com>
Co-authored-by: Dimo Dimov <961014+dimodi@users.noreply.github.com>
|
||
* `Data` - `IEnumerable<object>` - you can assign a custom collection of data to be exported to excel/csv such as the selected items in the Grid. | ||
|
||
* `isCancelled` - `bool` - you can cancel the OnBeforeExcel event by setting the `isCancelled` field to `true`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* `isCancelled` - `bool` - you can cancel the OnBeforeExcel event by setting the `isCancelled` field to `true`. | |
* `isCancelled` - `bool` - cancel the OnBeforeExcel event by setting the `isCancelled` property to `true`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use consistent grammar and structure in list items. For example, no need to use "you can" in some items, and skip it elsewhere. It's best to skip it everywhere, because it does not add value and make the item longer.
Add mentions of the export-related events into a dedicated section in the common Grid Events article, with just a link to the dedicated article, like we have for the CRUD events, OnRead, Column events. |
Co-authored-by: Dimo Dimov <961014+dimodi@users.noreply.github.com>
Co-authored-by: Dimo Dimov <961014+dimodi@users.noreply.github.com>
Co-authored-by: Dimo Dimov <961014+dimodi@users.noreply.github.com>
Co-authored-by: Dimo Dimov <961014+dimodi@users.noreply.github.com>
Co-authored-by: Dimo Dimov <961014+dimodi@users.noreply.github.com>
Co-authored-by: Dimo Dimov <961014+dimodi@users.noreply.github.com>
Co-authored-by: Dimo Dimov <961014+dimodi@users.noreply.github.com>
Co-authored-by: Dimo Dimov <961014+dimodi@users.noreply.github.com>
Co-authored-by: Dimo Dimov <961014+dimodi@users.noreply.github.com>
Co-authored-by: Dimo Dimov <961014+dimodi@users.noreply.github.com>
No description provided.