Autocomplete / searching via cells in GGC

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!

2 Replies

AD Administrator Syncfusion Team February 15, 2006 07:28 PM UTC

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.

40824.zip


RF Rasmus Fynbo February 16, 2006 11:55 AM UTC

Thanks.. it works just great :D

Loader.
Up arrow icon