This is a migrated thread and some comments may be shown as answers.

commit changes when dropdown closes in gridviewcomboboxcolumn

1 Answer 89 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jeremy
Top achievements
Rank 1
Jeremy asked on 22 Jan 2013, 11:03 AM
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

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 22 Jan 2013, 11:29 AM
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.

Tags
GridView
Asked by
Jeremy
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or