The DataGrid is comprised of a vertically placed set of DataGridRows 
each of which are made up of cellrenderers one for each DataGridColumn. 
A DataGridColumn is only a data structure and has no UI and therefore 
cannot emit events.

A cellrenderer's styleName property actually is the DataGridColumn it 
represents.

Another way to determine which column you represent is to have a 
labelFunction on each column that returns the column's name.  The 
cellRenderer's setValue call will come in with the column name and the 
whole dataprovider item for that row so you can use that knowledge to 
custom parse the dataprovider item and set things up that way.






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