Alternate for long data

Alternate for long data

delphi10delphi10 Posts: 17Questions: 8Answers: 0

Browse message out of memory at lange data (10000+ rows) to fiil datatables. I know it exist server-side method but not considerations. There is another method for load/fill lange data?

if options hide/show rows per click page or click button next or filter?

Answers

  • allanallan Posts: 63,534Questions: 1Answers: 10,475 Site admin

    Why is server-side processing not an option?

    if options hide/show rows per click page or click button next or filter?

    That is exactly how paging works. Rows that aren't needed are hidden.

    Are you Ajax loading the data and have deferRender enabled? That should handle 10k rows okay.

    A link to a test case showing the issue would be useful.

    Allan

  • delphi10delphi10 Posts: 17Questions: 8Answers: 0

    Not Ajax, use delphi-intraweb which generate data in html table

    ...

    to HTML template with JS where is define my datatables.

  • allanallan Posts: 63,534Questions: 1Answers: 10,475 Site admin

    Right - your first stop to speeding things up is to load the data via Ajax then. At the moment DataTables is needing to read all of the data from the DOM, which is always slow.

    Allan

Sign In or Register to comment.