Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Showing combo text in grid

Status
Not open for further replies.

Pierreda

IS-IT--Management
Mar 15, 2010
1
0
0
BE
Hi,

I want to use "normal" component to show DBCombo in grid (like some special component as "devexpress" does).

I found out some code to do it. Put the combo at the right place when clicking a cell. OK.

The point is when the DBGrid is displayed !
My grid is a list of "Id" to have link between a general table and a table with the item.
So, it's ok when I click on a cel ... I have the combo displaying the text and setting the right Id within the other table (lookup combo).
But when I leave the cell, the celle change from the text displayed by the combo to the Id value saved in the table !!!
I whant to keep displaying the text in place of the Id. Let's say like a "mask" or just like the combo was still on top of the cell ...

I hope you understand ...

Any "easy" solution to do that?

Thans a lot !!

Pierre
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top