Infragistics(R) NetAdvantage(R) Windows Forms
RowUpdateCancelAction Property
See Also  E-mail your feedback on this topic.
Infragistics.Win.UltraWinGrid Namespace > UltraGrid Class : RowUpdateCancelAction Property

Specifies the action that should be taken when BeforeRowUpdate event is cancelled. Default value is CancelUpdate.

Syntax

Visual Basic (Declaration) 
Public Property RowUpdateCancelAction As RowUpdateCancelAction
C# 
public RowUpdateCancelAction RowUpdateCancelAction {get; set;}

Remarks

BeforeRowUpdate event is fired when UltraGrid is about to commit changes made by the user to a row. This event allows you to validate the input. If validation fails you can cancel the BeforeRowUpdate event which by default causes the UltraGrid to revert back to the old cell values. You may however not want to revert back to the old cell values. In which case set the RowUpdateCancelAction property to RetainDataAndActivation.

See Also