Having trouble downloading an Excel file from a Kendo Grid without using the Kendo Excel toolbar.
Since I am new to Angular, I searched for ways to download from an external button but couldn't find any specific details.
<div class="grid-wrapper" *ngIf="!recordsNotFound">
<kendo-grid [data]="gridView" [pageSize]="pageSize" [resizable]="true" id="dataEntry"
[skip]="skip"
[pageable]="true"
[selectable]="true"
[sortable]="true"
(sortChange)="sortChange($event)"
(selectionChange)="onSelection($event)"
(pageChange)="pageChange($event)">
<kendo-grid-messages noRecords="">
</kendo-grid-messages>
<kendo-grid-column *ngFor="let column of columns"
field="{{column.field}}"
title="{{column.title}}"
format="{{column.format}}"
width="100"
media="(min-width: 320px)"
hidden="{{column.isHidden}}"
filter="{{column.type}}"></kendo-grid-column>
<ng-template kendoPagerTemplate let-totalPages="totalPages" let-currentPage="currentPage">
<kendo-pager-prev-buttons></kendo-pager-prev-buttons>
<kendo-pager-info></kendo-pager-info>
<kendo-pager-next-buttons></kendo-pager-next-buttons>
</ng-template>