r11
(r@@j)
1
$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?
SiZE
(Sizemail)
2
Make your own css file with media="print" attribute and hide unnecessary elements.
r11
(r@@j)
3
thanks , Also can you please tell me how to set header in this widget.
SiZE
(Sizemail)
4
Insert header before widget and hide it for non print version. M?
r11
(r@@j)
5
Not clear to me .Can you please provide the code for reference.