3

I have a DataGridView that contains 1 column defined as a checkbox. I'm not sure which event to use to check whether the cbo has been checked or unchecked. I've been playing with the CellValueChanged event but notice that when I check a box, nothing happens until I do another action. I need the program to react immediately upon checking a box and not waiting until another action is performed.

Any ideas?

Victor Zakharov
  • 25,801
  • 18
  • 85
  • 151
Blake
  • 61
  • 2
  • 2
  • 5

1 Answers1

9

It sounds like CurrentCellDirtyStateChanged event is your ticket.

Check out Triggering a checkbox value changed event in DataGridView

Community
  • 1
  • 1
Karl Anderson
  • 34,606
  • 12
  • 65
  • 80