saveAsExcel

Initiates the Excel export. Also fires the excelExport event.

Calling this method may trigger the built-in browser popup blocker. To avoid that, always call it as a response to an end-user action (for example, a button click).

Example - manually initiate the Excel export

<button id="export">Export to Excel</button>
<div id="propertyGrid"></div>

<script>
  $("#propertyGrid").kendoPropertyGrid({
    model: {
        foo: "bar",
        baz: 5
    },
    width: 500,
    items: [
      {field:"foo", description:"foo property description"}
    ]
  });

  $("#export").click(function(e) {
      var component = $("#propertyGrid").data("kendoPropertyGrid");
      component.saveAsExcel();
  });
</script>
In this article