How to render report inside a div
-
hi,
How to render report inside a div using jsreport-browser-client-dist/jsreport package ?i have rendered report in new tab using the below code,
jsreport.render('_blank',data));Can you please show me one example?
-
hi! if you are using jsreport v2 then you can pass the div element to the render, the output of the render will be set in the div.
jsreport.render(document.getElementById('idOfYourDiv'), data)