Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinGrid
Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles button1.Click
' Add an unbound column.
If Not Me.UltraGrid1.DisplayLayout.Bands(0).Columns.Exists("UnBound1") Then
Me.UltraGrid1.DisplayLayout.Bands(0).Columns.Add("UnBound1")
End If
' Set the column's style to DropDownCalendar. All the cells in the column
' will be drop down calendars.
Me.UltraGrid1.DisplayLayout.Bands(0).Columns("UnBound1").Style = ColumnStyle.DropDownCalendar
' Override the style for a particular cell.
Me.UltraGrid1.Rows(0).Cells("UnBound1").Style = ColumnStyle.CheckBox
End Sub