json or DOM?
json or DOM?
KingWilliam
Posts: 3Questions: 0Answers: 0
I am currently populating a DOM table and let DataTables turn it into a nice table.
Now I am facing the fact that I have a table with over 400 rows and about 6 columns. The rendering of this table is really becoming slow. I do not have the time now to introduce server-side processing. What I can do, is turn the data into json instead of DOM. But before I start this, I would like to know what kind of benifit this will give me.
I must also say that this table does not contain data only, but also some columns with buttons.
Thanks
Now I am facing the fact that I have a table with over 400 rows and about 6 columns. The rendering of this table is really becoming slow. I do not have the time now to introduce server-side processing. What I can do, is turn the data into json instead of DOM. But before I start this, I would like to know what kind of benifit this will give me.
I must also say that this table does not contain data only, but also some columns with buttons.
Thanks
This discussion has been closed.
Replies
Allan
Could it maybe related to the fact that one of my columns consists of a bunch of html (form + button)? I am already planning to remove that anyway and replace it with a , having some javascript. But if you say it will make a big difference in this speed issue, I might do that earlier.
Wim
Allan
Anyhow, thanks for the help. I will probably convert to json anytime soon anyway, so things will probably fly then.
Thanks!