validateList(), call it from dataGrid or just try doing a refresh on the 
dataProvier


----- Original Message ----
From: annouss79 <[EMAIL PROTECTED]>
To: [email protected]
Sent: Friday, February 22, 2008 5:53:42 PM
Subject: [flexcoders] what is the best way to refresh datagrid ?

i'm using Flex,hibernate and FDS.

1) i get an object 'user' from database:
userHibernateServic e.fill(usersList , "flex:hql", "from Users u where
u.userId = ?",paramMap) ;

2) then i'm filling datagrid by user's offers :
usertest = usersList.getItemAt (0) as Users;
offersList = usertest.offres;
<mx:DataGrid id="dgOffers" dataProvider= "{offersList} ">

when i add a new offer i want find the best way to refresh the
datagrid in order to show to new record too.

thx for help.





      
____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

Reply via email to