I have an IList of entities bound to my UltraWinGrid. The entity has several get's that return calculated values. These values have to be provided by the user, which they do in a pair of UltraNumericEditors. In order to keep the API as simple as possible, when the user enters these values and presses a button, I copy the values out of the fields and into ivars in the entiries. The get's read those and return the right values.
The numbers are working fine, but the Grid display is not. Unless you take an action that causes a repaint, the cells retain their old values. Little is needed to make them refresh, even mousing over the cells or scrolling will do it.
Since the calculated values are the ones in the Grid, and the ivars are not (normally at least), I put NotifyPropertyChanged calls on the three calculated get's in the set's on the ivars. I thought that would cause the Grid to notice that it had to refresh those columns, but that didn't help.
Any ideas? If nothing else, is there a repaint method I should use?
I would use gridname.updatedata. If I understand the question correctly it should work.