Re: [Zope] How to make a table with sortable colmns?

2005-10-10 Thread Thomas Apostolou
Thank you all. You have helped ance again. after reading the article above i understood that apart from writing table id="sortable" class="listing" summary="Content listing" cellpadding="0" cellspacing="0" i sould also import this 2 js files wich makes my page understand what class="listing"

Re: [Zope] How to make a table with sortable colmns?

2005-10-09 Thread Andreas Jung
--On 7. Oktober 2005 14:35:00 +0100 Thomas Apostolou [EMAIL PROTECTED] wrote: But how can i tell the table to sort the column i click on just like plone does with the members list? I think he was asking for a client-side-only solution. Google for sortable table. This will link you to

[Zope] How to make a table with sortable colmns?

2005-10-07 Thread Thomas Apostolou
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

Re: [Zope] How to make a table with sortable colmns?

2005-10-07 Thread Greg Fischer
There is the sort attribute of the dtml-in tag. You'll have to read the DTML Reference for more info on that. However, it was a little iffy for me once, and now I do something like this: 1. Setup table header with a response back to sort that column. 2. Change the ZSQL method to use that value