Export the Grid to Excel after Confirmation
|Product||Progress Kendo UI Grid for JSP|
|Operating System||Windows 8 64bit|
How can I implement a custom Yes or No confirmation message to the user on clicking the Export to Excel button where Yes exports the Grid and No cancels the task?
The Kendo UI Grid does not provide a built-in solution for achieving this behavior. However, you can still work around the issue.
Apply custom logic on the
excelExport event of the Grid. For more information, refer to:
This Dojo example demonstrates the full implementation of the scenario. The used approach exports the file when the user confirms the action and prevents the default behavior when the user clicks Cancel.