[flexcoders] Re: AdvancedDataGrid custom drawRowBackground with HierarchicalCollectionView

2010-05-27 Thread csmarvz
http://flexpearls.blogspot.com/2008/02/row-background-color-in.html I'll give a try but there is no alpha in the solution above. --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: Have you tried using an item renderer?

[flexcoders] AdvancedDataGrid custom drawRowBackground with HierarchicalCollectionView

2010-05-25 Thread csmarvz
Hi, I have to color the nodes shown in my adg. The code below do the job but the performances insanely decrease. Any idea how to improve it please? Best regards, Henry override protected function drawRowBackground(s:Sprite, rowIndex:int,

[flexcoders] headerRenderer ComboBox

2010-02-23 Thread csmarvz
Hi, Today, my question is : How to populate a ComboBox (as headerRender of an AdvanceDataGrid) with the rows of the corresponding column? (and doing it inside of my custom ComboHeaderRenderer AS3 class to get something as generic as possible) I saw a lot of samples of ComboHeader everywhere,

[flexcoders] styleFunction AdvancedDataGridColumn

2010-02-18 Thread csmarvz
Hi, I have myCustomADGC that extends AdvancedDataGridColumn. Where in myCustomADGC can I put something like : if (styleFunction == null) { styleFunction = myStyleFunction; } and to be called one time? (like onCreationComplete) (same

[flexcoders] Re: AdvancedDataGrid's default columns

2010-02-18 Thread csmarvz
hello! yeah you're right :) --- In flexcoders@yahoogroups.com, tntomek tnto...@... wrote: Henry, manually setting up column fields takes probably 5 lines of code, there really is no good reason other then for demos to show how easy it is to bind grid to data to use the automatic feature.

[flexcoders] AdvancedDataGrid's default columns

2010-02-17 Thread csmarvz
Hi there, is there a way to tell my custom AdvancedDataGrid to use my custom AdvancedDataGridColumn by default? by default, I mean when set up my grid with a dataprovider without setting up the columns field (all fields'll be displayed). Thanks! Henry