Hello folks,

Ah, ok. That is what I was missing. The itemEditor and itemRenderer
thing. I was using it as itemRenderer only.

Thank you all for that.

Regards,

Fidel.

On Tue, Apr 29, 2008 at 12:54 PM, jtgrassie <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
> You set a ClassFactory to the columns itemEditor property.
>  Via actionscript...
>
>  var cf:ClassFactory;
>  cf = new ClassFactory(mx.controls.ComboBox);
>  theColumn.itemEditor = cf;
>
>  Or mxml...
>
>  <mx:DataGridColumn>
>  <mx:itemEditor>
>  <mx:Component>
>  <mx:ComboBox/>
>  </mx:Component>
>  </mx:itemEditor>
>  </mx:DataGridColumn>
>
>  --- In [email protected], "Fidel Viegas" <[EMAIL PROTECTED]>
>  wrote:
>
>
>  >
>  > Hi All,
>  >
>  > I am trying to implement a DataGrid with one of the columns as a
>  > ComboBox. The thing is that I want to show a label with an icon when
>  > the column is in a normal (non editable state), and show the combo box
>  > when the user clicks the column to edit it.
>  >
>  > Does anyone have an example or some tips on how to achieve this?
>  >
>  > Thanks in advance,
>  >
>  > Fidel.
>  >
>
>  

Reply via email to