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!

hide dbgrid rows

Status
Not open for further replies.

Richis

Programmer
Nov 10, 2004
13
LT
how to hide dbgrid rows?
I want to make it like in winamp media libruary, or its in wmp too, I want to show or not to show some of the dbgrid rows, and I want to change theyr lay
 
I'm pretty sure that the only way to show or not show DBGrid rows is to make sure that the datasource doesn't contain those rows.

What's your datasource?

Leslie
 
Its TdataSource
butis there any other way with filter? I am using it to hide columns...
 
AFAIK, rows can only be "hidden" with a filter as rows work differently than columns in a TdbGrid - columns can be created at design-time and all rows have the same set of columns but the reverse is not true because the rows will change as your data changes.

-Dell
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top