Hi Tom,

the row renderer is just responsible to render the row.

If you want to customize columns extending a cell renderer does the trick.

I am sure you will find many examples in the net. Or just take look on 
framework cell renderer classes.


Gruß
Mustafa Sak

Applications & Integration

1&1 Internet AG | Ernst-Frey-Straße 10 | 76135 Karlsruhe | Germany
Phone: +49 721 91374-6977
E-Mail: mustafa....@1und1.de | Web: www.1und1.de

Hauptsitz Montabaur, Amtsgericht Montabaur, HRB 6484

Vorstand: Frank Einhellinger, Robert Hoffmann, Markus Huhn, Hans-Henning 
Kettler, Uwe Lamnek
Aufsichtsratsvorsitzender: Michael Scheeren

Member of United Internet


-------- Ursprüngliche Nachricht --------
Von: Tom Saddul <tcsad...@yahoo.com>
Gesendet: Tuesday, March 17, 2015 07:46 AM
An: qooxdoo-devel@lists.sourceforge.net
Betreff: Re: [qooxdoo-devel] Set Background Color of Nth Table Column


Thank you for your response.  In the getRowClass

    getRowClass : function(rowInfo)
    {
      var cssClasses = this.base(arguments, rowInfo);

      return !(rowInfo.row % 4) ? cssClasses + " red" : cssClasses;
    }

The *rowInfo.row* property is present, I can't see *rowInfo.col* in debug
which could be easily translated to:

    getRowClass : function(rowInfo)
    {
      var cssClasses = this.base(arguments, rowInfo);

      return (rowInfo.col === 4) ? cssClasses + " red" : cssClasses;
    }

Sorry I'm not an HTML/CSS guy.



--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Set-Background-Color-of-Nth-Table-Column-tp7586948p7586952.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to