|
Choose the columns (i.e., the variables) carefully.
What would a user want to sort by or search for? Conversely,
what doesn't need to be shown in this table -- what can
be hidden until the user asks for more detail about a
specific item?
The table headers should have some visual affordance
that they can be clicked on. Most have beveled, button-like
borders. Up-or-down arrows should be used to show whether
the sort is in ascending or descending order. (And the
presence of an arrow shows which column was last sorted
on -- a fortuitous side effect!) Consider using Rollover
Effects on the headers to reinforce the impression of
clickability.
Try to use a stable sort algorithm. What this
means is that if a user sorts first by name, then by date,
the resulting list will show ordered groups of same-date
items that are each sorted by name within the group.
In other words, the current sort order will be retained
in the next sort, to the extent possible. Subtle, but
very useful.
If your UI technology permits, the columns may be reordered
by dragging and dropping. Java Swing has this feature.
|