Hi
In a bound grid, when one column is edited by the user I need its value to be copied to another column of the grid. How can I achieve this?
Thanks
Regards
PS: Actually I will be changing the value slightly before assigning it to the second column but for simplicity I am skipping this in my question.
Use the CellChange event. Check that e.Cell.Column.Key is the right one and write:
e.Cell.Rows.Cells[copyToColumnName].Value = e.Cell.Value
Thanks. For some reason CellEdit event is not firing, I have checked using break point. Tried using AfterCellUpdate but that is not firing either.Thanks again.Regards
Try InitializeRow