Hi all,
Is it possible to allow only Add New records without allowing updation using UltraWinGrid? ie, allow to add new entries in grid. Once the record is added, don't allow it to be edited. Again it should allow to add new records. Also don't allow editing of already existing rows.
try this solution on the BeforeRowActivate Event
private void ultraGrid1_BeforeRowActivate(object sender, Infragistics.Win.UltraWinGrid.RowEventArgs e)
{
if (e.Row.IsAddRow)
ultraGrid1.DisplayLayout.Override.AllowUpdate = Infragistics.Win.DefaultableBoolean.True;
else
ultraGrid1.DisplayLayout.Override.AllowUpdate = Infragistics.Win.DefaultableBoolean.False;
}