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 / searching via cells in GGC

Thread ID:





40824 Feb 14,2006 10:00 AM Feb 16,2006 06:55 AM Windows Forms 2
Tags: GridControl
Rasmus Fynbo
Asked On February 14, 2006 10:00 AM

When I type in a cell in a GCC I would like use some kind of autocomplete that suggests macthes (from other cells in the same column) from the column that I''m typing in - like Excell. But I only want macthes found in the displayed dataset (or maybe a related table). How can this be done? Thank you in advance for your help!

Administrator [Syncfusion]
Replied On February 15, 2006 02:28 PM

Hi Rasmus, The auto complete behavior can be achieved by setting the CellType to ComboBox and setting the ShowButtons to Hide. Then have an ArrayList with all the values in a particular column and set it to the ListBoxPart.Datacourse in the TableControlCurrentCellActivated event handler. Here is a sample. Regards, Calvin.


Rasmus Fynbo
Replied On February 16, 2006 06:55 AM

Thanks.. it works just great :D


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.