ノードに a をバインドする必要がありdropdown
ますUltrawintree
。ユーザーがノードのセルをダブルクリックすると、編集可能になるはずなので、いくつかの値を に表示する必要がありますdropdown
。ユーザーが値を選択して保存/更新できるようにします。
//コード
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim columnSet As UltraTreeColumnSet = Me.ultraTree1.ColumnSettings.ColumnSets(0)
' Use the ActiveCellAppearance to bring attention to the cell
' with the input focus
columnSet.ActiveCellAppearance.BackColor = Color.Red
columnSet.ActiveCellAppearance.ForeColor = Color.White
' Set AllowCellEdit to 'ActivateOnly' so that clicking a cell does
' not put in into edit mode immediately
columnSet.AllowCellEdit = AllowCellEdit.Full
' Enable tooltips for cells whose value is not fully visible
columnSet.TipStyleCell = TipStyleCell.Show
End Sub
したがって、ここでボタンのクリックが発生すると、セルは完全に編集可能になります。dropdown
しかし、その代わりに、セルにa をバインドする必要があります。それは可能ですか?
どうやってやるの?
注: Infragistics バージョン12.1を使用しています