hi eric, worked like a charm, i could swear that i had tried this and  didn'
worked, never mind.

it's really hard to belive that the flash docs have a error like this.

thank you

----- Original Message ----- 
From: "eric dolecki" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <[email protected]>
Sent: Friday, May 05, 2006 4:59 PM
Subject: Re: [Flashcoders] disable datagrid


did you try .enabled = false; ?
Never tried to disable a dg before...

On 5/5/06, Rodrigo Guerra <[EMAIL PROTECTED]> wrote:
>
> hi
> i´m trying to disabe a datagrid items
>
> (from flash help)
> my_dg.setSize(140, 100);
>
> // Set up sample data.
> var myDP_array:Array = new Array();
> myDP_array.push({name:"Clark", score:3135});
> myDP_array.push({name:"Bruce", score:403});
> myDP_array.push({name:"Peter", score:25});
> my_dg.dataProvider = myDP_array;
>
> my_dg.selectable = false;
>
>
> i just can't make it work(the items still highlight and are selectable)
> what i'm missing?
>
> thanks.
> _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
>
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to