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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

AutoComplete in grid dropdown cell

Thread ID:





31272 Jul 5,2005 04:10 AM UTC Jul 5,2005 08:36 AM UTC WinForms 1
Tags: GridControl
Christian Rattat
Asked On July 5, 2005 04:10 AM UTC

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 08:36 AM UTC

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.


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