The solution you gave isn''t working.
My objectives are as follows:
1. I have to be able to turn on/off edit mode
2. My grid has a combobox, value selected from the combobox are only allowed when not already contained in the grid.
I have implemented the CurrentCellCloseDropDown and EditModeChanged events as shown in the attached file.
My Problems:
1. After switching to edit mode, sometimes I still can''t edit the 1st cell I click on (until I go to another cell and then back to the cell I really want to edit).
2. Even though I''m setting the required keys in the EditModeChanged event, I still get a popup msg that the ContactKey is null. This often happen when on a new row, the value selected from dropdown already exist.
script.zip