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?
ADAdministrator Syncfusion Team September 10, 2003 10:21 AM
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 04:00 AM
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.
ADAdministrator Syncfusion Team September 11, 2003 05:12 AM
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.