The invalidate did not result in the view to be updated until some 
action such as scrolling took place.  How can I have the grid redraw 
itself.  I tried redraw(true) but that did not seem to work either.

Thanks.

--- In flexcoders@yahoogroups.com, "viraf_bankwalla" 
<[EMAIL PROTECTED]> wrote:
> 
> Thanks - 
> 
> 1.  As I have a headerRenderer does this mean that I should 
directly 
> call setValue ?
> 
> 2. Calling invalidate will result in a redraw of the entire grid.  
> Is there a way to just redraw the column's cells.  When should one 
> call invalidate() vs dispatching a modelChanged updateAll on the 
> dataProvider ?
> 
> Thanks
> 
> - viraf
> 
> 
> 
> --- In flexcoders@yahoogroups.com, Matt Chotin <[EMAIL PROTECTED]> 
wrote:
> > 1.  You can simply set the headerText on the DataGridColumn
> > 2.  Call invalidate() on the DataGrid
> > 3.  same as 2 (though you might need to reset the headerText on 
> the
> > column for the header to redraw).  Jim's suggestion while it may 
> work is
> > completely undocumented and thus unsupported.
> > 
> >  
> > 
> > Matt
> > 
> >  
> > 
> >   _____  
> > 
> > From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] 
> > Sent: Tuesday, April 26, 2005 10:22 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Re: DataGrid Column updates
> > 
> >  
> > 
> > 
> > Any suggestions ?
> > 
> > --- In flexcoders@yahoogroups.com, "viraf_bankwalla" 
> > <[EMAIL PROTECTED]> wrote:
> > > 
> > > Hi,
> > > 
> > > 1.  What is the best way to have a column's headerRenderer 
> update 
> > its 
> > > value (i.e. call setValue).  
> > > 
> > > 2.  Have a column update its conthent - i.e. each of the 
column 
> rows 
> > > update themselves - i.e. call setValue.  
> > > 
> > > 3.  Have the column header and cells update themselves.
> > > 
> > > Thanks.
> > 
> > 
> > 
> > 
> > 
> > 
> >   _____  
> > 
> > Yahoo! Groups Links
> > 
> > *   To visit your group on the web, go to:
> > http://groups.yahoo.com/group/flexcoders/
> > <http://groups.yahoo.com/group/flexcoders/> 
> >   
> > *   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!
> > <http://docs.yahoo.com/info/terms/>  Terms of Service.





 
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