zsoelod Posted February 8, 2015 Share Posted February 8, 2015 HiAccording to the rest v2 docs: "In a commercial editions of the server where HighCharts are used in thereport, this property determines whether the JavaScript necessary forinteraction is generated when exporting to HTML "So interactive HighCharts are not available in te community edition of rest v2. How about tables, can those be interactive in rest v2? (the interactive atribut of the /reportExecutions service is left to true)(by interactive table here I refer to sorting/filtering/formatting columns possibility) I tried this out witht the /reports service but I did not get interactive table . Is it possible in the more complex reportExecutions service?Thanks. Link to comment Share on other sites More sharing options...
hozawa Posted February 9, 2015 Share Posted February 9, 2015 There's a D3.com support in community version of JasperReportshttp://community.jaspersoft.com/wiki/custom-visualization-component-jaspersoft-studio-v56x Link to comment Share on other sites More sharing options...
zsoelod Posted February 9, 2015 Author Share Posted February 9, 2015 Thanks for your reply I will try it out. Does your answer also mean that just using simply the interactive=true on /reportExecutions service does not provide the interactivity on Table component I was looking for , right? Link to comment Share on other sites More sharing options...
marianol Posted February 10, 2015 Share Posted February 10, 2015 In the commercial edition the embedding of interactive tables and charts is not done trough REST is done using Visualize.js which is a Javascript Framework that enables you to embed reports and dashboard with the same interactivity you get with the Jasperserver UI.I do not think that with REST you will be able to get table interactivity, may be with a LOT of work on your application's end and some clever Ajax and REST calls and you need to create your UI, with all that; I'm not even sure that all the enpoints you will need are there. Since REST is stateless is more tailored for Async report execution or full report Executions for the exporterrs (PDF, XLS, etc)You will have more luck and less headaches if you use iFrames for bringing the JRS UI into your app, with Themes you can cleanup the UI and only leave the report viewer in the iFrame. Check this samples is on PHP and I have not touched it in a while but you will get the gist https://github.com/marianol/JasperServer-for-PHP Link to comment Share on other sites More sharing options...
zsoelod Posted February 10, 2015 Author Share Posted February 10, 2015 thanks for your reply,I will check the sample you sent. Still why the interactive parameter in the REST calls if interactivity is not possible? At least I can imagine the javascript functions that are downloaded as response to be able to add this interactivity without sending requests in addition to the jasper server(so still stateless). Link to comment Share on other sites More sharing options...
zsoelod Posted March 5, 2015 Author Share Posted March 5, 2015 Hi, we'we tried to use D3.com but we did not found details related table customizations . We've tried to use jquery directly with custom visualization component and velocity template but with no success. Do these work through REST v2 as well? Do you have a table-sort like example or similar? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now