This intrigues me, Pedro.  Could you expand a bit more and/or give
examples?  Even if this is unrelated to the problem here, I'm interested in
it to expand my Flex knowledge.

On Tue, Sep 16, 2008 at 3:31 PM, Pedro Sena <[EMAIL PROTECTED]> wrote:

>   Probably because that are a few protected attributes that become private
> when you subclass StandardTreeGrid instead of direct subclassing ADG.
>
> I´m not sure if this is the case, but you should take a look at this.
>
> Hope this helps
>
> On Tue, Sep 16, 2008 at 5:24 PM, whatabrain <[EMAIL PROTECTED]> wrote:
>
>>   While trying to answer your question, I found out what was causing the
>> problem, but I'm still not sure why.
>>
>> I have a class called StandardTreeGrid, which subclasses ADG. It's in
>> StandardTreeGrid that I override things like verticalGridLines. Now if
>> I override headerSeparatorSkin in StandardTreeGrid, everything works
>> fine. But if I subclass StandardTreeGrid and override
>> headerSeparatorSkin there, I lose a bunch of ADG attributes.
>>
>> Any idea how I can fix this?
>>
>>
>> --- In [email protected] <flexcoders%40yahoogroups.com>, "Pan
>> Troglodytes" <[EMAIL PROTECTED]>
>> wrote:
>> >
>> > Did you override just the headerSeparatorSkin, or go farther?
>> >
>> > On Tue, Sep 16, 2008 at 2:29 PM, whatabrain <[EMAIL PROTECTED]> wrote:
>> >
>> > > Thanks. That's exactly what I was looking for, and it fixed my
>> > > problem.
>> > >
>> > > However, overriding the skin also overrode lots of ADG settings,
>> like
>> > > verticalGridLines, alternatingItemColors and sortExpertMode. Is
>> there
>> > > any way to avoid that?
>>
>>
>
>
> --
> /**
> * Pedro Sena
> * Systems Architect
> * Sun Certified Java Programmer
> * Sun Certified Web Component Developer
> *
> * Net Sar
> * www.netsar.com.br
> */
>  
>



-- 
Jason

Reply via email to