Below is another table. This time the rows have the class names
even
and odd
. Since the order of the rows
change when the table is sorted we reset the class names after the
sort.
String | String | Number | Date | No Sort |
apple | Strawberry | 45 | 18/02/2004 | Item 0 |
Banana | orange | 7698 | 05/02/2000 | Item 1 |
orange | Banana | 4546 | 09/12/2001 | Item 2 |
Strawberry | apple | 987 | 10/11/2001 | Item 3 |
Pear | blueberry | 98743 | 31/12/2002 | Item 4 |
blueberry | Pear | 4 | 05/08/2005 | Item 5 |