Jump to content
  • Hiding the 'Close Adhoc View' button while viewing the Ad Hoc View in JRS


    Prasad B
    • Edited on:
    • Features: Ad Hoc Version: v9.0.0 Product: JasperReports® Server

    Problem Statement:

    How do I hide the 'Close Adhoc View' buttonwhile viewing the ad hoc view?

    Solution:

    To hide the 'Close Adhoc View' button on the JRS instance, user need to create a new custom theme.

    Please follow the below steps to apply the custom theme:

        1. Navigate to View --> Repository.

        2. Create one folder under the Themes whose name is'sample 'theme' in my case.

        3. Insert the overrides_custom.css file under this folder. To do this, please right-click on the folder, --> choose Add resource -->  File --> CSS. Add the file that is present in the case attachments.
        
        4. In the overrides_custom.css file, we have added the below content:
            
            #close.button.capsule.up.last
            {
                display: none;
            }

        5. Once user make the changes, please make this custom theme as active theme. To do this, right-click on the folder and select 'Set as Active Theme'.
        
    -- Once user make these changes, open any existing ad hoc view. User could see that 'Close Adhoc View' is now hidden in the environment.


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