1
Answer

the left/right key will affect the ComboBox field, cause ComboBox value changed , how could I solve this

Photo of Mark Chen

Mark Chen

18y
2.5k
1
Sometime when I use left/right/up/down key in Data Grid, the left/right key will affect the ComboBox field, cause ComboBox value changed , how could I solve this , thanks in advance . 

Answers (1)

0
Photo of Mark Chen
NA 8 0 18y
I've got a easier way from my friend to do this !

In dataGrid1_CurrentCellChanged() Event , add statement "ComboBox.Enable=false" in beginning to avoid the interaction , and add statement "ComboBox.Enable=true" in ending to restore its attribute.