TWebDBGrid and TWebDBComboBox

Is there a way to use a TWebDBComboBox in a TWebDBGrid? Is there a demo of that, or something similar?


Thanks

A possible way to insert a combobox in a TWebDBGrid cell is:


begin
  WebDBComboBox1.ElementPosition := epRelative;
  WebDBComboBox1.WidthStyle := ssPercent;
  WebDBGrid1.CellElements[1,1].appendChild(WebDBComboBox1.ElementHandle);
end;

so you'd need to create it for each row, or move it when a row was selected.

Yes, that is correct.

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