Hi Mark,
I don't know if this is more performant, but this should do the trick:

// Wrapper method that creates a ClassFactory instance
public static function createItemRenderer(renderer:Class, properties:Object
):IFactory {
        var factory:ClassFactory = new ClassFactory(renderer); 
        factory.properties = properties;
        return factory;
}

<column itemRenderer="{MyComponent.createItemRenderer(Text, {text:
'MyPath'}) }"/>

HTH,
Olaf



--
View this message in context: 
http://apache-flex-users.2333346.n4.nabble.com/Custom-itemrenderer-doesn-t-show-data-tp12269p12274.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to