Export-Problem with Internet Explorer 9

Hi there,

i get a empty page when calling mygrid.toPDF() on my DHTMLXGrid. IN all other Browsers (including IE7 & 8) the export works.
As there is no Errormessage or error log, i tried to find, which code causes the error by myself…

Changing the line
$this->cb->Output(‘grid.pdf’, ‘I’);
to
$this->cb->Output(‘grid.pdf’, ‘D’);

solved the Export-Problem in IE 9 (but now the exportet PDF opens as a Download :frowning:

Any Ideas, what might cause the error?

Hi,
does any JavaScript error occur?
Second parameter spicified output location (sent to browser, sent as downloading file, save to hard-drive, save into string).
Try to use the follow code:

$pdf = $this->cb->Output('grid.pdf', 'S');
header('Content-type: application/pdf');
header('Content-Disposition: inline; filename="grid.pdf"');
echo $pdf;

Hi,

there is no javascript-error…

Thanks for your code, unfortunately it doesn’t help…

Best
Manuel