when i pull my reports i display it in a dialog box…what i want to achieve now is export my dialog box table(i.e. the results genrated in tabular format) to PDF…using TCPDF for this task…here is my link
echo CHtml::link('Export To PDF', array("toPdf",array('param1'=>$dateArray,'param2'=>$dataReturn)),array('target'=>'_blank'));
but in my action i dont get the required data…if i do
having problem with pagination in tcpdf…my generated pdf showing pagination links…how do i remove my pagination links from it before i export to pdf?i can see that it takes an html of the page and then converts to pdf…
create a separate action that exports all the results to pdf and link that action in the dialog box. when the user click the link all results are exported to pdf for more information please read this link