On Thu, 4 Feb 2010, Derrell Lipman wrote:

> On Thu, Feb 4, 2010 at 09:41, Fritz Zaucker <zauc...@oetiker.ch> wrote:
>
>>
>> The good news is that cellRenderer style seems to win over rowRenderer
>> style (which makes sense, I think).
>
>
> If you think about how it might be implemented (and it really is
> implemented this way! :-) ), each row is a <div> and each cell within that
> row is its own <div> within the row <div>. Therefore row styles cascade
> down to cells, but cells can easily override the row's styles.

Of course ...

It even makes sense without knowing the implementation details, as the row
is in a sense the "generalization" of all the cells ...

As follow up question: my table uses a DynamicCellRenderer with a
cellRendererFactory supplying the actual cellRenderer. So the column in
question actually uses different cellRenderers in different rows. In this
case I can/must implement custom cellRenderers for the various data types
with the modification you suggested. Or is there a short cut I don't see?

Thanks again,
Fritz

-- 
Oetiker+Partner AG              tel: +41 62 775 9903 (direct)
Fritz Zaucker                        +41 62 775 9900 (switch board)
Aarweg 15                            +41 79 675 0630 (mobile)
CH-4600 Olten                   fax: +41 62 775 9905
Schweiz                         web: www.oetiker.ch

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to