Home Forums WPF controls Xceed DataGrid for WPF Changes Don’t Apply Until Row Change

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #23125 |

    I’m using a DataGridControl bound to a System.Data.DLinq.EntitySet. The EntitySet was created with DLinq.

    When I change a value and call AcceptChanges in the DataContext object, the changes only apply if I have left the row the changes was made in. Leaving the column isn’t enough.

    Is there a setting or workaround for this?

    Imported from legacy forums. Posted by Brian (had 1815 views)

    Xceed Support
    Member
    Post count: 5658

    Your scenario interests me…

    Is there a particular reason why you need to “bypass” the Row and Cell edition scheme by calling by yourself the AcceptChanges() method?

    But to answer you question… 😉 You can try calling EndEdit() explicitly on the DataRow, to force a commit/resynchronization of the cells.

    Imported from legacy forums. Posted by Marcus [Xceed] (had 2903 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.