Version

Assigning an Editor Using ColumnStyle

Each WinGrid™ Column uses an embeddable editor to allow your end user to change a cell’s value. You can change the type of embeddable editor by setting the ColumnStyle property. For more information, see Embeddable Editors.

The following example code demonstrates how to edit a column with a drop-down calendar.

In Visual Basic:

Me.UltraGrid1.DisplayLayout.Bands(0).Columns(0).Style = Infragistics.Win.UltraWinGrid.ColumnStyle.DropDownCalendar

In C#:

this.ultraGrid1.DisplayLayout.Bands[0].Columns[0].Style = Infragistics.Win.UltraWinGrid.ColumnStyle.DropDownCalendar;