Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
630
ClickCell event dont give me the good return value
posted

 'How my column is define
With GridMain.DisplayLayout.Bands(0)
            .Columns("Activer").Style = Infragistics.Win.UltraWinGrid.ColumnStyle.CheckBox
            .Columns("Activer").DataType = Type.GetType("System.Boolean")
            .Columns("Activer").CellActivation = Infragistics.Win.UltraWinGrid.Activation.AllowEdit
            .Columns("Activer").CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.Edit
End With

'Here is my grid event
Private Sub GridMain_ClickCell( sender,  e) Handles GridMain.ClickCell
        GridMain.UpdateData()
        lbltext_Info.Text = e.Cell.Value.ToString
End Sub

When i click in my checkbox grid:
First click, the return value is not good
Second and other click, the return value is good

What is my problem?