Large html data without server side.

Large html data without server side.

dreamcodedreamcode Posts: 4Questions: 0Answers: 0
edited March 2014 in General
Hi, I'm new in DataTables. And i have a problems with big tables.
My table have >100000 rows, and my page is freeze when datatable loads.
Question is : can i use any async loading data, or anything else, to stop my page freezing? Or using waiting animation?

And thx to developers, DataTable is really good:)
P.s. Sorry for my bad language...

Replies

  • robertbrowerrobertbrower Posts: 158Questions: 1Answers: 0
    100,000 rows without some form of server side interaction is not possible.
  • dreamcodedreamcode Posts: 4Questions: 0Answers: 0
    Ok, can i use an any waiting animation for table loading and rendering? I just need to stop freezes on my page...
  • robertbrowerrobertbrower Posts: 158Questions: 1Answers: 0
    I doubt it. The browser is terribly busy rendering 100,000 rows. You need server side. Point blank.
  • dreamcodedreamcode Posts: 4Questions: 0Answers: 0
    Ok, what if my table have <25000 rows, page is freeze to 5 sec (represent). Have i any solutions to unfreeze page, and put some waiting animation?
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    > 100,000 rows without some form of server side interaction is not possible.

    In fairness - it is. Its just not surprising that the browser freezes...! You are kind of asking for it if you load that much data into the dom and then have anything read it back...

    The answer is, use Ajax loading of data. Even without server-side processing you'll et a big speed boost.

    There is no other option - if there was some magic toggle to make DataTables load faster, I wouldn't hide it!

    Allan
  • dreamcodedreamcode Posts: 4Questions: 0Answers: 0
    Tnx for quick answers.
This discussion has been closed.