There are 2 ways.
the first. You are using automatically generated dbgrid columns. this means that you are not creating the columns manually, in which case you can change the Visible property for the corresponding field in the base table.
2 tbsp. The columns in your DBGrid were manually created by you, and you can change the Visible property for the TDbGridColumn itself.
source share