You could do "grid.executeBindings();" on the "change" or the
"valueCommitted" events of the TextInput. Change is fired every time
text is typed in the TextInput, so you might want to use
valueCommitted for performance reasons.

Jim


On 6/22/05, Tracy Spratt <[EMAIL PROTECTED]> wrote:
> You can certainly do this programmatically, by using editField() on the
> dataProvider in the change or focusout event of the text box.
> 
> To do it with binding I would just be guessing, but maybe you could do
> myDataProvider.modelChanged in the change event of the text box?
> 
> Post a sample app, I'll take a shot.
> 
> Tracy
> 
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of jamiebadman
> Sent: Wednesday, June 22, 2005 12:10 PM
> To: [email protected]
> Subject: [flexcoders] Refresh grid after bound data changes...
> 
> Hi,
> 
> I have a datagrid (dgHeader) bound to a dataprovider returned from a
> DB (headerList). Also on screen is a textInput box, which is bound
> inward to a column on the datagrid and the column on the datagrid is
> bound to the textInput.
> 
> So what happens is this:
> 
> Data retrieved and appears in the grid. You select a row on the grid
> and the textInput field is populated as expected.
> 
> You change the textInput field and the cell on the selected row on
> the grid does NOT change... until you click on the row on the grid -
> when you do this, the data is refreshed and all is fine...
> 
> My question is - how can I cause the cell to show the updated value
> from the textInput component without having to click the row on the
> grid ?
> 
> Thanks,
> 
> Jamie.
> 
> 
> 
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
>


 
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