M
Miri
I am using a datagrid structure that allows users to enter new rows or edit
existing ones. However, some columns are read only and their values depend
on the user input in the other columns. I set the value of the read-only
columns as soon as a cell is edited by using the currentcellchanged event.
This works well only if after editing the contents of the cells I stay
within the same row. If I change the contents of the cell then click into
another row the value that I just changed does not get updated until next
time I click on that row.
Any idea on how to get the value updated even if I leave the row?
Thanks
existing ones. However, some columns are read only and their values depend
on the user input in the other columns. I set the value of the read-only
columns as soon as a cell is edited by using the currentcellchanged event.
This works well only if after editing the contents of the cells I stay
within the same row. If I change the contents of the cell then click into
another row the value that I just changed does not get updated until next
time I click on that row.
Any idea on how to get the value updated even if I leave the row?
Thanks