Cgridview Add Checkbox To Some Columns Headers


i’m working on gridview and i added an export button to it , every thing works fine :)

now i would like to add chechbox to some columns header to give some flexebilty on witch data columns to export

any idea ?



you could use what every you want on value or header

array (


 'header' => '<a href="a.html">kos</a>'



so, use hrml code directly on header or you can use Yii html Api to do that :)

i tried the header option but, i have to keep the sort link generated by CGridColumn just add after code generated a checkbox