Sorry Hugo, don't understand what you mean in your question can you reformulate?
El vie., 2 oct. 2020 a las 0:27, Hugo Ferreira (<[email protected]>) escribió: > Hi, > > I'm currently building a new "wrapper" for Apache Royale to render and > design reports thru StimulsoftReports JS library > > I learned the concept from Carlos and Maria examples and also the > documentation. > I learned how to import external JS libraries and CSS and how to just call > a JS function with parameters. > > But I need to run and build JS on the Royale side. > Use StimulsolftReports it's not done by call just a function. > I need to build JS code. > > A short example: > var report = new Stimulsoft.Report.StiReport(); > report.loadFile("SimpleList.mrt"); > var viewer = new Stimulsoft.Viewer.StiViewer(); > viewer.report = report; > > Is there a way to do this like a way to inject this code as the way we > already have to inject JS and CSS files on the header ? > Or the only way is to build the JS code on a separate JS file and include > it on the project ? > -- Carlos Rovira http://about.me/carlosrovira
