Page 1 of 1

DBGrid,ZQuery,Columns

Posted: 29.05.2010, 18:38
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!

Posted: 29.05.2010, 20:11
by bistabil
Solution that I found is very simple.
dbgrid1.Columns.RebuildColumns;