M
Marius Horak
does not give a solution to the problem described in
http://tinyurl.com/bztd7
"At least there is still a more problem. When I first assign an empty
ArrayList to the DataGrids DataSource, the DataGrid shows nothing. That
is ok. But it also can't detect the ncessary columns, becouse there
aren't. If I now add an object to the the ArrayList and do it the same
way as dscribed above (assign "null" and then the ArrayList again), the
newly added object is shown in the DataGrid. But trying to edit an item
of this record doesn't work. The change isn't accepted and when leaving
the focus of the DataGrid I get an exception (index out of range). It
doesn't matter if I add one ore more objects into the ArrayList. If the
ArrayList was formerly empty, I allways get this exception. "
MH
http://tinyurl.com/bztd7
"At least there is still a more problem. When I first assign an empty
ArrayList to the DataGrids DataSource, the DataGrid shows nothing. That
is ok. But it also can't detect the ncessary columns, becouse there
aren't. If I now add an object to the the ArrayList and do it the same
way as dscribed above (assign "null" and then the ArrayList again), the
newly added object is shown in the DataGrid. But trying to edit an item
of this record doesn't work. The change isn't accepted and when leaving
the focus of the DataGrid I get an exception (index out of range). It
doesn't matter if I add one ore more objects into the ArrayList. If the
ArrayList was formerly empty, I allways get this exception. "
MH