I have a kendo grid that contains data that comes from a DB call.
Currently the export excel button extracts all the data equal to the datasource.
It is mapped into java.
I would like that when compiling the filters of the kendo grid when I click on the button it extracts only the filtered data
<kendo-grid
[data]="gridData"
[pageSize]="state.take"
[skip]="state.skip"
[sort]="state.sort"
[filter]="state.filter"
[sortable]="true"
[pageable]="true"
[filterable]="true"
[selectable]="true"
[style.minHeight.px]="minMaxHeight"
[style.maxHeight.px]="minMaxHeight"
(dataStateChange)="dataStateChange($event)">
<kendo-grid-column field="name" title="{{'name' | translate}}"></kendo-grid-column>
<kendo-grid-column field="month" title="{{'month' | translate}}"></kendo-grid-column>
</kendo-grid>