An XML node can never be equal to a string.
--- In [email protected], RishiShahi <rishi.s...@...> wrote:
>
>
> I'm trying to add itemRenderer like, but it doesn't work. However if I remove
> the check it's adding the itemRenderer.
>
> for each (var column:XML in columns)
> {
> var col:AdvancedDataGridColumn = new AdvancedDataGridColumn(column);
> col.headertext=colu...@label;
>
> if(column=="status") {
> col.itemRenderer = new ClassFactory(RenderCategory);
> }
>
> col.width=Number(colu...@width);
> cols.push(col);
> }
> --
> View this message in context:
> http://old.nabble.com/What%27s-wrong-in-using-itemRenderer---tp29449236p29449236.html
> Sent from the FlexCoders mailing list archive at Nabble.com.
>