We're having an issue which wasn't present in an older version we're using v 10.2.20102.1004. When I try to enter values in one of the cells that normally would except values it no longer does. There are no other events making changes to the grid or any of the cells. After reading several post on this issue here's what I came up with:
Private Sub grdDetail_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles grdDetail.KeyDown
Me.grdDetail.ActiveRow.Cells("tmpAmount").IgnoreRowColActivation = True
Me.grdDetail.ActiveRow.Cells("tmpAmount").Activate()
Me.grdDetail.DisplayLayout.Bands(0).Columns("tmpAmount").CellActivation = Activation.AllowEdit
End Sub
Now this worked fine until the grid was populated with another dataset, the only way the cell then became editable was if I click on another cell and then back to the cell I wanted to edit. I can provide what ever details needed. Any ideas?
Warmest Regards,
N.
By the placing the exact code in the grids AfterRowActivate event instead on the KeyDown event seemed to resolve my issue.
Hello,
Thank you for your feedback and for sharing this with us. We believe that the other community members could benefit from such threads.
Please feel free to let me know if a question about our toolset comes up on your mind.