Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Addiding controls to DBGrid

romretromret Member Posts: 3
Hi guy's!

Like in topic..I want add i.e add TCheckBox to DBGride.
My table looks like this:

---------------
ID | Name |
---------------
1 | foo |
---------------
and I want dynamically create checkbox for each cell in ID collumn.
After this intervation table should looks like this:

---------------
ID | Name |
---------------
|x| 1 | foo |
---------------
where |x| - is a checkbox.
I googled a little for this solution and I found article in which autor shows possibility to present boolean data type in DBGrid as Checkbox,unfortunately column 'ID' in my table is interger type;/
URL to this article:
[link=http://delphi.about.com/od/usedbvcl/l/aa081903a.htm][/link]

Thx for any suggestion;)
Sign In or Register to comment.