Got it, Thank you @jan_blaha
Happy Patel
@Happy Patel
Posts made by Happy Patel
-
Not able to access "toJS" helper
Hello @jan_blaha @bjrmatos
I'm trying to implement chart in my report and when I'm trying to access {{toJS candidates}} helper. It's throwing an error
Error: Missing helper: "toJS" at Object.<anonymous> (/app/node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js:19:13) at Object.wrapper (/app/node_modules/handlebars/dist/cjs/handlebars/internal/wrapHelper.js:15:19) at Object.eval [as main] (eval at createFunctionContext (/app/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js:262:23), <anonymous>:9:102) at main (/app/node_modules/handlebars/dist/cjs/handlebars/runtime.js:208:32) at ret (/app/node_modules/handlebars/dist/cjs/handlebars/runtime.js:212:12) at ret (/app/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js:519:21) at /app/node_modules/jsreport-handlebars/lib/handlebarsEngine.js:33:20 at Object.base.apply (/app/node_modules/vm2/lib/contextify.js:469:32) at evaluate-template-engine.js:1:64 at Script.runInContext (vm.js:131:20)
But when I'm making one demo playground it's working fine. Is there any solution for this?
Thanks!
-
RE: Toc page numbers are rendering in all pages issue
Thanks @jan_blaha Working fine.
-
RE: Toc page numbers are rendering in all pages issue
Thanks! @jan_blaha got it. but can we jump on the page number while clicking on the page numbers which we have get? for example If I click on "6" it should jump on page 6. I already linked that but not working.
-
RE: Toc page numbers are rendering in all pages issue
@jan_blaha I have one another scenario as well. where I need to add another toc page in same report. but not able to fetch the page numbers on the page where I want if I use two toc pages in a single report. Please have a look at this example. [https://playground.jsreport.net/w/Heplinesss_17/92zo6EfJ] page numbers are not displaying in this page
Can you please help me with that?
Thank for above solution that works fine for me.
-
RE: Toc page numbers are rendering in all pages issue
I have sent my folder with 2.11.0 in your email [JAN.BLAHA@JSREPORT.NET].
Please have a look at it once you've a moment. Please let me know if you're not able to find my mail.Thanks!
-
Toc page numbers are rendering in all pages issue
Hello @jan_blaha @bjrmatos
I am creating TOC page in one of my project for getting page number of other pages. I have referred playground demo "toc" and "stock report". but I am facing one issue in my version of jsreport that:
page numbers are rendering for all pages not only toc page. Though I have created one demo playground , but not able to reproduce same issue in playground.
can it because of different version of JSReport? I'm using 2.11.0 jsreport version. because I can see in my version when I am using "merge whole document" with pdf utils it's not rendering page numbers and when I'm using "Render for every page" they are rendering for all the pages.
but in https://playground.jsreport.net/ "render for every page" option is deprecated and with "merge whole document" options page numbers are rendering correct.If you can help me with this that will be great.
Thanks!
-
RE: Jsreport does not render svg images correctly in pdf.
If you can use the actual svg code instead of using it in img tag that might help you out.
I've used html code of svg in one of my projects and it worked!! -
Is there any way to detect the line breaks inside the table column?
Hello @jan_blaha @bjrmatos
Is there any way so that we can detect that yes page break is happening inside the table column while report is generating? and based on that we can apply the condition like reduce font-size of the text so text doesn't go on the next page?
Thanks!