When the itemEditor goes away, it will dispatch ITEM_EDIT_END and the
default behavior will save the data to the dataProvider and call
itemUpdated which should result in an update of your itemRenderer.

 

________________________________

From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of dc.truong
Sent: Sunday, April 13, 2008 11:08 AM
To: [email protected]
Subject: [flexcomponents] flex3: what use instead of
"myList.dataProvider.notifyItemUpdate"

 

hi folks,

i am working on an mx:List with itemeditor and itemrenderer.
my problem is that after manipulating the data in the itemeditor,
the display of the itemrenderer needs to be updated.
but how do i do that? 

there is an example for flex 2, which says:

// Notify the list control to update its display.
myList.dataProvider.notifyItemUpdate(myList.editedItemRenderer);

but that doesn't work with flex 3. 
can anyone tell me what to write instead the above line of code?

thanks in advance.

greetings
dee

 

Reply via email to