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 flexcoders@yahoogroups.com <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
*/

Reply via email to