title: ActionScript Item Renderer in DataGrid
body: <p>I am using this example from <a href="http://blog.flexexamples.com/2008/03/04/dynamically-adding-new-columns-to-a-datagrid-control-in-flex/" rel="nofollow">blog.flexexamples.com</a>.</p>
  
  <p>I have a datagrid and trying to dynamically add button to one of datagrid column. But I want this Button as an ItemRenderer to be written in ActionScript and not MXML.</p>
  
  <p>How can I do that ?</p>
  
  <p>Thanks</p>