Hi,
We have a drop down list in our grid where auto complete is turned on. When we type in a sequence of letters fast, it goes to the nearest match in the list. However our users are very slow typers. So instead of going to the correct item, it treats each typed letter as a new search. Is there a way to adjust the timeout before the keyboard buffer is cleared?
Thanks!
No, there's no way to control the timing in DropDownList style. Why not use Dropdown or DropDownValidate style, instead? That way the users can type as slow as they want?
We really appreciate the quick reply! I tried to do style drop down with validation turned on and now the user can type as slow as she wants but she can also type in things that are not in the list. How do we prevent that? Thanks!
If you use DropDownValidate style, then the user can type things that are not on the list, but they cannot leave the cell. If they try to leave the cell with a value that is not on the list, it will raise an error.
Unfortunately, there's no way to let them type slowly and still prevent them from typing something that's not on the list.
I figured a way.
1. Set style to DropDown.
2. Set LimitToList = true.
3. In ValueChanged event, use property IsItemInList to check if value is valid or not. If false then reset value to last valid value else accept the new value.
VADev,
Would you please post your code for the ValueChanged Event.
Thanks Dan