alfajango / jquery-dynatable

A more-fun, semantic, alternative to datatables
http://www.dynatable.com
Other
2.77k stars 361 forks source link

Dynatable long loop #156

Open Rafael2008 opened 9 years ago

Rafael2008 commented 9 years ago

Hello, I wonder how to go about using dynatable in a table that contains more than 50000 lines.Desculpe my english (google translation)

JangoSteve commented 9 years ago

We've seen it work well in other sites with many rows in the table (tens of thousands), and there are some benchmarks in the Readme which measure the performance of dynatable. It should handle 50,000 records just fine, but if you have any issues, please report them here and we'll see what needs to be done.

Rafael2008 commented 9 years ago

I have a foreach (the td's html) with more than 50000 rows and 13 columns in each row. The code used is simple.

COLUNA A COLUNA B COLUNA C COLUNA D COLUNA E COLUNA F COLUNA G COLUNA H COLUNA I COLUNA J COLUNA K COLUNA L COLUNA M
VALUE A VALUE B VALUE C VALUE D VALUE E VALUE F VALUE H VALUE I VALUE J VALUE K VALUE L VALUE M VALUE N

At the end of the call dynatable to do their job: $(document).ready(function(e) { $('.dynatable').dynatable(); }); At the moment I do this call up my browser keeps crashing and sometimes others will not. Wanted to show you the source code I am not getting more.

Rafael2008 commented 9 years ago

After some more testing I found that the dynatable is behaving differently in each browser you use: IE - It gives the message "script not responding because it is long" FIREFOX - It gives the message "script not responding because it is long"; CRHOME - Will normally;