Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
317
Row error glyph doesn't appear untill row is selected
posted

We are trying to get the row and cell error glyphs to change immediately when the value of the cell changes.  Our app has business objects that implement IDataErrorInfo and INotifyPropertyChanged.  When a cell value changes in a child grid it can alter one or more cell values in the parent grid.  If the parent grid cell does not meet certain conditions then we would like a row and cell error glyph to appear.  After the child grid cell is modifed the parent cell glyph changes immediately, but the row glyph does not change until the row is selected.

I created a sample app that displays the behavior.  It is very contrived, but my intent was to make it as simple as possible.

The app is currently using version 10.2.

GlyphBug.zip
Parents
  • 469350
    Offline posted

    Hi,

    What do I need to do with this sample to see the problem?

    I tried running the sample and checking the PhoneError column in the first row (Account = 0) of the bottom grid. This appears to change the value of the Phone column in all three rows in the parent grid and displays an error in all three.

    the error does not appear until the change is committed to the bottom grid, of course. Simply checking the PhoneError doesn't do anything until the change it commited to the data source of the second grid. So nothing happens until you move the focus to another cell, row, or control.

Reply Children