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

    Hi,

    Is there an elegant way to EndEnd on a row when the focus moves to a control other then the datagrid or one of its children? I have managed to do it in a convoluted way but would like a better solution.

    Please help.

    Imported from legacy forums. Posted by Lance (had 2347 views)

    Xceed Support
    Member
    Post count: 5658

    You could register to the DataGridControl’s IsKeyboardFocusWithinChanged event and determine when it loses focus… You could then call myDataGridControl.EndEdit().

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

    User (Old forums)
    Member
    Post count: 23064

    Thanks Marc! That worked beautifully.

    Imported from legacy forums. Posted by Lance (had 3286 views)

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