Hello,
I think there is a weird problem on jqgrid 5.5.2 which is not present in any other version (5.5.1 works).
The problem is this:
I have a grid, search some data, it shows correctly. Then I have a button. When I select the row and click the button it calls:
window.open(vURL, ‘_blank’);
vURL is a PHP script containing this:
header(“Content-Description: File Transfer”);
header(“Content-Type: application/octet-stream”);
header(‘Content-Disposition: attachment; filename=”‘.basename($FullPath).'”‘);
header(“Expires: 0”);
header(“Cache-Control: must-revalidate”);
header(“Pragma: public”);
header(“Content-Length: ” . filesize($FullPath));
ob_clean();
flush();
readfile($FullPath);
The problem is this, after I click that button and download, the grid becomes empty and it does not work anymore.
Using 5.5.1 and below works fine.
Does it make any sense?
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top