Thanks,

For your answer, I will try with a virtual Tree.
In my Idea, I am just interested to sort only the first level of the 
tree (just below the root).

Regards.

Le 10/02/2010 15:39, Derrell Lipman a écrit :
> On Wed, Feb 10, 2010 at 09:26, Fritz Zaucker <[email protected]
> <mailto:[email protected]>> wrote:
>
>     On Wed, 10 Feb 2010, Derrell Lipman wrote:
>
>      >> I would like to use it in order to sort tree regarding the info
>     provide in
>      >> the column.
>      >
>      > If you think through this, I believe you'll find that you don't
>     really want
>      > to sort a tree. Even in TreeVirtual which provides headers, it
>     disables
>      > sorting. What would you expect to happen when you sorted a tree?
>     It would no
>      > longer be a meaningful tree; branches and leaves would appear
>     under parents
>      > they have nothing to do with.
>
>     Wouldn't it be useful to be able to sort the tree on each branching
>     level:
>
>     Folder 1
>         |------Folder 1-1
>         |------Folder 1-2
>         |        |---------File 1
>         |        |---------File 2
>         |        |---------File 3
>         |------Folder 1-3
>     Folder 2
>         |------Folder 2-1
>
>     and so on? A bit more complicated to implement than just sorting a
>     (table)
>     column, of course.
>
>
> Yes, I hadn't looked at it that way. That's not what one generally
> expects, however, when clicking on the header. You could implement that
> in TreeVirtual reasonably easily, I think, by catching a click event on
> something (header, a button, whatever) and sorting the data model on
> whatever criteria one wanted. Given that there's no standard, expected
> behavior, I don't think I'd add this as a standard feature, though.
>
> Cheers,
>
> Derrell
>
>
>
> ------------------------------------------------------------------------------
> SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
> Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
> http://p.sf.net/sfu/solaris-dev2dev
>
>
>
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel



------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to