Am added like gridViewBatches.Columns["Batch No"].ReadOnly = true; Error 71 Property or indexer 'DevExpress.XtraGrid.Columns.GridColumn.ReadOnly' cannot be assigned to -- it is read only –
private void gridViewBatches_ShowingEditor(object sender, System.ComponentModel.CancelEventArgs e) { GridView view = sender as GridView; if (view.FocusedColumn.FieldName == "Batch No") //Editable true { e.Cancel = false; } else //Other column editble false { e.Cancel = true; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)