Hi,
I have two classes, Department and Employer, the Department contains an
ArrayList (employers) filled with Employer objects. I want to display an
ArrayList filled with Department objects using a Datagrid. Therefor, I do a
setDatabinding with the Deparments ArrayList and I create two
DatagridTableStyle objects, both with mappingname "ArrayList", and add them
to the Datagrid. However, if I want to add the second DatagridTableStyle, I
get the exception that a table with mappingname "ArrayList" already exists
(makes sense). If I change the Deparment ArrayList to a strongly type array
Department[], and change the mappingname accordingly all works well, of
course. (great feature by the way). I want to know whether it is possible to
display this kind of objectstructure using just ArrayLists.
kind regards,
Christiaan