Well the second argument that is passed to a labelFunction from the DataGrid column is the column, so, I suppose you can search the DataGrid.columns array for that particular column and grab the index.

 

Joan

 


From: [email protected] [mailto:[email protected]] On Behalf Of stchavan
Sent: Tuesday, May 30, 2006 8:54 AM
To: [email protected]
Subject: [flexcoders] Flex 2b3 : columnIndex inside labelFunction for dynamic datagrid column

 

Hi,

I am trying to use a labelFunction for a datagrid with dynamically
created columns. How can I get the columnIndex for a column from within
the labelFunction?

Regards!

Santosh







--
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
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to