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

AutoSuggest type of cells in a grid

Thread ID:





17460 Aug 9,2004 05:53 PM UTC Aug 9,2004 06:40 PM UTC WinForms 1
Tags: GridControl
Madhavi Balusu
Asked On August 9, 2004 05:53 PM UTC

Hi, I would like to have AutoSuggest type of autocomplete in my grid cells. How do I do this? Thanks!

Administrator [Syncfusion]
Replied On August 9, 2004 06:40 PM UTC

You can use ComboBox celltypes to get AutoCompete behavior. If you do not want to see the buttons, you can set style.ShowButtons = Hide. If you want to do something else, you would probably have to derive a custom cell control. Here are a few of the custom cell type sample we ship. CellTypes\CalendarCells CellTypes\PictureBoxCells CellTypes\RadioButtonCells CellTypes\SliderCells Here is a forum thread on a Inplace RichText edit control. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=15023 I think you would want to derive from GridtextBoxCellModel and GridTextBoxCellRenderer. In teh renderer class, you would probably use OnKeyDown to try to implement your autocomplete. If you want to try this from a Grid event as opposed to deriving a cell control, you might be able to do something in CurrentCellValidateString. There you could try explicitly setting grid.CurrentCell.Renderer.Control.Text to the value you want to suggest based on the e.Text passed in.


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