sampathku Posted January 15, 2010 Share Posted January 15, 2010 Hello All, Is it possible to provide user to choose columns (add/modify) he would want to see in his reports using the same jrxml, just like ad-hoc reporting in jasper server. If yes, can this be done on jasper server or only programmatically using jasper report library. If chart data (x,y coordinates) also be chosen on ad-hoc basis, it's like icing in the cake. Regards,Sampath Link to comment Share on other sites More sharing options...
gkuehnberger Posted January 17, 2010 Share Posted January 17, 2010 In regards to columns: I guess yes, however you would have to subsequently calculate the column width depending on the choosen number of columns. why not giving it a try in iReport upfront?hth regards georg Link to comment Share on other sites More sharing options...
gkuehnberger Posted January 17, 2010 Share Posted January 17, 2010 Seems I guessed wrong, as the "columnCount" is an attribute of jasperReport, as is columnWidth;However you should be able to solve your task by creating two subreports (1col + 2col) and configure the subreport expression to respect the user input param. regards georg 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