Hi Koen,
On Mon, Feb 23, 2009 at 5:22 PM, Koen Deforche <[email protected]> wrote:
> Hey Maurice,
>
> 2009/2/23 Maurice Gittens <[email protected]>:
> > Yes I do.
> >
> > In fact this was one of the first things I looked for when I started
> playing
> > with Wt.
> > However I haven't seen many toolkits which allow trees to grow from right
> to
> > left.
> > like the example presented above.
>
> It could be done (HTML is quite symmetrical left to right / right to
> left). But it requires non-trivial changes in WTreeView, and unless
> seconded by other developers it might not be something we implement
> really soon ...
It is a pity that the symmetric nature of HTML does not seem to extend to Wt
widgets.
I guess folks using right to left languages are simply out of luck when
using Wt.
>
>
> > But consider the Wt treeview example:
> >
> http://www.webtoolkit.eu/wt/examples/treeview-dragdrop/treeview-dragdrop.wt
> >
> > In the case that there are very many columns to be presented to the user,
> > I would like to use a vertically growing tree to collapse/expand columns
> > in the same way that I can currently collapse/expand rows using a
> > horizontally growing tree.
>
> In fact, this was requested by a customer, and we would allow a
> hierarchy in the horizontal header but it would not be rendered as a
> tree but more as a "grouping" feature. As I don't see how you could
> present this data in WAbstractItemModel (it's hiearchical so you have
> to make a choice: hierachy on the rows or on the columns) -- so you
> would need to configure these groups outside of the model.
>
> This feature is likely to make it in Wt in the coming months.
>
I am surprised that such "grouping" for columns would not use the same
components used for grouping rows.
Is there a conceptual difference between rows and columns? Do they
not both belong to the class of objects that can be grouped?
Or is your choice to not render groupings as trees based on current
implementation restrictions?
I can imagine cases where, for example, one would want to swap the
row and column grouping on the users request in the interest of
creating different types of pivot tables.
http://en.wikipedia.org/wiki/Pivot_table
Rendering grouped columns and grouped rows differently would seem to
unnecessarily complicate the process of building generic UI components
supporting
runtime pivoting. No?
IMO, flexible trees such as (right to left, top to bottom, bottom to top)
etc. are
quite important building blocks for folks that want more that mimicking
other
peoples user interfaces. Why would Wt not allow UI designers to design
more innovative UIs? Why would Wt not support right to left languages?
Please allow us to think outside of the box! And thanks for a great toolkit.
Kind regards,
Maurice
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest