When the field is selected in DBGrid, the value is not set.
Original Reporter info from Mantis: giovanni.seara
-
Reporter name: Giovanni Seara
Original Reporter info from Mantis: giovanni.seara
- Reporter name: Giovanni Seara
Description:
When the Field is selected in DBGrid and the DataSet state are editing, setting the value of Field does not change.
Additional information:
For the tests, the EditButtonClick function of the DBGrid was used and it was verified that the error occurs in two way:
1 - When the Field is selected in the DBGrid and does not have any change in its value, it is not changed by the user, and this value is changed via code via the column button the field value is changed, however visually in the DBGrid the value prior is maintained and be updated only when you leave the field.
2 - When the Field is selected in the DBGrid and has change in value by the user, and after its value is changed by code via the column button, the Field value is changed, however visually in the DBGrid the previous value is maintained and when it exits the field value is replaced by what was visually in the DBGrid.
For a better understanding watch the attached video.