TDBAdvGrid Hide column at runtime

How can i hide a column in a TDBAdvGrid at run time? I tried to set the column width to 0 in the create form event, but this has no effect. If I set the width in the property page at design time it works but I have to hide the column based on a condition at run time.


You  can use grid.HideColumns() / grid.UnHideColumns() to achieve this.

Thank you Bruno

It's so easy!

Regards Thomas