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");
|