Catch cell value changed event

Mar 1, 2010 at 1:27 PM

I'm looking to quite simply perform some calculations based on user input. I.e. user enters data into cell 7, cells 7/8/9 are added together to produce cell 10.

In order to do this I need to know when a particular cell has changed value. I've had a good read of all the applicable threads and am still a little in the dark. I would have expected a reasonably simple way to catch such an event.

I tried the following, but of course, this is not the correct event:

control[row, fieldCount] = new SourceGrid.Cells.Cell(fields[i], _textEditor);
_textEditor.Changed += new EventHandler(_textEditor_);

Any ideas?

Daniel.
Mar 1, 2010 at 9:30 PM

Nevermind, it's all in sample 26! Can't see for looking!