I have a grid and a button to add record in the grid and the 
database.  Once the button is clicked, a popup appear asking for 
text.  I want to save that name using a remoteObject in the database 
and gives me back the name and the newly ID created.  I ant to 
display that result in the datagrid.  Only the name.

--- In [email protected], "Stacy Young" <[EMAIL PROTECTED]> 
wrote:
> Can u maybe explain the problem in more detail? Is the grid not
> updating?
> 
>  
> 
> -Stace
> 
>  
> 
> ________________________________
> 
> From: [email protected] 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Ghislain Simard
> Sent: Saturday, July 23, 2005 3:25 PM
> To: [email protected]
> Subject: [flexcoders] Re: update a list with new value from 
RemoteOject
> result
> 
>  
> 
> I have no model.  I'm communicating to the RemoteObject directly 
see:
> 
>         <mx:RemoteObject id="ecranRO" endpoint="@ContextRoot
> ()/flashservices/gateway" source="EEWizard3.cf.zone" 
> fault="mx.core.Application.alert
(event.fault.faultstring, 'Error')">
>         <mx:method name="affichage"/>
>       </mx:RemoteObject>
>       <mx:HBox width="100%" height="100%" verticalAlign="middle" 
> horizontalAlign="center">
>         <mx:DataGrid id="myGrid" 
> dataProvider="{ecranRO.affichage.result}" rowCount="2">
>           <mx:columns>
>             <mx:Array>
>               <mx:DataGridColumn columnName="Building_Zone_ID" 
> headerText="Building Zone" />
>               <mx:DataGridColumn columnName="Description" 
> headerText="Description"/>
>             </mx:Array>
>           </mx:columns>
>         </mx:DataGrid>
> 
> --- In [email protected], "Stacy Young" 
<[EMAIL PROTECTED]> 
> wrote:
> > You could bind your result to a model and have your list and 
> datagrid
> > bound to their specific model. Whenever the result is received 
> from the
> > server, the model will be updated...and in turn, your UI 
> components.
> > 
> >  
> > 
> > HTH,
> > 
> > Stace
> > 
> >  
> > 
> > ________________________________
> > 
> > From: [email protected] 
> [mailto:[EMAIL PROTECTED] On
> > Behalf Of Ghislain Simard
> > Sent: Saturday, July 23, 2005 1:48 PM
> > To: [email protected]
> > Subject: [flexcoders] update a list with new value from 
RemoteOject
> > result
> > 
> >  
> > 
> > Hi,
> > I have a list and a datagrid that I would like to update.  How 
to 
> > update all the columns and refresh the DataGrid and List 
> dynamically 
> > using the RemoteObject result?  The idea is that I would like to 
> > insert in the list the new created record with his new ID 
received 
> > from the RemoteObject result. 
> > 
> > Thanks
> > 
> > 
> > 
> > 
> > 
> > 
> > --
> > Flexcoders Mailing List
> > FAQ: 
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
> > http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> > 
> > 
> > 
> > 
> > ________________________________
> > 
> > YAHOO! GROUPS LINKS 
> > 
> >  
> > 
> > *      Visit your group "flexcoders
> > <http://groups.yahoo.com/group/flexcoders> " on the web.
> >         
> > *      To unsubscribe from this group, send an email to:
> >       [EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]
> subject=Unsubscribe> 
> >         
> > *      Your use of Yahoo! Groups is subject to the Yahoo! Terms 
of
> > Service <http://docs.yahoo.com/info/terms/> . 
> > 
> >  
> > 
> > ________________________________
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> 
> 
> 
> 
> ________________________________
> 
> YAHOO! GROUPS LINKS 
> 
>  
> 
> *      Visit your group "flexcoders
> <http://groups.yahoo.com/group/flexcoders> " on the web.
>         
> *      To unsubscribe from this group, send an email to:
>        [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]
subject=Unsubscribe> 
>         
> *      Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/> . 
> 
>  
> 
> ________________________________




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to