Open Yadhunandansolus opened 3 years ago
hard to tell without seeing the onScroll function. But it might be the same bug I got into. As the (scroll) listener catches both the scrollEvent from ngx-datatable(https://swimlane.gitbook.io/ngx-datatable/api/table/outputs#scroll) and the Element scroll https://developer.mozilla.org/en-US/docs/Web/API/Element/scroll_event your function needs to handle this.
Current behavior
Getting production build error for Scrolling server-side. Getting error as "Directive ɵc, Expected 2 arguments, but got 1" Error pointing to ngx-datatable tag
if i remove (scroll)="onScroll($event.offsetY)" its building successfully
Expected behavior
It has to build successfully
Table version: ngx-datatable version - ^16.1.1
Angular version: Angular version : 8.3.20
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
Language: [all | TypeScript X.X | ES6/7 | ES5]