Skip to content

Replies

0
raja ram
raja ram answered on Dec 27, 2017 7:17 AM

got the answer

In Visual Basic:

need to enter this code in form load event.

Imports Infragistics.Win Imports Infragistics.Win.UltraWinGrid ... 'Add an additional unbound column to WinCombo.  'This will be used for the Selection of each Item  Dim c As UltraGridColumn = Me.ultraCombo1.DisplayLayout.Bands(0).Columns.Add() c.Key = "Selected" c.Header.Caption = String.Empty 'This allows end users to select / unselect ALL items  c.Header.CheckBoxVisibility = HeaderCheckBoxVisibility.Always c.DataType = GetType(Boolean) 'Move the checkbox column to the first position.  c.Header.VisiblePosition = 0 Me.ultraCombo1.CheckedListSettings.CheckStateMember = "Selected" Me.ultraCombo1.CheckedListSettings.EditorValueSource = Infragistics.Win.EditorWithComboValueSource.CheckedItems ' Set up the control to use a custom list delimiter  Me.ultraCombo1.CheckedListSettings.ListSeparator = " / " ' Set ItemCheckArea to Item, so that clicking directly on an item also checks the item Me.ultraCombo1.CheckedListSettings.ItemCheckArea = Infragistics.Win.ItemCheckArea.Item Me.ultraCombo1.DisplayMember = "FirstName" Me.ultraCombo1.ValueMember = "EmployeeID"


My next doubt is editable combobox