On Thu, 4 Feb 2010, Derrell Lipman wrote: > 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".
Yes, of course ... > 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. It's just three ... so I'll go with the first suggestion ... I guess by the time I'll get the full picture of qx.ui.table and friends all will be re-implemented as virtual ... hopefully that will be easier ... ;-) Cheers, 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