Hi Alex, I'm selecting item myself using setSelected(), so the openMode is probably not the problem here.
I wanted only to know if I select item by setSelected() that I must manually expand all parent nodes or if this is bug in Tree. Cheers - Petr 2008/9/23 Alexander Back <[EMAIL PROTECTED]>: > Hi Petr, > > Petr Kobalíček wrote: >> Hi, >> >> I have one question related to Tree behavioe in 0.8. >> >> If I select item that's collapsed, it will not expand it, so it's >> selected but not displayed. >> >> Is this correct behavior or it's a bug (I think that in 0.7.3 the item >> is expanded on select) > How the item is expanded is controlled in 0.8 with the "openMode" > property. This property can have the values "dblclick", "click" or > "none" with "dblclick" as its default/init value. > So if you want to expand the tree item with a single click just change > this property and you're done :) > > Check out the online demo of the tree to see the different modes in action: > -> http://demo.qooxdoo.org/current/demobrowser/#widget-Tree.html > > cheers, > Alex > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
