This question is locked. New answers and comments are not allowed.
Hi,
How do I get a grid to update itself when I have programmatically changed the value of a property in the underlying business object/item source?
. I.e. I get the SelectedItem from my grid and assign that to a BusinessObject. I change the value of a property of this object. The SelectedItem now contains this changed property, but the grid displays the original value. The only way to get the grid to display the changed property is to copy the ItemSource to a temporary Object, then clear the ItemSource and finally reassign the temporary Object back to the ItemSource. BUT by doing this the Grid scrolls to the top and I loose my position /current viewport.
How can I get the grid to refresh, i.e. display changes in properties of an underlying ItemSource's BusinessObject without re-displaying the grid?
How do I get a grid to update itself when I have programmatically changed the value of a property in the underlying business object/item source?
. I.e. I get the SelectedItem from my grid and assign that to a BusinessObject. I change the value of a property of this object. The SelectedItem now contains this changed property, but the grid displays the original value. The only way to get the grid to display the changed property is to copy the ItemSource to a temporary Object, then clear the ItemSource and finally reassign the temporary Object back to the ItemSource. BUT by doing this the Grid scrolls to the top and I loose my position /current viewport.
How can I get the grid to refresh, i.e. display changes in properties of an underlying ItemSource's BusinessObject without re-displaying the grid?