Recent

Author Topic: DBGrid with combobox columns?  (Read 7896 times)

Almindor

  • Sr. Member
  • ****
  • Posts: 412
    • http://www.astarot.tk
DBGrid with combobox columns?
« on: August 08, 2007, 01:44:25 pm »
Is it possible (or is there a component like..) to have comboboxes as certain columns in DBGrid? These comboboxes should take their values from some primitive tables (id, name combo) and allow the user to select from those in each row.

nelson777

  • Jr. Member
  • **
  • Posts: 68
    • http://www.aocontrario.com
RE: DBGrid with combobox columns?
« Reply #1 on: August 08, 2007, 06:45:43 pm »
See this thread:

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

if you find any other dbgrid component that supports lookup fields PLEASE tell us! :) I´m really needing it. Lazarus Dbgrid has some bugs.

Nelson

Almindor

  • Sr. Member
  • ****
  • Posts: 412
    • http://www.astarot.tk
RE: DBGrid with combobox columns?
« Reply #2 on: August 10, 2007, 11:16:48 am »
We're currently updating the RX components and putting them to components dir in Lazarus in SVN. I'm not sure how much it's possible with them yet, but it should be with some tricks, I'll keep you posted.

nelson777

  • Jr. Member
  • **
  • Posts: 68
    • http://www.aocontrario.com
RE: DBGrid with combobox columns?
« Reply #3 on: August 10, 2007, 04:58:46 pm »
wow! great news! :)

Almindor

  • Sr. Member
  • ****
  • Posts: 412
    • http://www.astarot.tk
RE: DBGrid with combobox columns?
« Reply #4 on: August 11, 2007, 11:50:13 am »
I just found 2 gtk2 bugs with *grids and comboboxes
1. combobox was broken in gtk2 (I think it's fixed today)
2. picklist in any grid is broken (causes a big bad crash, reported today)

Anyone using these, so you know

 

TinyPortal © 2005-2018