Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: Sortable columns in TreeTable

sstree
Discussion topic

Back to topic list

Re: Sortable columns in TreeTable

Reply

Author anoncvs
Full name anonymous CVS access
Date 2003-09-01 10:19:38 PDT
Message Hi Fermin,

Please note that replies normally go directly back to the mailing list,
not to the original poster. So, if you want to continue this
conversation you should join the mailing list by sending a message to
dev-subscribe@sstree​.tigris.org. The subject line and body do not
matter. Then you will need to reply to a "CONFIRM" email. The mailing
list currently has very low traffic. And it is discussion moderatated,
meaning that members can post freely, but outsiders (like spammers) must
go through moderation, so you are very unlikely to get any spam via this
list.


On Mon, 2003-09-01 at 09:11, F. Da Costa Gomez wrote:
> Over the weekend I fiddled a bit with the TreeTable and I liked it (the
> TreeTable not the fiddling perse).

That's great. I'm glad that you like it.

> Using Tapestry to generate HTML I was looking for something exactly like
> the TreeTable.

I think a lot of people have been looking for something like this. I
created the simple trees because I needed it for ReadySET
(http://readyset.tigris.org). Now I think Scarab is experimenting with
a variant of it, and I think it would be great if open source projects
gained from it as well. I am sure other people using Tapestry would be
interested in seeing what you come up with. I'd be happy to host a list
of examples of uses of sstree in the sstree project.


> Looking at the example page it also mentions *sorting*.
> Is there a js somewhere that I missed or is something supposed to be
> hooked up?

The tree table was just an experiment to take the "super simple"
approach to the next level of complexity and see how well it turned
out. I think it is OK so far, but the requirement for each row to have
a specially named id attribute is a bit ugly. However, that should be
no problem if you are automatically generating the page.

There is no sorting yet. But, I would be glad to work with you to
implement that. At this point, I don't have a good idea of how to do it
while still staying true to the "super simple" approach of having the
data in a reasonable HTML format to begin with.

Perhaps the table could be in the page N times, with N-1 copies all
hidden. Clicking on a column header would simply hide the table sorted
one way and display it sorted another way. That is a lot of data to
send over the wire, so it would not be fast.

Another way to do it would be to rely on client-side XLST to do sorting
and transformation to HTML at the same time. But, that only works with
the most recent browsers.

There is also an issue of how sorting meshes with the tree structure
itself: do you want to sort multiple rows within each tree leaf? more
likely you want to sort on some othe column and abandon the tree
structure.


Thanks,
jason!

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: dev-unsubscribe@sstr​ee.tigris.org
For additional commands, e-mail: dev-help at sstree dot tigris dot org

« Previous message in topic | 2 of 7 | Next message in topic »

Messages

Show all messages in topic

Sortable columns in TreeTable "F dot Da Costa Gomez" <dcg at fixed dot com> "F dot Da Costa Gomez" <dcg at fixed dot com> 2003-09-01 09:11:55 PDT
     Re: Sortable columns in TreeTable anoncvs anonymous CVS access 2003-09-01 10:19:38 PDT
         Re: Sortable columns in TreeTable "F dot Da Costa Gomez" <dcg at fixed dot com> "F dot Da Costa Gomez" <dcg at fixed dot com> 2003-09-01 10:55:09 PDT
         Re: Sortable columns in TreeTable "F dot Da Costa Gomez" <dcg at fixed dot com> "F dot Da Costa Gomez" <dcg at fixed dot com> 2003-09-03 07:34:44 PDT
         Re: Sortable columns in TreeTable (v1) "F dot Da Costa Gomez" <dcg at fixed dot com> "F dot Da Costa Gomez" <dcg at fixed dot com> 2003-09-07 12:21:09 PDT
             Re: Sortable columns in TreeTable (v1b) "F dot Da Costa Gomez" <dcg at fixed dot com> "F dot Da Costa Gomez" <dcg at fixed dot com> 2003-09-07 13:42:46 PDT
                 Re: Sortable columns in TreeTable (v1b) anoncvs anonymous CVS access 2003-09-10 10:21:53 PDT
Messages per page: