S
SAN CAZIANO
how can i swap column in a html table ???
SAN said:how can i swap column in a html table ???
Martin Honnen said:
Ivo said:Quote from that page:
"Note that this simply shows how to do the column swap, I haven't tested
that with very large tables but I think it might be better to first hide
the table, then do all the cell swapping and later show the table again
to avoid that the browser has to adapt the table rendering each time a
cell is moved."
It is strange that such a good script should be followed by such ill advise.
Re-rendering is done only when the javascript has come to an end after
looping through all rows, so there is really no need to first hide the
table.
Well I have written "might be better" and that I have not tested whether
it improves things. How do you know for sure that all browsers suspend
rerendering until script is done?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.