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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dbgrid format, hide...

Status
Not open for further replies.

Richis

Programmer
Nov 10, 2004
13
LT
does anybody knows how to hide rows cells in dbgrid,

and how to change width and height of dbgrid???
 
Hiding rows has more to do with filtering the underlying dataset to not display the data.

What are you trying to change the size of - the cells or the grid itself? If it's the grid - use the Height and Width properties. If it's the cells, you set the width with the Columns property:

DBGrid1.Columns[0].Width := 50;

I haven't worked with the row height in a regular dbgrid, though (I use TopGrid.)

-Dell
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top