The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I have a grid with a bound editable combobox. Currently, as the user types in the cbo, the list element matching those characters displays. When the user types in the combobox, can I have the combobox open with matches automatically. Currently the user must press the cbo button.
ADAdministrator Syncfusion Team March 26, 2007 05:21 PM UTC
Try setting the DropDownStyle property on the cell's style to Autocomplete. This should enable the autocomplete behavior you mentioned. To get the combobox to autodrop when you start to type, try using the CurentCellKeyPress event.
Private Sub gridControl1_CurrentCellKeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles gridControl1.CurrentCellKeyPress If Me.gridControl1.CurrentCell.Renderer.GetType().Equals(GetType(GridComboBoxCellRenderer)) Then If Not Me.gridControl1.CurrentCell.IsDroppedDown Then Me.gridControl1.CurrentCell.ShowDropDown() CType(Me.gridControl1.CurrentCell.Renderer.Control, TextBoxBase).SelectAll() End If End If End Sub