AD
Administrator
Syncfusion Team
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.