how to toggle table column visibility?

Hi,

has anyone know how to toggle visibility of table columns with client side scripting?

Cheers
Bruno