Jump to content
We've recently updated our Privacy Statement, available here ×

danda

Members
  • Posts

    2
  • Joined

  • Last visited

danda's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Hi, I am evaluating jasper reports, together wth jasperserver for a customer. We are really happy with the solution except that the customer has a non-negotiable requirement that the user must be able to choose which columns are in the report at runtime. All the forum and blog posts I've seen indicate that jasper cannot do this. There is DynamicJasper, but its not at all clear how that would integrate with JasperServer... I think the answer is - it doesn't. I have also seen a promising "Column Manager" upcoming feature listed in the tracker. But I retrieved the latest code from SVN and I don't see any related commits yet. http://jasperforge.org/projects/jasperreports/tracker/view.php?id=4177 So, I resolved to see about hacking the jasperreports engine with some very simplistic and custom support to do what I need. I found that "printWhenExpression" is already close. I can get it to visually hide the columns I don't want, including the col header and footer. However, there are two problems with that: 1) It is ugly. It leaves a big gaping hole where the column was, when the space should be used by the next column to the right. 2) CSV and other spreadsheet type reports still print the column as existing. The requirement is that they NOT appear. So I am looking for advice from a jasper developer. My questions: 1) Can you recommend place(s) in the code to hook in where I can check printWhenExpression() and resolve the above issues? ( Of the two, the second is most important. ) 2) Will the ColumnManager feature referenced above solve these issues? If so, is there an ETA for this feature. I'd be quite happy with SVN code if it solves #2 above. Thanks
×
×
  • Create New...