I have a DataGrid like this and a Custom Component Icon
(based on Image). I have iconTypes like Folder, Document and so on
and I have to match them to the Embeded ImageFiles.
I cannot see any solution. Maybe you see a completely
different way to do this. It seems to be easy, but I don't know how
to do this with embededded Images.
override the set data function of your Icon component and
you'll get the current row passed in as a parameter. Now use the
data data in the current row to decide which icon you want to show,
set the source of your Image to this icon.