help required on sorting data in a table + trinidad
Joined: Apr 08, 2008
can any one provide me sample code on how to implement sorting in table on any column.
Can i do sorting in jsp page or do i need to write java code for the same.
Any help would be great
Joined: Oct 08, 2006
JSP is just a presentation technology and should in fact not contain any business logic/algorithms.
That said, I don't know Trinidad, but have you checked if it doesn't provide a sortable table (or column) component? That would be much more easier. Just let Trinidad do all the sorting work. Consult the documentation along it for details. It is also available at their homepage as well.