Can I use 2 itemrenderer in one datagrid column?
co_name.itemRenderer = new ClassFactory(websitelabel);
co_name.itemRenderer= new ClassFactory(websiten);
Please help me,thanks in advance.
ItemRenderer is one for column, so you can create one ItemRender and hide or show different parts of it depends on data.
But certainly, if you are building your columns dynamically in AS code, you could conditionally assign a renderer via ClassFactory.
I understand that the next version of Flex has some imporvements in this area.