Question
I'm trying to exclude from sorting several columns in a table. Such columns may contain unsortable items (e.g. images) or items that make no sense to sort by. Here's a sample table:
| Name |
Description |
Age |
Rating |
| Mike |
he's cool |
23 |
|
| John |
John's fun |
21 |
|
| Tim |
smart guy |
30 |
|
Apparently, columns become sortable only if ALL columns are between * characters. In the table above I have only 2 columns between *s, and that breaks both sorting and the "header" look, even if
headerrows is set to 1.
Is there a way to exclude columns from sorting?
Environment
--
DanDascalescu - 23 Mar 2007
Answer
sorting is done by the
TablePlugin - if there isn't anything doccoed there, I guess not :/ - you chould raise a reature request on
TablePluginDev.
--
SvenDowideit - 28 Apr 2007
If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.
Sorting only works for tables with complete header rows. This is implied in the documentation: "Click on column heading text to sort by a column. Initial column will be sorted in descending order, click again to get ascending order."
There is currently no way to exclude a column from sorting.
--
PeterThoeny - 28 Apr 2007