Home Forums WinForms controls Xceed Grid for WinForms Programmatically editing a cell Reply To: Programmatically editing a cell

User (Old forums)
Member
Post count: 23064

I had this same question and found the same answer, but it doesn’t seem to be working.

Here’s my snippet:

With moduleRow.Cells(“Publish”)
.EnterEdit()
.Value = e.NewValue
.LeaveEdit(True)
End With

The EnterEdit produces no error and the value assignment works, but when I hit the LeaveEdit (to hopefully fire that event for the cell), I get an error that the cell was not being edited.

Any ideas ?

Thanks,
Bob S.

Imported from legacy forums. Posted by bob_shirley (had 292 views)