Don't bind to the dataProvider.  Instead, onResult, put the data in an
instance variable.  Then check the status of the dataGrid to determine
if it is being edited.  I'm not sure of the best way to do this.
Setting an instance variable flag when edit starts would be easiest. If
it is being edited, do not assign the dataprovider.

 

Tracy

 

 

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of richmcgillicuddy
Sent: Tuesday, February 20, 2007 5:52 PM
To: [email protected]
Subject: [flexcoders] DataGrid Editing issue

 

I have an ArrayCollection that is a data provider to a grid. This
collection is updating a few rows every few seconds from a background
polling process. There are 2-4 fields that are editable by the user in
the data grid. Everytime an update comes through while the user is
editing the dataset, the grid cell editor is closed. Is there a way
around this?

Rich

 

Reply via email to