Display lookup list in a grid cell

I need to display the lookup list for a given grid cell either automatically after a given number of chars have been entered or after a given key combination, e. g. Alt+Down. I was hoping there'd be an event where I could get the cell's editor and call lookup.DisplayLookup, but I could find none.
Another solution would be a combo box column editor, but there I couldn't find a way to enable autocomplete.

Please advise.

TIA,

-- Carlos

Hi,

When using the following code, you should be able to activate lookup.

  TMSFMXGrid1.CellEdit.Lookup.Enabled := True;
  TMSFMXGrid1.CellEdit.Lookup.DisplayList.Add('Banana');
  TMSFMXGrid1.CellEdit.Lookup.DisplayList.Add('Apple');
  TMSFMXGrid1.CellEdit.Lookup.DisplayList.Add('Pineapple');

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.