> 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.

Do you mean that Flex Builder's MXML editor should offer class selector
names when you type
 
    styleName="
 
on an MXML tag? That sounds like a good idea.
 
If you can find this as an already-filed enhancement request at
http://bugs.adobe.com/flex, you should vote for it. If it hasn't, you
should file it.
 
Gordon Smith
Adobe Flex SDK Team

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of mr_j_harris
Sent: Monday, February 11, 2008 1:58 PM
To: [email protected]
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.validateNow()
DataProviderArrayCollection.refresh() 
datagrid.invalidateList()
datagrid.invalidateDisplayList()

--- In [email protected] <mailto:flexcoders%40yahoogroups.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 <[EMAIL PROTECTED]>
> To: [email protected] <mailto:flexcoders%40yahoogroups.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=Ahu06i62sR8HDtDypao8Wcj9tAcJ
<http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ> 
>



 

Reply via email to