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.
Unfortunately, activation email could not send to your email. Please try again.

AutoComplete in grid dropdown cell

Thread ID:

Created:

Updated:

Platform:

Replies:

31272 Jul 5,2005 12:10 AM Jul 5,2005 04:36 AM Windows Forms 1
loading
Tags: GridControl
Christian Rattat
Asked On July 5, 2005 12:10 AM

Hi, I want to use auto complete in a grid cell. It should work like this: When the user types in text into a cell the dropdown should open automatically and jump to the first matching value in the list. As soon as there is only a single match the dropdown should close again. In addition I want to reduce the content of the dropdown fitting the typed in text only. E.g., if a user entered ''a'' the dropdown should only show entries starting with a. How can I achieve this? Regards, Chris

Administrator [Syncfusion]
Replied On July 5, 2005 04:36 AM

I think you will have to implement a custom cell control to do this. In the renderer class, you can subscribed to the editpart textchanged event to try to dynamically filter the dropdown at that point. Here is a very rough preliminary try at this. http://www.syncfusion.com/Support/user/uploads/DynamicDropDown_bb0bdced.zip This has lots of problems that you would have to work through. It does not handle backspace keys, deletes, what is suppose to happen when your user enters something not in the droplist, etc. It will take some coding to get this working.

CONFIRMATION

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.

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.

;