On Thu, Feb 4, 2010 at 10:22, Fritz Zaucker <zauc...@oetiker.ch> wrote:

> 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?
>

You could probably create a wrapper cell renderer to which you provide the
actual cell renderer. The wrapper would add its own styles to the styles
provided by the actual renderer, but otherwise be a "pass through".
Depending on how many cell renderer classes you're talking about, it's
likely easier to extend each of them as previously shown and use the
subclass everyplace. If there are a huge number of cell renderers, then the
wrapper may be easier.

Cheers,

Derrell
------------------------------------------------------------------------------
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