At a demo of our software, I was asked if a combobox list could be shortened as more of the text was entered via the keyboard. Currently, if 3 entries begine with the letter "B", the user can enter the "B" key 3 times to select the third entry. The user would like type in "B" and the list would be rebuilt with only words beginning with "B", "BO" would rebuild the list with any words beginning with "BO", etc.
ADAdministrator Syncfusion Team May 20, 2004 11:25 AM
If you set the DropDownStyle to autocomplete, then with each keystroke, a valid entry from the list will be shown that autocompletes the typed entry up to that point. So, you you type BO, it will show an entry that start with BO, when you add a T, it will show an entry that starts with BOT, and so on.
To dynamically change the list in a dropped combobox in a grid cell will take some work. I suspect you would have to derive a cell control and handle a several problems. In our standard combobox cell, the list is cached for efficiency. This cacheing will work against you trying to dynamically swap out the list. I am not sure how much work this would be. If the autocomplete serves your needs, that is a simple property setting.
KJKenneth JohnsonMay 20, 2004 12:28 PM
Thanks again Clay. The DropDownStyle did the trick.