hawkx Posted April 19, 2013 Share Posted April 19, 2013 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 More sharing options...
hawkx Posted April 19, 2013 Author Share Posted April 19, 2013 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now