Print Cgridview Data

$this->widget(‘application.extensions.print.printWidget’, array(

'cssFile' => 'print.css',


'coverElement' => '#page' ,


'printedElement' => '#fleet-grid',


    )

);

but this extension print all the content in cgridview with search field ,buttons,text,links.

Can any body tell how to print only the columns data?

Make your own css file with media="print" attribute and hide unnecessary elements.

thanks , Also can you please tell me how to set header in this widget.

Insert header before widget and hide it for non print version. M?

Not clear to me .Can you please provide the code for reference.