Show Filter Box Only On Certain Columns

Hi,

How do I show the filter search box only on certain columns in CGridView? In my CGridView I have added a custom column as the very last column which is an icon image. Above it, the CGridView is placing a filter text box which is useless in this case. I would like to remove it from just that column.

Thanks

Just add ‘filter’=>false to the column config. See here.

WOW, that was a quick response and perfectly right.

Thanks