Hi,
How to disable the dropdown button in ultrawindgrid.dropdown to be seem Autocomplete TextBox?
Plz ref the below image.
which of the code part do i need to change-
With UltraGrid1.DisplayLayout.Bands(0) .Columns.Item("CNTR").Style = UltraWinGrid.ColumnStyle.DropDown .Columns.Item("CNTR").AutoCompleteMode = AutoCompleteMode.SuggestAppend .Columns.Item("SealNo").Style = UltraWinGrid.ColumnStyle.EditEnd With
You cannot remove the button using the properties of the grid alone, you have to use an editor.So you don't need to set the column's Style, the editor will take care of that.
With UltraGrid1.DisplayLayout.Bands(0) '.Columns.Item("CNTR").Style = UltraWinGrid.ColumnStyle.DropDown .Columns.Item("CNTR").AutoCompleteMode = AutoCompleteMode.SuggestAppend Dim editorWithCombo As New EditorWithCombo editorWithCombo.ButtonDisplayStyle = Infragistics.Win.ButtonDisplayStyle.Never .Columns.Item("CNTR").Editor = editorWithCombo End With