droben Posted June 4, 2014 Share Posted June 4, 2014 I have issue with my report. There is table which display some numeric values from database. In every column with number is HTML component which is displayed when number under it is bigger than some limit. Interactive Features such a sorting or filtering work in every column except these with HTML components. Is there any possibility to enable them? thanks in advance Link to comment Share on other sites More sharing options...
lucianc Posted June 4, 2014 Share Posted June 4, 2014 You can explicitly specify the field to be used for sorting and filtering a column by setting a property called net.sf.jasperreports.components.table.column.field at column level.Regards,Lucian Link to comment Share on other sites More sharing options...
hozawa Posted June 4, 2014 Share Posted June 4, 2014 By appending html string to the end of a number, you're probably converting the number to a string. You can try converting every element to a string so the column will be sorted entirely as a string. Link to comment Share on other sites More sharing options...
droben Posted September 15, 2014 Author Share Posted September 15, 2014 This could be right way - and how to set in in jasper ireport designer? i Know where but does not know how? Link to comment Share on other sites More sharing options...
droben Posted March 19, 2015 Author Share Posted March 19, 2015 This option is described at page http://community.jaspersoft.com/wiki/how-make-jive-filteringsoring-feature-work-column-table-contains-expression. Unfortunately it seems that this possibility was added in newer version of Jasper which I used in June 2014 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