proper way to hide/show columns on DBGrid

后端 未结 1 1994
我寻月下人不归
我寻月下人不归 2021-01-28 01:35

I am starting new database project, where I have some tables and maybe 20 columns to show in DBGrid at all, but I know it is not possible to show all 20 columns in Grid as it w

相关标签:
1条回答
  • 2021-01-28 01:41

    there are 2 ways.

    1st. You are using automatically created dbgrid columns. this mean, that you do not create columns manually and in this case you can change Visible property for the corresponging field in underlying table.

    2st. Columns in your DBGrid were created by you manually, and you can change Visible property for the TDbGridColumn itself.

    0 讨论(0)
提交回复
热议问题