GridGroupingControl CellType

Hi. I have a text column in my DataTable and I need display this column values different ways depend upon a correspond values in another column. So I try this: private void gridGroupingControl1_QueryCellStyleInfo( object sender, GridTableCellStyleInfoEventArgs e ) { if ( e.TableCellIdentity.Column != null && e.TableCellIdentity.DisplayElement.Kind == DisplayElementKind.Record && e.TableCellIdentity.Column.Name == "Value" ) { DataRowView row = (DataRowView)e.TableCellIdentity.DisplayElement.GetData(); switch ( (Byte)row["ValueType"] ) { case 2 : e.Style.CellValueType = typeof(DateTime); e.Style.CellType = "MonthCalendar"; break; case 3 : e.Style.CellValueType = typeof(int); e.Style.CellType = "ComboBox"; e.Style.ExclusiveChoiceList = true; e.Style.DisplayMember = "Text"; e.Style.ValueMember = "Id"; e.Style.DataSource = MyListItem.GetDataSource(); break; default: e.Style.CellType = "TextBox"; break; } e.Handled = true; } } It''s work normal when I click in combo-cell (case 3). But when I leave my combo-cell it displays empty value.

Loader.
Up arrow icon