This is a simple example, how to use either an inline or custom component item renderer with a data grid control. The example shows the various ways that a data grid column can be rendered using dataField, labelFunction, itemRenderer and headerRenderer. MXML and AS examples are included. The example also shows a method to communicate with an itemRenderer using an event listener.
Data grid columns have several methods available to render cell content and format. The default itemRenderer is a text field. Many times, just setting the dataField property is sufficient to display data in a DataGridColumn. However, Flex provides a few rendering options that allow for customization.
dataField:
text field.
labelFunction:
function to change the text of the text field.
itemRenderer:
component class, to fully customize the cell. Can be mxml or action script.
in-line itemRenderer:
In mxml version of itemRenderer. These renderers are coded within the DataGridColumn tags.
headerRenderer:
headerRenderer is an itemRenderer that is applied to the column header. Can add toolTips for grid headers here.
Using the different rendering options depends on the need of the DataGridColumn. The simplest option is recommended.
[ Read more... | Demo ]



hello
excellent example, just what I was looking for!
dfasdf
excellent example ,where is the code?please
thanks for sharing
8v7iAQ Hi! Nice site! Where is a add to favorite button&
http://www.mysite.com
AL
AK
AR
CA
MA
i need to post city textinput field value using httpservice by using setCity.text like setCity.text but
i am not able to access the id setCity which is inside the
copier coller
I don’t want to see threads like this whonews.,
viagra concentration
трансфер фактор решение проблем с телом