WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 Sortable Table with static col, Carsten, June 7, 2005

Subject: Sortable Table with static col From: Carsten Date: June 7, 2005
Hi,
 
I posted this question some time ago and got an answer from Erik. But I am afraid that my javascript knowledge is too poor to get that done.
Here is my question again:
 
"Is it possible to have the first column in a table to be static? What i mean is that the first column is e.g a numbering starting with No.1 and so on. After the next columns are beeing sorted I'd like the numbering to still start with No. 1 and stay in the numbering order (just to have the no. 1 always in the number 1 position of the table)."
-------------
Answer from Erik was:
"Either change the text in the column cells after the sorting is done (use onsort) or use 2 tables (or reorganize the cells in the first column)."
-------------
 
I already read one posting concerning the "use onsort" method, but i did not get it to work. Can you help and show what has to be done and what has to be inserted at which position to have the table column resorted after the sorting? I would be very thankfull!!!
 
thanks for answering and have a happy new year, 
 
Carsten.



Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX