create new instance of itemrenderer in MX DataGrid
I want to create new instance of item renderer for my data grid.
A single instance of your Item Renderer class (ListIR) is created for each visible item of the list-based control.
As the user scrolls through the items of a data grid control, Item Renderer instances are recycled rather than creating new instances.
But i would like to create new instance ..while scrollling ite开发者_如何学Cm in datagrid.any idea how to achieve it .
thanks in advance javaamtho
Set useVirtualLayout
to false
for your list. More information is here.
精彩评论