--- In [email protected], Alex Harui <aha...@...> wrote:
>
> DgcDaaGridColumn.itemRenderer = new ClassFactory(MyHBoxWrappingTwoLabels);

I'd add to that: if you're going to go with this method, you're probably going 
to want to pass in a function or two that will give you back the strings you 
want to use.  You'll attach these to the ClassFactory like so:

cf:ClassFactory = new ClassFactory(com.yourDomain.view.CustomRenderer);
cf.properties = {string1Function:someFunction; 
string2Function:someOtherFunction};

Another way you can handle this is to use the DataGrid_withStyle at 
flexdiary.blogspot.com, then have your styleFunction pass back an object with 
properties that you'll then use to populate your strings in commitProperties 
(see the example itemRenderer for how you can handle grabbing the style 
information and use it).

HTH;

Amy

Reply via email to