[flexcoders] Re: Styling AdvancedDataGridItemRenderer

2008-06-26 Thread Amy
--- In flexcoders@yahoogroups.com, Amy [EMAIL PROTECTED] wrote: I'm trying to extend AdvancedDataGridItemRenderer to allow the styleFunction to set both the backgroundColor and the alpha of the item in. I've used a combination of the custom style example in the docs and the example here

Re: [flexcoders] Re: Styling AdvancedDataGridItemRenderer

2008-06-26 Thread Jonathan Branam
Hi Amy, I'm trying to follow along, but you've asked several questions now! Setting the alpha property should work based on a simple test that I did. As I look at your code, though, I think you have some confusion between the alpha *property* and an alpha *style*. The alpha property is from

[flexcoders] Re: Styling AdvancedDataGridItemRenderer

2008-06-26 Thread Amy
--- In flexcoders@yahoogroups.com, Jonathan Branam [EMAIL PROTECTED] wrote: Hi Amy, I'm trying to follow along, but you've asked several questions now! Setting the alpha property should work based on a simple test that I did. As I look at your code, though, I think you have some

Re: [flexcoders] Re: Styling AdvancedDataGridItemRenderer

2008-06-26 Thread Jonathan Branam
There are a bunch of comments below, but to sum up, it seems like extending AdvancedDataGridGroupItemRenderer and drawing a background with the graphics property will meet all of your needs. I missed the requirement to preserve leaf icons and such. Is there a reason this doesn't meet your needs,

[flexcoders] Re: Styling AdvancedDataGridItemRenderer

2008-06-26 Thread Amy
--- In flexcoders@yahoogroups.com, Jonathan Branam [EMAIL PROTECTED] wrote: There are a bunch of comments below, but to sum up, it seems like extending AdvancedDataGridGroupItemRenderer and drawing a background with the graphics property will meet all of your needs. I missed the requirement

[flexcoders] Re: Styling AdvancedDataGridItemRenderer

2008-06-26 Thread Amy
--- In flexcoders@yahoogroups.com, Amy [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, Jonathan Branam jonathan.lists@ wrote: There are a bunch of comments below, but to sum up, it seems like extending AdvancedDataGridGroupItemRenderer and drawing a background with the

Re: [flexcoders] Re: Styling AdvancedDataGridItemRenderer

2008-06-26 Thread Doug McCune
As a very general word of warning, I'd advise you to be more careful and expect more pain when working with the following classes (and all associated base classes, etc): AdvancedDataGrid, OLAPDataGrid, GroupingCollection. I'll try to be extremely politically correct here, but I assume you'll

[flexcoders] Re: Styling AdvancedDataGridItemRenderer

2008-06-26 Thread Amy
--- In flexcoders@yahoogroups.com, Doug McCune [EMAIL PROTECTED] wrote: As a very general word of warning, I'd advise you to be more careful and expect more pain when working with the following classes (and all associated base classes, etc): AdvancedDataGrid, OLAPDataGrid,

[flexcoders] Re: Styling AdvancedDataGridItemRenderer

2008-06-25 Thread Amy
--- In flexcoders@yahoogroups.com, Amy [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, Amy amyblankenship@ wrote: I'm trying to extend AdvancedDataGridItemRenderer to allow the styleFunction to set both the backgroundColor and the alpha of the item in. I've used a