There is a site that has some things it says works, but it doesn't work for 
me, I am not sure why but you can check it out and see: 
http://braintest.tiddlyspot.com/#Inline%20editable%20tables

Otherwise you can do it without too much trouble using html:

<table>
<tr>
  <th>
    <$button class='tc-btn-invisible' style='width:100%;height:100%'>Table 
header 1<$action-setfield sort_by='field_1'/>
    </$button>
  <th>
    <$button class='tc-btn-invisible' style='width:100%;height:100%'>Table 
header 2<$action-setfield sort_by='field_2'/>
    </$button>
  </th>
</tr>
<$list filter='[tag[someTag]has[field_1]has[field_2]sort{!!sort_by}]'>
<tr>
  <td> 
    <$view field='field_1'/>
  </td>
  <td>
    <$view field='field_2'/>
  </td>
</tr>
</$list>
</table>

There is a demo on my site 
<http://inmysocks.tiddlyspot.com/#Sort%20table%20columns%20by%20clicking%20on%20the%20column%20header>.
 
Note that this only works if you generate the table using data from 
tiddlers, I don't know if there is currently a way to sort static tables in 
tiddlywiki 5.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to