Hello, i’m trying to use the TCPDF library in a grid, through a ‘RUN’ button. First I tryed it in a blank application, and it worked fine, then I put the same code in a ‘RUN’ button, in a grid, and only got the result of not find the TCPDF library. I put in onScriptInit <sc_include_lib (“tcpdf”);>, but i get the same message. Exists a way to use TCPDF library in a RUN button?. Thank you in advance.
I also would like to know how to do this. It seems that TCPDF code is only recognized in the code of a PDF Report or a blank application. When I read about TCPDF is claim to be native PHP.