AD
Administrator
Syncfusion Team
March 10, 2004 01:47 PM UTC
You can get the renderer from the current cell when you need it to get the ControlText. (ie, grid.CurrentCell.Renderer.COntrolText).
Anyway, you can use CurrentCellAcceptedChanges if you want to get the change value from the cell style directly. This is an event that fires after the value has been set into the cell style.
Private Sub GridControl1_CurrentCellAcceptedChanges(ByVal sender As Object, ByVal e As CancelEventArgs) Handles GridControl1.CurrentCellAcceptedChanges
Dim cc As GridCurrentCell = Me.GridControl1.CurrentCell
Console.WriteLine(Me.GridControl1(cc.RowIndex, cc.ColIndex).Text)
End Sub