pdfExport

Fired when the user clicks the "Export to PDF" toolbar button.

Event Data

e.sender kendo.ui.Editor

The widget instance which fired the event.

e.preventDefault Function

If invoked the Editor will not save the generated file.

e.promise Promise

A promise that will be resolved when the export completes.

Example - subscribe to the "select" event during initialization

<textarea id="editor"></textarea>
<script>
$("#editor").kendoEditor({
    tools: ["pdf"],
  pdfExport: function(e) {
  }
});
</script>

Example - subscribe to the "select" event after initialization

<textarea id="editor"></textarea>
<script>
function onEditorExport(e) {
}
$("#editor").kendoEditor({
       tools: ["pdf"]
  });
var editor = $("#editor").data("kendoEditor");
editor.bind("pdfExport", onEditorExport);
</script>
In this article