Jump to content
We've recently updated our Privacy Statement, available here ×
  • TIBCO JasperReports® IO Javascript API: Cancelling and Re-running a report - Sample


    stasp
    • Product: JasperReports IO

    When embedding large or long-running reports into your webapp you might want to have an option to cancel report execution if it is taking too long.TIBCO JasperReports® IO Javascript API (same as Visualize.js) has a Cancel() method for such purposes, which sends a request to server to stop report execution.

    The JSFiddle sample below demonstrates this functionality. In this example there are two buttons: one for cancelling report execution, and one for re-running the report using the Refresh() method:

    http://jsfiddle.net/Stas_P/0fsdpbL6/

    Please note that you will need a JasperReports® IO installation with sample reports to successfully run the JSFidde.


    User Feedback

    Recommended Comments

    There are no comments to display.



    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 account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...