Thanks !

On Sun, 2010-06-27 at 08:25 -0400, Derrell Lipman wrote:
> On Sun, Jun 27, 2010 at 06:38, jeff <[email protected]> wrote:
>         
>         How do I get rid of the icons in a virtualtree ?  I love the
>         tree but
>         want to use without any icons - just keep the arrows.
> 
> You have two choices. The best solution is to subclass
> qx.ui.treevirtual.SimpleTreeDataCellRenderer with this overridden
> method:
> 
> _addIcon : function(cellInfo, pos)
> {
>   return { html : '', pos : pos };
> }
> 
> 
> Alternatively, you can do the following to obtain the "blank image"
> icon, and pass it to each call to addBranch() or addLeaf().
> 
> // Get the table column model, and from it, the tree cell
> renderer which has the "blank" image
> var tcm = tree.getTableColumnModel();
> var cellrenderer = tcm.getDataCellRenderer(0);
> var blankImage = cellrenderer.BLANK;
> 
> 
> Cheers,
> 
> Derrell
> 
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________ qooxdoo-devel mailing list 
> [email protected] 
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to