nice... yes, changing the data does seem to help... thanks... going to chase 
that rabbit now...


-----Original Message-----
From: flashcoders-boun...@chattyfig.figleaf.com on behalf of ktu
Sent: Fri 8/16/2013 1:03 PM
To: Flash Coders List
Subject: Re: [Flashcoders] CHANGE style of Datagrid
 
i have no idea what framework you are using and have never used a framework
that had a DataGrid, so i can't help with specifics but this is how i would
approach:

are there docs to look at?
does it have a render() or update() or invalidate()?
maybe taking it off the display list then putting it back on?
or maybe changing the data will cause it to re-render?





On Fri, Aug 16, 2013 at 12:42 PM, Ted Lehr <t...@qvine.com> wrote:

> So when I use getStyle to see if it is changing - it appears as though it
> is... like when I trace it - what is being returned on getStyle is correct
> - it's just that the actual style is not changing visually...
>
>
> -----Original Message-----
> From: flashcoders-boun...@chattyfig.figleaf.com on behalf of Ted Lehr
> Sent: Fri 8/16/2013 12:23 PM
> To: Flash Coders List
> Subject: RE: [Flashcoders] CHANGE style of Datagrid
>
> yeah - that's a good idea... I am creating like 10 grids so I was hoping I
> could just change the style when needed as opposed to having to create 20...
>
>
> -----Original Message-----
> From: flashcoders-boun...@chattyfig.figleaf.com on behalf of Paul A.
> Sent: Fri 8/16/2013 12:05 PM
> To: Flash Coders List
> Subject: Re: [Flashcoders] CHANGE style of Datagrid
>
> On 16/08/2013 16:23, Ted Lehr wrote:
> > Is it possible to change the style of a datagrid? I have a datagrid I am
> dg.setStyle 'ing when I create it... at a certain point I want to change
> the style of that grid... I am simply trying to setStyle again... I am
> guessing you cannot reset a style by simply setting a new style as it is
> not working... Is it possible?
> >
> > Ted
> >
> >
> > _______________________________________________
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> I don't know, but you could just have two different datagrids and switch
> them?
> _______________________________________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
>
>
> _______________________________________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
>


-- 
Ktu;

The information contained in this message may or may not be privileged
and/or confidential. If you are NOT the intended recipient,
congratulations, you got mail!
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to