View Single Post
  #2 (permalink)  
Old 06-29-2009, 01:04 AM
jordi jordi is online now
Junior Member
 
Join Date: Apr 2008
Posts: 9
Default

Use Crosstab Properties --> Visibility and mark 'Hidel Element' . Put the code to read the parameter and return true or false regarding your criteria.

You can also drop your crosstab element from the report using a little piece of code in the beforeFactory event in report. This is java code but javascript is really similar.

ReportDesignHandle rdh = (ReportDesignHandle)reportContext.getReportRunnable().getDesignHandle();
rdh.getElementByID(48).drop();

You can read your parameters with reportContext.getParameterValue("param_name");
Reply With Quote