I am getting the following error when I click “PDF” from the detail view of a record on a grid:
PHP Notice: Undefined variable: sDisplay in C:\Program Files\NetMake\v9\wwwroot\scriptcase\app\ProjectName\gridNamel\GridName_config_pdf.php on line 547
I am able to export the parent grid to PDF using the export button and then selecting PDF. This error only happens when trying to create the PDF from the detail. On the detail screen there is a ‘Print’ button next to the PDF button. When I use that button I can print and then save a PDF using the Windows ‘Save to PDF’ from the print dialog, but I would like to be able to use the PDF button in the detail window.
[This is occurring in development. I haven’t tried it in production yet.] Edit: I just tried it in another project and it appears to only be broken in development. When I regenerated and redeployed a grid that has the error in dev it works ok in production.
I couldn’t find anything in this forum referring to “sDisplay”. Anyone have any ideas what might cause this or how to troubleshoot?