I have a custom DataGrid class and a custom DataGridColumn class.

 

I extended DataGridColumn to have additional properties that I pass using listData to the itemRenderer.  I have this working in the mxml hardcoded style

 

<sample:MyExtendedDataGrid>

 

            <mx:columns>

                        <sample:MyExtendedDataGridColumn itemRenderer=”{blah}” />

            </mx:columns>

 

</sample:MyExtendedDataGrid>

 

What I’m trying to accomplish is to populate the datagrid dynamically and place custom DataGridColumns/itemRenderers where needed.  I have it working, but I need to tell the Datagrid to use MyExtendedDataGridColumn when needed so it can pass values to the itemRenderer component.

 

I’ve been trying to find examples of this in pure ActionScript and haven’t had any luck yet.  Thanks in advance.

 

 

 

Louie Penaflor

Web Software Developer

World Council of Credit Unions, Inc.

Ph: (608)231-7932

 

This is a transmission from World Council of Credit Unions, Inc. and contains information that is confidential. If you are not the intended addressee or authorized to receive for the addressee, then any disclosure, copying, distribution, or use of the contents of this message is prohibited. If you have received this transmission in error, please destroy it and notify the sender immediately at the transmitting e-mail address. If you are the intended recipient, please be advised that this e-mail transmission is not encrypted or otherwise protected from potential misappropriation or misuse. World Council of Credit Unions, Inc. expressly disclaims any and all liability for harm resulting from the misappropriation, interception or misuse of the information contained in this transmission.

 

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to