We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

ComboBox Selection w/ GDBG

Thread ID:





14197 May 20,2004 03:35 PM UTC May 20,2004 05:28 PM UTC WinForms 2
Tags: GridControl
Kenneth Johnson
Asked On May 20, 2004 03:35 PM UTC

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. Suggestions? Ken

Administrator [Syncfusion]
Replied On May 20, 2004 04:25 PM UTC

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.

Kenneth Johnson
Replied On May 20, 2004 05:28 PM UTC

Thanks again Clay. The DropDownStyle did the trick. Ken


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon