Jump to content
We've recently updated our Privacy Statement, available here ×
  • How to hide sorting icon in table cell


    prusyn
    • Features: Reports Version: v7.2 Product: JasperReports® Library

    Issue:

    [toc on_off::hide=1]

    Customer is using sorting in some columns in a table in jrxml. But the concern is when a report is generated it is showing one sorting icon in the title like a triangle. The desire is to hide it from UI.


    Resolution:

    First of all, this is the indicator of what sorting is used on the column. This is a pretty necessary part of report usability. So, under normal cirumstances you don't want to remove it. However, if you still want to do it,  you will have to set these properties in jasperserver-proWEB-INFclassesjasperreports.properties and restart the server.

    net.sf.jasperreports.components.sort.down.arrow.char=u0020
    
    net.sf.jasperreports.components.sort.up.arrow.char=u0020

    It will set icons of sort chart to Space which will make them unseen.

    .

    In fact, you can set these properties to any char value recognized by Java to change the appearance of sorting icons. 

    sc.mp4


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