Second question, can be TreeVirtual configured to have only one leaf opened at time?
For example, I have
/root
    /a
    /b
    /c

If I open (expand)  /root/a - all others will collapse; /root/b, /root/c
Is this configurable, or I need to write own listener? :)


Thanks, that help!
On 19.03.2009 14:43, Derrell Lipman wrote:
On Thu, Mar 19, 2009 at 5:32 AM, A.Yerenkow <[email protected] <mailto:[email protected]>> wrote:

    Hey guys!
    Anyone knows how to make a TreeVirtual with multiple columns and use
    html-markup in additional columns?
    For example, I need simple <font color="red">0.0</font> in some
    columns.


That should be no problem. Adding additional columns is demonstrated here:
http://demo.qooxdoo.org/current/demobrowser/#treevirtual~TreeVirtual_Multiple_Columns.html <http://demo.qooxdoo.org/current/demobrowser/#treevirtual%7ETreeVirtual_Multiple_Columns.html>

Since TreeVirtual is a subclass of Table, you can use any of Table's standard cell renderers for the additional columns. You can use the basic HTML cell renderer (qx.ui.table.cellrenderer.Html) or you might, depending on your application, save yourself some work by using the Conditional cell renderer (qx.ui.table.cellrenderer.Conditional) which is demonstrated here: http://demo.qooxdoo.org/current/demobrowser/#table~Table_Conditional.html <http://demo.qooxdoo.org/current/demobrowser/#table%7ETable_Conditional.html>

Cheers,

Derrell

------------------------------------------------------------------------

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
------------------------------------------------------------------------

_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to