need sorting capability for table in html page
|
| View previous topic :: View next topic |
| Author |
Message |
Krabik
Joined: 15 Mar 2005 Posts: 62
|
need sorting capability for table in html page
Hello, I have an html page that contains a large table (400 rows), I want to be able to create several html pages based on the original one that has the table sorted in different ways. What software can help me do this?
I tried using Word, while it can sort the table very well, it does not give access to the links and I need specialized JavaScript tags in the links that occur in every row.
Thanks for any help. |
| |
|
|
|
|
Jony
Joined: 18 Mar 2005 Posts: 71
|
Well, I've used JavaScript itself to unload a table into an array for sorting and, then, rebuilt the table from scratch in the new sorted order. Of course, it is more efficient if the data starts out in an array and JavaScript builds the table from scratch at document load time. However, this more efficient method would also receive criticism as not being accessible -- due to the table not getting built at all when JavaScript is disabled from the git-go.
As sorted tables go, one should probably use server-side code to sort and rebuild such tables. |
| |
|
|
Guest
|
So who collects it then?  |
| |
|
|
|
|