I don't see anything obviously wrong. Why don't you create a playground
example demonstrating the problem. It should then be pretty easy to track
down the problem.

Derrell

On Fri, Nov 26, 2010 at 08:35, Mustafa Sak <[email protected]> wrote:

>  Hi List,
>
>
>
> I need help at TreeVirtual widget. I want to use custom cell renderer
> subclasses but I can’t see any effect. The same class in a table is working
> fine. Also using of cellrenderer.Image is working propper. Can any one help
> me out? Why is _ getCellStyle is not fireing?
>
>
>
> Here ist he code
>
>
>
> ….
>
> var tcm = tree.getTableColumnModel();
>
> var renderer = new qx.ui.table.cellrenderer.Image(16, 16);
>
> tcm.setDataCellRenderer(8, renderer);
>
>
>
> tcm.setDataCellRenderer(1, new asa.PartnerTransferCellRenderer());
>
> ….
>
>
>
> qx.Class.define("asa.PartnerTransferCellRenderer",
>
> {
>
>   extend : qx.ui.treevirtual.DefaultDataCellRenderer,
>
>   construct : function()
>
>   {
>
>                 this.base(arguments);
>
>                 console.log("cellrenderer");
>
>   },
>
>   members :
>
>   {
>
>     _getCellStyle : function(cellInfo)
>
>     {
>
>
>
>
>
>                                var tree = cellInfo.table;
>
>                                var dm = tree.getDataModel();
>
>
>
>                                var row = cellInfo.row;
>
>
>
>                                console.log(cellInfo);
>
>                                /*if (cellInfo.value != null)
>
>                                {
>
>                                                tree.nodeSetIcon();
>
>                                }*/
>
>
>
>
>
>                                return this.base(arguments, cellInfo) +
> "background-color:" + "#FF6600" + ";color:" + "#FF6600" + ";";
>
>     }
>
>   }
>
> });
>
>
>
> Regards Sak
>
>
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to