Hello all, i am using the following to get some data from Database and show them in a table:
<head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-7"> </head> <style type="text/css" media="screen"><!-- @import url(/plone.css); --></style> <style type="text/css" media="screen"><!-- @import url(/ploneColumns.css); --></style> <style type="text/css" media="all"><!-- @import url(/ploneCustom.css); --></style> <dtml-var standard_html_header> <table id="sortable" class="listing" summary="Content listing" cellpadding="0" cellspacing="0"> <thead> <dtml-in expr="GetHeader(sysDSN=sysDSN, usr=usr, mypass=mypass, sTable=sTable)"> <th class=""> <dtml-in sequence-item> <dtml-var sequence-item> </dtml-in> </th> </dtml-in> </thead> <dtml-in expr="GetData(sysDSN=sysDSN, usr=usr, mypass=mypass, sTable=sTable)"> <dtml-if sequence-even> <tr class="even"> <dtml-else> <tr class="odd"> </dtml-if> <dtml-in sequence-item> <!-- <td <input type="checkbox" title=<dtml-var sequence-item> ></td>--> <td><dtml-var sequence-item></td> </dtml-in> </tr> </dtml-in> </table> <dtml-var standard_html_footer> But how can i tell the table to sort the column i click on just like plone does with the members list? Thanks in advance Thomas Apostolou ___________________________________________________________ Χρησιμοποιείτε Yahoo!; Βαρεθήκατε τα ενοχλητικά μηνύματα (spam); Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων http://login.yahoo.com/config/mail?.intl=gr _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )