I would like to know if there is a way to not have to not have the headertoolbar show up when clicking on table headers, and thus prevent users from messing with the report.
I tried http://community.jaspersoft.com/wiki/disable-filtering-table-element but from what I can tell, that does nothing at all in 5.5.
1 Answer:
Posted on November 6, 2013 at 1:59am
In jasperreports there is a boolean property that controls the interactivity at table and column levels:
net.sf.jasperreports.components.table.interactive
You can set it in any of these places: globally(jasperreports.properties), per report(*.jrxml), per table or per table column.
This property defaults to 'true' in default.jasperreports.properties from jasperreports jar.
At column level, if no property is set, the one for the table is taken into account. If the table doesn't have this property, it is taken from the report, and so forth.
If at least one column has this property set to 'true' and the table's interactivity is turned off, the table will become interactive only for this column( or columns).
Are all these configuration options for the interactive table documented somewhere? Are there examples of disabling it at different levels?