Jump to content
We've recently updated our Privacy Statement, available here ×
  • How to change the default visualization type in the Ad Hoc Editor from Crosstab to Table in JasperReports Server 7.9.x and older


    Dhiraj Pahlani
    • Features: Ad Hoc, User Interface Version: v7.9.0 Product: JasperReports® Server

    Requirement:
    To change the default visualization type in the Ad Hoc Editor from Crosstab to Table in JasperReports Server 7.9.x.

    Solution:
    Follow below steps to change the default visualization type in the Ad Hoc Editor from Crosstab to Table:
    1. Take a backup copy of adhocStartMain.js file(<jasperserver-pro>/optimized-scripts/adhoc/).

    2. Open the adhocStartMain.js file (<jasperserver-pro>/optimized-scripts/adhoc/) in an editor.

    3. Search for "crosstab" and replace the first occurrence with "table". It might look something like
    var t=this._getParameterByName("reportType");t=t||"crosstab"

    4. Save the file.

    5. Restart the application server for the changes to reflect.

    ______________________________________________________________________________________________________________________
    Ref. Case #02122686


    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...