Heres the info from the flex component reference:

dataChange      event    
Event object type: mx.events.FlexEvent
FlexEvent.type property = mx.events.FlexEvent.DATA_CHANGE

Dispatched when the data property changes.

When you use a component as an item renderer, the data property
contains an item from the dataProvider. You can listen for this event
and update the component when the data property changes.

The FlexEvent.DATA_CHANGE constant defines the value of the type
property of the event object for a dataChange event.

The properties of the event object have the following values:
Property        Value
bubbles false
cancelable      false
currentTarget   The Object that defines the event listener that handles
the event. For example, if you use myButton.addEventListener() to
register an event listener, myButton is the value of the currentTarget.
target  The Object that dispatched the event; it is not always the
Object listening for the event. Use the currentTarget property to
always access the Object listening for the event.

--- In [email protected], "Douglas Knudsen"
<[EMAIL PROTECTED]> wrote:
>
> bump!  Any ideas?
> 
> On 9/17/06, Douglas Knudsen <[EMAIL PROTECTED]> wrote:
> >
> > Ok, I have a datagrid setup with using a combobox as a
editRenderer.  The
> > column using this renderer displays its data using a
labelFunction.  When a
> > edit takes place, the labelFunction is not kicked off again.  If I
remove
> > the label function and just output data direct from the
dataProvider I can
> > see that the editRenderer indeed sets the value correctly after
the edit
> > mode is complete.  Is there some way to kick off the labelFunction
with a
> > event or something?
> >
> > how the column is defined:
> > <mx:DataGridColumn id="gradeColumn" headerText="Grade" width="65"
> >                  editable="true" rendererIsEditor="false"
> >                 
itemEditor="com.myco.view.renderers.GradeChoiceRenderer"
> >                  dataField="grade" editorDataField="newgrade"
> >                  labelFunction="displayGrade"       />
> >
> >
> >
> > --
> > Douglas Knudsen
> > http://www.cubicleman.com
> > this is my signature, like it?
> 
> 
> 
> 
> -- 
> Douglas Knudsen
> http://www.cubicleman.com
> this is my signature, like it?
>






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to