In my Record Updating event i set the IsActive property to true for PaymentMethodCodeDescription field in the XamDataGrid as shown in bold/italic below.
if (e.Record.Cells["PaymentMethodCodeDescription"].Value == null)
e.Record.Cells["PaymentMethodCodeDescription"].IsSelected = true;
return;
}
However, though the IsActive property for PaymentMethodCodeDescription cell is set to true, CellActivating event is fired sometimes and sometimes not. Please could anyone help me with this? Thanks in advance.
Hello,When you are using the RecordUpdating event, you are activating the cell before that (cell is already activated), therefore in some cases CellActivating will not be called again. I believe this could be expected in some cases.What is the scenario that you are trying to achieve? Maybe moving the code in other events will be a better idea? Or canceling the event in RowUpdating, then setting the cell to edit mode again?Thanks.