How to pass data from beforeRender function to script tag of HTML
I want to create a tree structure inside a report. So i have create a sample tree data in beforeRender function but i dont konw how to assign this data from beforeRender to tree ie,
Here treeData is coming from beforeRender function
Playground url - https://playground.jsreport.net/w/reshmajacob93/145WI~1J
Can you please tell me how to do this?
Thank you sir.
I have dowloaded some js file and i have added those file as asset inside template folder.But how to refer those files using folder path in report?