ngx-datatable icon indicating copy to clipboard operation
ngx-datatable copied to clipboard

ngx-datatable not working with large data

Open ChanBen opened this issue 6 years ago • 6 comments

I'm submitting a ... (check one with "x")

[v ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter

Current behavior when i send about 20000 rows from the server there is no reaction and the UI is falling Expected behavior the table should support to get large data at once

my code ngOnInit{ this.dataService.getData(null,null,null) .subscribe((result:any[])=>{ { if(result) { this.rows=result;

   }

  }

}, (error: HttpErrorResponse) => { console.log(error.status + ", " + error.statusText);

  });

} 

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

  • 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 ]
  • Language: [all | TypeScript X.X | ES6/7 | ES5]

ChanBen avatar May 07 '18 14:05 ChanBen

This is a demo with 10,000 rows: http://swimlane.github.io/ngx-datatable/#virtual-scroll

Are you sure the problem is on the datatable side? can you post a stackblitz where you can reproduce this?

marjan-georgiev avatar May 07 '18 14:05 marjan-georgiev

I think that the problem is on the datatable size because when i send a smaller amount of data everything works fine. and i'm sorry, i didn't understand your request.

ChanBen avatar May 07 '18 14:05 ChanBen

Well, that still doesn't necessarily mean it's on the datatable side. If you can create a simple demo in https://stackblitz.com/edit/angular-egypuz where this issue can be reproduced, it would help us finding the problem.

marjan-georgiev avatar May 07 '18 14:05 marjan-georgiev

OK, i'll do that, thanks

ChanBen avatar May 07 '18 14:05 ChanBen

Same issues with data more that 10k

sonam-diwate-personal avatar Nov 19 '19 15:11 sonam-diwate-personal

The same happens to me. When I load a paginated table with many rows the rendering is slow and sometimes crashes.

baarbaracrr avatar Aug 31 '23 15:08 baarbaracrr