Hi, I'm a bit confused about how to prepare a tr:table for sorting.
First, I miss the rationale behind the sortProperty attribute. Since
visual appearance (and next action) occurs on a given column - which is
bound to a model property - why do we need to specify a further property
name to sort on ?
Then I noticed from a previous message that sortProperty does not accept
EL, just literal strings. In case of dynamic columns (I use c:forEach),
this should mean that I cannot sort on any column, since I cannot
specify a dynamic sortProperty name. Is that correct ? Is there any way
to shortcut sortProperty to the current column ?
Furthermore, could anybody please explain the usage of requested methods
isSortable, setSortCriteria, getSortCriteria ? I use my own Collection
model, which is presumed to export these methods to enable sorting, but
I miss any involved semantics.
There is nothing about on demos, wiki and general Trinidad documentation.