Forum > Databases

Lookup dropdown in DBGrid?

(1/1)

Simon1983:
I have a table with a lookup. This table is showed in a DBGrid. Now I want to have a dropdown box shown in the grid when I click on the field with the lookup. Is that possible?

jesusr:
Currently, no. You can create a bug report with a severity "feature" in the bug tracking system, so it won't be forgotten.

tatamata:
Hello.
Is this possible now?
I tried with ZeosLib, I defined fkLookUp field, reffering to a lookup dataset/field. Then on the corresponding RxDBGrid I put cbsPickList. But the drop down list is always empty. I couldn't figure out how to enable lookup dropdown in a datagrid. I'd like to know whether it is my mistake or the feature is not yet functional in this moment?

Regards,

Zlatko

nelson777:
I got an application with a lookup in a DBGrid. See these threads:

http://www.lazarus.freepascal.org/index.php?name=PNphpBB2&file=viewtopic&t=4229&highlight=

and

http://www.lazarus.freepascal.org/index.php?name=PNphpBB2&file=viewtopic&p=17221#17221

Also alexs (RXFPC's author) is including this functionality in the next version of RXFPC.

Hope it's useful

-Nelson

tatamata:
Good.
I'm looking forward. I hope information about new RxFPC version will be published on this forum.

Thanks.

Navigation

[0] Message Index

Go to full version