Hi,
I want to disable the edit mode of a row but still the row can be used to select and do something (i.e) just the edit mode of a row should be removed. Browsed in IG forums and didn't get any solution for this. Is there way to do this ?
Hello,
Thank you for your post. In order to make a specific record not editable you can handle the ‘EditModeStarting’ event of the XamDataGrid and if the record is selected, you can cancel the event like e.g. :
private void xamDataGrid1_EditModeStarting(object sender, Infragistics.Windows.DataPresenter.Events.EditModeStartingEventArgs e)
{
if (e.Cell.Record.Index == 2)
e.Cancel = true;
}
If you need any further assistance on this matter, feel free to ask.
Thank you