How to disable Table sorting/filtering feature (JIVE) in JasperReports Server

In this article I want to share the information about how to disable the JasperReports Server  Table sorting/filtering feature (JIVE).

Sometimes it's needed to keep the look and feel of the product as it was in the previous versions which did not have it at all.

The aforementioned feature is shown of the screenshot below:

Since JasperReports Server v4.7.1 we have a property for general table interactivity:

net.sf.jasperreports.components.table.interactive = true/false

This is configurable at element, report or global levels and defaults to true.

Starting with JasperReports Server v5.1 we can control sorting and filtering with:

net.sf.jasperreports.components.table.column.sortable = true/false
net.sf.jasperreports.components.table.column.filterable = true/false

These are configurable per each table column; they default to true

To configure these properties globally (in JasperReports Server) you should:

  • add them to the configuration file:

    jasperserver-pro\WEB-INF\classes\jasperreports.properties
  • restart the application server to apply the changes that have been done

Thank you for your attention to the article.

Have a nice day!

Alex

Feedback