Kbase P163291: Column in UltraGrid that has custom cell editorComponent loses changes made to cell
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  06/04/2010 |
|
Status: Unverified
SYMPTOM(s):
Column in UltraGrid has its editorComponent replaced with a custom class that inherits from the UltraTextEditor
Application code modifies the value in the cell
The UltraGrid's BeforeRowUpdate event shows the new value
The UltraGrid's AfterRowupdate event shows the old value (i.e. new value is lost)
FACT(s) (Environment):
OpenEdge 10.2x
Windows
CAUSE:
In the BeforeRowUpdate event the :Assign() method of the UltraGrid's BindingSource was not being called so the changed data in the row was not being saved back to the BindingSource
FIX:
Insert a call to the BindingSource's Assign() method from within the UltraGrid's BeforeRowUpdate event code