edComboList set index


I need to set the index of a combobox in my advcolumngrid. I can select manually when i run the program, but i need to set a value in a cell's combolist.

I tried the following, but no success..

 AGvhf.ComboIndex[4,4] := 2;   

 Hoped this would select the index of the combolist in this cell, and change the text in the cell to the string related to the index, like a standard combobox.

Also tried this:

<!--if gte mso 9>
<m:mathFont m:val="Cambria Math"/>
<m:brkBin m:val="before"/>
<m:brkBinSub m:val="&#45;-"/>
<m:smallFrac m:val="off"/>
<m:lMargin m:val="0"/>
<m:rMargin m:val="0"/>
<m:defJc m:val="centerGroup"/>
<m:wrapIndent m:val="1440"/>
<m:intLim m:val="subSup"/>
<m:naryLim m:val="undOvr"/>

We have seen this issue. It was specific to TAdvColumnGrid and in the next update this will be fixed. Workaround with the current version is to implement OnGetEditorProp like:

procedure TForm4.AdvColumnGrid1GetEditorProp(Sender: TObject; ACol,
  ARow: Integer; AEditLink: TEditLink);
  if AdvColumnGrid1.Columns.Count > ACol then

Please post VCL grid related question in the VCL grid forum and not in the IntraWeb forum

Ok, Thanks for your quick response!

I will try this workaround.

Grts, Ruud.

PS, I will try to choose the right forum ;-)