Hello,
  I am new to flex,  i apologize if this questions seems out of context.

  I have an image loaded with the Loader class in actionscript (say
  in a variable loader)

  I need to display this image onto a DataGrid Cell.

  Can i use a drop-in itemRenderer of Image class?

  Assuming the dataGrid has been set with a dataprovider 
  dataArray[rows][columns],

  And the specified (dynamic) dataColumn in question is set 
   dataGridColumn.dataField = "imageAttr"

  Could i do something like
  var image:Image = new Image();

  image.data = Bitmap(loader).bitmapData

  dataArray[row]["imageAttr"] = image

  If this is not possible and i need to write a customRenderer, can you 
please guide me with a sample?

thanks,
-nj
  

  

Reply via email to