RSS
email
3

Dynamic itemRenderer in Flex



I was struggled last week about changing itemRenderer dynamically in flex...

at last its easy to change itemRenderer in actionscript..


import mx.core.ClassFactory;
Component.itemRenderer=new ClassFactory(RendererComponent);


here RendererComponent may be a mxml component ...or ActionScripr component..

if RendererComponent resides inside package mention it as com.somePackage.RendererComponent
Read more
 

Recent Posts

Recent Visitors

Donate Me

About Me

My photo
Chennai, Tamil nadu, India
Nothing more to say about me.. Just a Action Script programmer / Flex developer having 4.5 years of experience.