I am using editable RAD grid view to bind some POCO and it has a GridViewComboBoxColumn as defined below
this
.gvTargetSelection.MasterGridViewTemplate.AutoGenerateColumns = false;
GridViewComboBoxColumn gvcbc = new GridViewComboBoxColumn("Priority");
gvcbc.DataSource =
new string[] { TargetGroupPriority.NiceToHave.ToString("g"), TargetGroupPriority.MustHave.ToString("g") };
gvcbc.DropDownStyle =
RadDropDownStyle.DropDownList;
gvcbc.Width = 100;
gvcbc.ReadOnly =
false;
gvcbc.ValueMember =
"Priority";
gvcbc.HeaderText =
"Priority";
gvcbc.FieldName =
"Priority";
this.gvTargetSelection.Columns.Add(gvcbc);
When the control renders, data is populated and which when double clicked exposes the combo box column with above two values [As shown in code above, data source.]
However when I select any value there and move mouse of the control, no longer anything is selected and cell is empty. If you double click again on the cell, data is there.
Am I missing here setting some default property etc ?