Hello,
I use Kendo UI and i have a grid with server side filtering and sorting with a custom directive for loading the data. The problem i have is that i want to trigger dataStateChange when i scroll to bottom to make a request and fetch the data on the next page. The grid still fires the directive dataStateChange when i filter or sort, but not when i scroll to bottom. I know that dataStateChange fires when i press a button in pagination, but i want to implement this on scroll.
The header of the kendo grid
<kendo-grid inventoryBinding (dataStateChange)="dataStateChange($event)" (scrollBottom)="loadMore()" [filterable]="true" [sortable]="true" [navigable]="true" height="400">
My directive is implmented just like in this example:
https://stackblitz.com/edit/angular-66vvau?file=src%2Fapp%2Fapp.component.ts
Thank you in advance for your answer!