GrapeCity MultiRow Windows Forms Documentation
RowDirtyStateNeeded Event


Occurs when the VirtualMode property of a GcMultiRow control is true and the GcMultiRow control needs to determine whether the current row has uncommitted changes.
Syntax
<FeatureAttribute(Name="VirtualMode", Version="v5.0")>
<SRDescriptionAttribute("Occurs when the VirtualMode property of the GcMultiRow control is true and GcMultiRow needs to determine whether the current row has uncommitted changes.")>
<SRCategoryAttribute("Data")>
Public Event RowDirtyStateNeeded As EventHandler(Of QuestionEventArgs)
Dim instance As GcMultiRow
Dim handler As EventHandler(Of QuestionEventArgs)
 
AddHandler instance.RowDirtyStateNeeded, handler
[Feature(Name="VirtualMode", Version="v5.0")]
[SRDescription("Occurs when the VirtualMode property of the GcMultiRow control is true and GcMultiRow needs to determine whether the current row has uncommitted changes.")]
[SRCategory("Data")]
public event EventHandler<QuestionEventArgs> RowDirtyStateNeeded
Event Data

The event handler receives an argument of type QuestionEventArgs containing data related to this event. The following QuestionEventArgs properties provide information specific to this event.

PropertyDescription
ResponseGets or sets a value indicating the response to a question represented by the event.  
Remarks
By default, this event sets the QuestionEventArgs.Response property to true if any cell in the current row has been modified. This causes the CancelRowEdit event to occur when the user reverts edits to a row. Users can revert edits to a row by pressing Esc twice when a cell is in edit mode or once outside of edit mode. This event can be used for customizing the commit scope in virtual mode by setting the QuestionEventArgs.Response property to the correct value based on the chosen commit scope.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GcMultiRow Class
GcMultiRow Members
VirtualMode Property
CellValueNeeded Event
CellValuePushed Event
NewRowNeeded Event
CancelRowEdit Event

 

 


Copyright © GrapeCity, inc. All rights reserved.