validateNow does not work

 

refresh does not seem to be available on my dataProvider which is a variable
array collection.

 

If I redo the binding

 

gridName.dataProvider = variableName;

 

This works, but it redisplays the whole grid and looses your position within
the data.

 

Regards

Dale Fraser

 

http://learncf.com

 

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Max Frigge
Sent: Tuesday, 15 January 2008 6:24 PM
To: [email protected]
Subject: Re: [flexcoders] DataGrid Refresh

 

Hey I am not quite sure about this, but 
it should be either:

yourDataProvider.refresh(); 

or

you could try dataGrid.validateNow();


HTH (and I am not telling any crap ;)

----- Original Message ----
From: Dale Fraser <[EMAIL PROTECTED]>
To: [email protected]
Sent: Tuesday, January 15, 2008 4:16:07 PM
Subject: [flexcoders] DataGrid Refresh

I have a datagrid and am programmatically updating some entries in the
selected row.

 

I have tried both

 

selectedItem. columnName = "blah"

 

and changing the bound dataProvider.

 

Both work, but the grid does not refresh. If I do a column sort it refreshes
and I see the changed data.

 

Regards

Dale Fraser

 

http://learncf. com

 

 

 

  _____  

Looking for last minute shopping deals? Find
<http://us.rd.yahoo.com/evt=51734/*http:/tools.search.yahoo.com/newsearch/ca
tegory.php?category=shopping>  them fast with Yahoo! Search.

 

Reply via email to