views:

16

answers:

2

Hi,

have to work with this event: CellValueChanging, ... even when fires the row value is not updated.

DataRow row = ((DataRowView)e.Column.View.GetRow(e.RowHandle)).Row;

I learned that this is normal, but i need to catch in someway the data writen in the row cells.

Any ideas? Thnx in advance.

A: 

If you need to inspect tne new value for the cell than you need to use the CellDataChanged event. Here is a relevant HowTo from MSDN.

rtalbot
OK, but even this can't help me. Because the user edit the cell, and click the button outside the grid. CellDataChanged event in this case does not fire.
Florjon
A: 

The solution was more easy than thought. I used e.Value to capture the tmp value, and store it in tmp variables, and use this when i needed.

Florjon