I have since learned that it is not possible to do what I would have liked (execute onitemcreated method against the datagrid), so, I worked around the problem by adding columns to the datagrid dynamically and setting cell properties like alignment and width then.
|