punkybaby Posted December 8, 2012 Share Posted December 8, 2012 I'm using iReport 3.7.6 and for example I have 5 checkboxes in my netbean project and i want to generate a jasper report. When i ticked 2 checkbox and 2 of the columns will be show on the report and hide the other 3 columns. May i know how to perform the task?Thanks for your help :)and Sorry for the poor grammar.Here is my code and it is not function. Link to comment Share on other sites More sharing options...
spandey Posted December 11, 2012 Share Posted December 11, 2012 Use print when expression. Create a checkbox for every column. These checkboxes would be of boolean type. Now for every column in print when expression write a code which must be like {Checkbox}?true:false[/code] Link to comment Share on other sites More sharing options...
punkybaby Posted December 12, 2012 Author Share Posted December 12, 2012 Thanks for your help. :) 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