Luke, I'm not sure I'm getting what you want to achieve. Particularly your use of the terms "menu" and "tree" are confusing (since as widgets they have nothing to do with each other). But looking at your screen shot gave me an idea. - Have you played with the "Tree Highlight" demo in the Demobrowser [1]? That might be something you can make use of.
T. [1] http://demo.qooxdoo.org/devel/demobrowser/index.html#animation~Tree_Highlight.html lp1051 wrote: > Hi, > > I have following case: > * top-menus + sub-menus - with list of tools like - up/down arrow to move > top-menus or sub-menus (change their order), select boxes, buttons > > I'm attaching also image, that could better explain what I mean. In the > beginning I thought, treeVirtual structure could fit best, but now I am not > sure at all... > > I would like to be able in some way to reorder the top-menus as well as > sub-menus. Where sub-menus only under the parent top-menu. But I couldn't > find a way how to add, into virtual tree with multiple columns, two images > under one column, or how to add event listener to them. So I didn't start > with reordering yet... > I also thought about drag&drop for this, but I couldn't even set up all the > elements like they should be, so maybe later... > > In the case of select boxes, I found possibility in cell editor factory, but > then I have problems with the other fields that should act on dblclick or > click. Column "Items" should on dblclick open dialog (to edit the item > name), Edit layout and Preview buttons should open new window on single > click. > > And buttons. As I cannot add form button and I need them with localized > texts (so I skipped Image), I thought about html cell renderer. But, I don't > know how to add some listeners to this html. > > Also I tried to enable dynamic height of the rows based on the content, but > with no success. And when I set fixed rowHeight, I couldn't find a way to > set vertical alignment or padding for other columns than "Items", which is > either branch or leaf. > > > As you can see, I have a lot of issues, and as a qooxdoo newbie I would > really appreciate opinion of somebody more experienced, if I should continue > with virtual tree, or if there is much better way to go. > Of course if you see solution for some of the problems I described, I would > be happy too. > > Thanks a lot in advance, > Luke > > > http://old.nabble.com/file/p26724180/sections.jpg sections.jpg > ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
