Open benspeth opened 6 years ago
Has there been any resolution or quick fix for this? I am currently trying to implement this and no data is being populated into the table.
Still the example (http://swimlane.github.io/ngx-datatable/#server-scrolling) in not working. Is there any work in progress? When can we expect the release?
Had the same problem- infinite scrolling was not updating the table, a quick fix i had to apply:
constructor(private ngZone: NgZone) {}
private pushDataTableData(data: ROW_DATA_TYPE[]) { this.ngZone.run(() => { this.rows.push(...data); }); }
Running rows,push inside ngZone is the key point here.
Hope that helps :)
will downgrade to 9.3.1 :(
I got my data to load by setting server side sorting to true. Not sure why that fixed it but it did.
On Tue, Apr 3, 2018 at 3:10 AM Samsonov Oleksandr notifications@github.com wrote:
will downgrade to 9.3.1 :(
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/swimlane/ngx-datatable/issues/1290#issuecomment-378165570, or mute the thread https://github.com/notifications/unsubscribe-auth/ABwfknXzDWA1QtQIH7fCzDK0PyKZgJArks5tky5pgaJpZM4R--xm .
@dim87 fantastic. this worked for me!
I'm submitting a ... (check one with "x")
Current behavior I'm trying to implement a list with server side infinite scrolling but the datatable is not notified when i add new rows. (like shown here: http://swimlane.github.io/ngx-datatable/#server-scrolling )
I decided to download your project and debug the demo site to have a better understanding at what i was doing wrong. But the demo site has the same bug.
I can't figure out why it does that.
here's an npm list of my project:
Expected behavior
Reproduction of the problem download @swimlane/ngx-datatable@11.1.7 run npm install run npm start go to http://localhost:9999/#server-scrolling
What is the motivation / use case for changing the behavior?
Please tell us about your environment: Windows 10 VSCode 1.19.3 node v8.9.3 npm v4.2.0
Table version: 0.8.x
Angular version: 2.0.x
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 ] Chrome Version 64.0.3282.140 (Build officiel) (64 bits)
Language: [all | TypeScript X.X | ES6/7 | ES5]