I have a gridpanel. when I double click a row from grid another form opens from whenre grids data can be edited.

Form is having some dropdowns. when value of dropdown changes, grid get updated with new value (as values are stored in record).
I want to update grid only when I click ok button on form and not on dropdown value change