hi,

looks like a lifecycle problem to me.
try to see if the DataGrid is already created when you try the calls that fail.

note that if the DG is inside a viewstack or another container with a
creationPolicy, it might not get instantiated right away unless you
set the policy to "all"

best,
aldo

On 1/19/06, rhoska <[EMAIL PROTECTED]> wrote:
> Hello everyone,
>
> I�m having a bit of trouble getting setPropertiesAt to work as needed
> in the Cairngorm framework.  I need to be able to alter the background
> colors of a datagrid as it loads.
>
> I have placed the testDG.setPropertiesAt(2,
> {backgroundColor:0xFF0000}); code in all the likely places and still
> have not managed to get the result I am looking for.  If I associate
> the setPropertiesAt with a button or a cellEdit event it works like a
> charm.
>
> How can I use the setPropertiesAt feature as the page loads?
>
> Thanks in advance!
> ~Richard
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
>
>
>


--
::::: Aldo Bucchi :::::
mobile (56) 8 429 8300


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
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