Consultor Eletrônico



Kbase P173509: How to keep cell focus when updating cell in ultragrid?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   9/16/2010
Status: Unverified

GOAL:

How to keep cell focus when updating cell in ultragrid?

GOAL:

How to retain cell focus when wrong data is entered in ultragrid?

FACT(s) (Environment):

Windows
OpenEdge 10.2x

FIX:


METHOD PRIVATE VOID ultraGrid1_BeforeExitEditMode( INPUT sender AS System.Object, INPUT e AS Infragistics.Win.UltraWinGrid.BeforeExitEditModeEventArgs ):

IF (<some_condition>) THEN DO:
e:cancel=TRUE.
END.
RETURN.