GrapeCity.Win.MultiRow Namespace > GcMultiRow Class : CellValueChanged Event |
<SRCategoryAttribute("Action")> <SRDescriptionAttribute("Occurs when the value of a cell changes.")> <FeatureAttribute(Name="DataTranslation", Version="v5.0")> Public Event CellValueChanged As EventHandler(Of CellEventArgs)
Dim instance As GcMultiRow Dim handler As EventHandler(Of CellEventArgs) AddHandler instance.CellValueChanged, handler
[SRCategory("Action")] [SRDescription("Occurs when the value of a cell changes.")] [Feature(Name="DataTranslation", Version="v5.0")] public event EventHandler<CellEventArgs> CellValueChanged
The event handler receives an argument of type CellEventArgs containing data related to this event. The following CellEventArgs properties provide information specific to this event.
Property | Description |
---|---|
CellIndex | Gets the cell index in its parent Section. |
CellName | Gets the cell name. |
RowIndex | Gets the index of the owner Row that the event occurs for. |
Scope | Gets the area of the cell that the event occurs for. |
SectionIndex | Gets the index of the owner Section that the event occurs for. |
The CellValueChanged event occurs when the user specified value is committed, which typically occurs when focus leaves the cell.
Rows in the control are not automatically sorted when a cell value is changed. To sort the control when the user modifies a cell, call the Sort(Int32) method in a CellValueChanged event handler.
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