if (Convert.ToInt32(ddlModule.SelectedValue) == 5 && _entryType == Constants.EntryType.ENTRY_TYPE_DAILY) { column = new GridColumn(); column.Name = "Actual"; column.Caption = "Actual"; column.Width = 125; column.AllowEdit = true; column.Type = GridColumnType.Int32; foreach (GridRow row in gridControl.Rows) { if(GridRow.Rows[i].Cells[2]) { column.Type = GridColumnType.EditableCombo; } } gridControl.AddColumn(column); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)