I have a TDBGrid that has a dropdown attached. If I enter a value into the column with the dropdown by typing in the value (not selecting from the dropdown) and then move to the next line and type in a different value in the same field, everything is fine. However, if I select a value by clicking the dropdown arrow and clicking on the value I want, then move to the next line and type in a different value, after I move off the column the value reverts to the value of the row above. This will happen for multiple rows, they will all revert to the value of the original row that had a value selected from the dropdown. If I later select a new value via the dropdown, all later rows will duplicate to that.
I can see in the BeforeColUpdate event that the value I typed in is indeed in the right place, in the new row. However in the AfterColUpdate event it is showing as reverted. I don't know where or why the change is taking place.
Can anyone PLEASE help. I have grids with dropdowns all over the place in my program.