Hello,
the behaviour of the SelectedItem propeties seems strange to me:
If inserting a new row in the grid, the SelectedItem is still the previous row. That's not what I expect, but it's ok, as far as the previous row is still mark in the grid.
After editing the first cell and clicking on the next cell, the SelectedItem changes to the new entry, but the grid still marks the previous row.
When the CellEditEnded event or RowEditEnded event is raised the SelectedItem differs from the property it is bound to! SelectedItem has been set back to previous item while the bound property is still the new item.
I tracked this behaviour with version 2011_2_0920. It is a bug or a missunterstanding on my side?
I also have two related questions:
1. Why has setting the CurrentItem no effect? The previous item is still marked on the grid.
2. Is there a possiblity to set the inserted item on top of the shown rows in the grid instead of the buttom?
Best greeetings
Florian Müller
the behaviour of the SelectedItem propeties seems strange to me:
If inserting a new row in the grid, the SelectedItem is still the previous row. That's not what I expect, but it's ok, as far as the previous row is still mark in the grid.
After editing the first cell and clicking on the next cell, the SelectedItem changes to the new entry, but the grid still marks the previous row.
When the CellEditEnded event or RowEditEnded event is raised the SelectedItem differs from the property it is bound to! SelectedItem has been set back to previous item while the bound property is still the new item.
I tracked this behaviour with version 2011_2_0920. It is a bug or a missunterstanding on my side?
I also have two related questions:
1. Why has setting the CurrentItem no effect? The previous item is still marked on the grid.
2. Is there a possiblity to set the inserted item on top of the shown rows in the grid instead of the buttom?
Best greeetings
Florian Müller