Jump to content

Is it possible to hide the sort indicator on column header (not interactive)?


hawkx

Recommended Posts

I make sort through sort options on dataset, and then jasper add a sort indicator on column title automatically, but I dont want to print the sort indicator, is that possible to hide the sort indicator?

I'm using java GUI program, not web, no report server.

Thanks!

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

This code can hide the sort indicator on column title, but it will affect all report printing after this:

    DefaultJasperReportsContext.getInstance().setProperty(
            "net.sf.jasperreports.components.sort.up.arrow.char", "");
    DefaultJasperReportsContext.getInstance().setProperty(
            "net.sf.jasperreports.components.sort.down.arrow.char", "");

may be there is another better way to hide the sort indicator?

Link to comment
Share on other sites

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