DBGrid,ZQuery,Columns

The alpha/beta tester's forum for ZeosLib 7.0.x series

Report problems concerning our Delphi 2009+ version and new Zeoslib 7.0 features here.

This is a forum that will be removed once the 7.X version goes into stable!!

Moderators: gto, EgonHugeist, olehs

Locked
bistabil
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 29.05.2010, 18:02

DBGrid,ZQuery,Columns

Post by bistabil »

When all columns are checked there's no problem but when I want to not show some columns I still see that columns tittle only difference is in empty records.
How to throw out columns that are not checked from dbgrid?
See attachment and thanks in advance!
You do not have the required permissions to view the files attached to this post.
bistabil
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 29.05.2010, 18:02

Post by bistabil »

Solution that I found is very simple.
dbgrid1.Columns.RebuildColumns;
Locked