i'm using Flex,hibernate and FDS.

1) i get an object 'user' from database:
userHibernateService.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.



Reply via email to