Thanks for that info. I'm glad to hear that it is at least known as a
bug. 

So, "styleName" on DataGridColumn is deprecated? What is the suggested
way of applying a style class to a column, or a cell? What about the
"headerStyle" style of the DataGridColumn, is that deprecated also? It
should be noted that the column headers ignore 'backgroundColor' style
also... part of the same bug I imagine.

I've implemented a cell renderer now (inherited from HBox) in which I
set the style properties I want... that's working pretty well except
there's a white padding (border) which I can't get rid of. I see a
'marginLeft' and 'marginRight' styles on the DataGridColumn, but those
don't seem to do the trick. There aren't any padding styles that I can
see. Any ideas?

I've also implemented a HeaderCellRenderer in an attempt to change the
background color of certain column headers, but that isn't working
either. The renderer is subclassed from HBox as well. (setting the
backgroundColor of the HBox has no effect).
 
Hope this is clear enough (and helpful).

Thunder


--- In [email protected], "Manish Jethani"
<[EMAIL PROTECTED]> wrote:
>
> On 3/16/06, thunderstumpgesatwork <[EMAIL PROTECTED]> wrote:
> 
> > .PivotTableDimColumn
> > {
> >         background-color: #5A5A5A;
> >         color: #FFFFFF;
> > }
> >
> > What's strange is I know the CSS class is getting linked to the
> > column, because the "color" property is working... the text is white.
> > HOWEVER, the background color does not get set. I have tried
> > "backgroundColor" and "background-color"... which should it be and why
> > doesn't it work?
> 
> Because programmers make mistakes :)  It's a bug.
> 
> BTW, "styleName" on DataGridColumn is deprecated.  I wouldn't use a
> deprecated API in a new project.
> 
> Manish
>






--
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