I am using grid.exportToPDF() method to export the data from a datatable to pdf file. But, this method is converting the grid data to a pdf file and rendering in the application. But, In my scenario, I would want to launch a save dialogue box to save the pdf file in my machine(similar to grid.exportToExcel()). How do I achieve this ?
Yep, I can confirm the issue. The fix will be available in the next few days ( it will be an update for server side code, as client side code works correctly )
I have gone through the php code. I just wanted share my observation with you.
if we change the line 370 in gridPdfWrapper.php from $this->cb->Output(‘grid.pdf’, ‘I’); to $this->cb->Output(‘grid.pdf’, ‘D’); , the code is prompting the user with a save dialogue box.