who said you can't access that property?
package flexlib.containers
{
import mx.controls.DataGrid;
public class ADDataGrid extends DataGrid
{
public function ADDataGrid()
{
super();
this.rendererChanged=true;
}
}
}extend the dataGrid and do wahtever u want with it ----- Original Message ---- From: mr_j_harris <[EMAIL PROTECTED]> To: [email protected] Sent: Monday, February 11, 2008 3:58:02 PM Subject: [flexcoders] Re: How can I FORCE a REDRAW of a DATAGRID Hi Sharif, and thanks, I tried that, it provides the same results as I'm used to, which is a 95% refreshment of the on-screen visual aspect of the DataGrid. Does it force a redraw of all updated cells on my DataGrid... answer is NO. Do I need a redraw of all updated cells on my DataGrid... answer is YES. Many other poor sods (i.e. Flex Coders) have this problem. I digress, but Look: if Adobe was actually so clever, wouldn't they already have parsed all stylesheet names in any .css file in the project to provide to the Content Assistant? Oh I get it, perhaps it's called the "Metered Release of Features" to make money for the company Adobe. I just need to be able to FORCE a REDRAW of my DataGrid content. rendererChanged = true? Can't access that supposed property. But that would probably do it. However, it seems I need a 100% refreshment of all modified cells on the grid, and this is not happening for me via any on datagrid.validateNo w() DataProviderArrayCo llection. refresh() datagrid.invalidate List() datagrid.invalidate DisplayList( ) --- In [EMAIL PROTECTED] ups.com, Sherif Abdou <[EMAIL PROTECTED] ..> wrote: > > what do you mean by redraw? you can try validateNow( ) on the Grid > > > ----- Original Message ---- > From: mr_j_harris <mr_j_harris@ ...> > To: [EMAIL PROTECTED] ups.com > Sent: Monday, February 11, 2008 2:33:47 PM > Subject: [flexcoders] How can I FORCE a REDRAW of a DATAGRID > > > > I need to force a redraw of a datagrid. > > Adobe's or whoever's Cleverness is not working for me. > > I just want to have my computer redraw the DataGrid from 0,0 to the > bottom right corner. My computer has nothing better to do than that > for me or my users. Because elsewise it is show stale data.. See, I > recomputer some values in thoe objects in the ArrayCollection > dataProvider of the dataGrid. > > Please tell me the one, two or three lines of ActionScript that will > do this. > > Oh yeah, without causing that TypeError #1009 thing ever. > > Alternatively, how can I force a redraw of a particular cell? I know > the cell coordinates. ... > > -- John Harris > > > > > > ____________ _________ _________ _________ _________ _________ _ > Be a better friend, newshound, and > know-it-all with Yahoo! Mobile. Try it now. http://mobile. yahoo.com/ ;_ylt=Ahu06i62sR 8HDtDypao8Wcj9tA cJ > ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs

