Home Forums WPF controls Xceed DataGrid for WPF Cell validation problem

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

    Hi,
    I have a DataGridControl which I insert its items using a class called “MyGridRow” (representing a row in the grid), and its data members are binded (TwoWay) to the columns names.
    My problem is that if I edit the value of a cell, I do not recieve a notification of the change (I recieve it only if I select a different row, but not if a select a cell within the same row).
    I tried to change the “ValidationMode” property to “CellEndingEdit” but this did not help.

    Can someone explain ?

    Imported from legacy forums. Posted by Yoav (had 2279 views)

    Xceed Support
    Member
    Post count: 5658

    Values are commited to the data item only when the row leaves edition mode…

    Currently, there is 2 ways to leave edition mode (and commit changes)… press “Enter” OR move to another row.

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

    User (Old forums)
    Member
    Post count: 23064

    Is it possible to add the behaviour I want ?
    (leave edition mode when cell loses focus)

    Imported from legacy forums. Posted by Yoav (had 3485 views)

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