1 Reply Latest reply on Mar 7, 2008 12:20 AM by SujitG

    facing problem with Datagrid item renderer

    Pratap Reddy
      Hi,
      I need to add a event listener to and itemRenderer.
      Waht am trying to do is.. I inserted a textbox in datagrid cell using itemrenderer . can see the code below.

      var dgc:DataGridColumn=new DataGridColumn();
      dgc.itemRenderer= new ClassFactory(textBoxRenderer);

      Whats the requirement is.. At runtime i need to change the itemrenderer from textbox to combobox.. am able to do that.. At the same time i wanna change the ArrayCollection data.. which is a dataprovider of this datagrid.

      Let me know if not clear.
      Help me plzzzzzzzzzzzzzz :-(