把某一列设置成combox,然后启动后把这一列拖拽到其他列去,再点击该combox列的单元格,
该combox列,就不再显示显示成combox的样子了,也没有下拉框了,
请问控件确实是有这个问题嘛?
感觉挺奇怪
下面是我做的一个例子,拖一个truedbgrid上去,然后,添加4列,第0列设置为combox类型,添加两个ValueItems test1,test2
Dim v = New C1.Win.C1TrueDBGrid.ValueItem
v.DisplayValue = "test1"
v.Value = 2
Me.C1TrueDBGrid1.Splits(0).DisplayColumns(0).DataColumn.ValueItems.Values.Add(v)
Me.C1TrueDBGrid1.SetDataBinding()
Dim i As Integer
For i = 0 To 20 - 1
Dim s As String = String.Format("Data {0};Data {1};Data {2}; Data {3}",
New Object() {i, i, i, i})
Me.C1TrueDBGrid1.AddRow(s)
Next i
Dim j As Integer = 0
'For j =0 To C1TrueDBGrid1 .Columns (0).ValueItems
C1TrueDBGrid1.Columns(0).ValueItems.Presentation = C1.Win.C1TrueDBGrid.PresentationEnum.ComboBox
|
|