Hi,

I have a virtual table and want to style some cells with a white 1px border.
How do I do that?

I tried

var cellRenderer = new qx.ui.virtual.cell.Cell();
cellRenderer.setAppearance("cell-white");

the appearance enty:

    "cell-white" :
    {
      style : function(states)
      {
        return {
          textColor   : "white",
          decorator   : "border-white"
        };
      }
    }    

the decoration entry:

    "border-white" :
    {
      decorator : qx.ui.decoration.Single,

      style :
      {
        width : 1,
        color : "white"
      }
    }

but that gives me: 

object[styler[propertyName]] is not a function
http://.../qooxdoo/1.2/framework/source/class/qx/util/PropertyUtil.js Line
206

What am I doing wrong? 

Thanks,

Christian 



-- 
View this message in context: 
http://qooxdoo.678.n2.nabble.com/qx-ui-virtual-cell-Cell-and-cell-border-tp5501094p5501094.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to