commit changes when dropdown closes in gridviewcomboboxcolumn

2 posts, 0 answers
  1. Jeremy
    Jeremy avatar
    11 posts
    Member since:
    Jul 2011

    Posted 22 Jan 2013 Link to this post

    Is it possible to achieve this.

    I have a number gridviewcomboboxcolumns in a datagrid, I want the changes to commit when the dropdown closes not when the focus shifts to the next cell, or out of the datagrid
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 22 Jan 2013 Link to this post

    Hi,

    Indeed the grid commits the edit when the cell loses the focus. If you want the property to be updated right away, you can try defining ComboBox as a CellTemplate for a GridViewDataColumn. That way the cell will not go into edit mode at all and the changes will take effect immediately. Would that work for you?

    All the best,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top