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.
Hi,
I have a colum in a GDBG with a ComboBox Celltype and I`ve specified a Datasource for it.
The autocomplete feature works great but is case insensitive.
If i have an ABCD entry in the Datasource and i want to type Abce for example, it completes until ABCe instead of Ab.
Is there a way to set the autocomplete feature to be case sensitive?
Thank you!
ADAdministrator Syncfusion Team September 10, 2003 03:21 PM UTC
There are no property settings that control this.
You would have to derive your own combobox cell type. In your GridComboBoxCellRenderer, you would have to override OnKeyDown and do the autocompletion work there, respecting case throught out. You could try to copy and paste code from teh current implementation of this method, but I think it would take probably take some nontrivial changes to get things to work.
SASerban Alexandru FlorianSeptember 11, 2003 09:00 AM UTC
I don`t realy have the time to do this...
Maybe you will consider this in the future.
Is there a way not to get the autotcomplete at all then? I just want the user to be able to select from a combobox an already existing item, or to write some other in the combo if it doesn`t already exist.
Thank you!
ADAdministrator Syncfusion Team September 11, 2003 10:12 AM UTC
You can set the DropDownStyle to Editable if you want to type values that are not in the datasource.
But there are some restrictions. If the DisplayMember and ValueMember differ, then the new value you type will be used as a ValueMember. So, if your ValueMember is of type integer and your DisplayMember is a string, then you cannot type a new string. You can only type a new integer.
Again, if you want different behavior, you would have to derive the cell control.
You can checkout the different combobox behaviors in the Syncfusion\Essential Suite\Grid\Samples\CellTypes\ComboboxCells sample.