hide header of custom coloums in a grid view

Hello guys,

my goal is to customize a grid view. I want to insert a column, with its filter, custom. I read on the forum that you can customize the columns using the column type and passing the filter within the customization of the column. Using CSS, I managed to hide the column, the filter but not the column header.

Is there a way to hide everything. Maybe in one go!

Thanks in advance deposit.


if don’t want the column to exist, just don’t declare it in the column’s index





   'column2',//just remove the column from here

   //also try this








Or perhaps this may help you:

Hidden Values in CGridView