sachansaurabh01 Posted March 27, 2017 Share Posted March 27, 2017 Suppose we have a jasper report with multiple columns and we have to hide column1 ,column2 and column3 but hiding of any column affect the integrity of the layout ,I want to know can we dynamically change width of the columns if one of the columns hide . Link to comment Share on other sites More sharing options...
reportdev Posted March 27, 2017 Share Posted March 27, 2017 The table element would do the trick for you.If one of the column is hidden, then the table element will dynamically move the next column towards left retaining the report layout.Dynamically changing the column width is not possible on jasper reports.(let me know if you could find a way, I have a requirementhttp://community.jaspersoft.com/sites/all/libraries/ckeditor/plugins/smiley/images/regular_smile.gif)Check the jrxml that i have posted on below questionhttp://community.jaspersoft.com//questions/1046016/how-dynamically-hide-columns-table 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