Jump to content

How to enable/disable input controls sorting


m.longo

Recommended Posts

Hi guys,

I'm using Jasperreport Server 5.1 and i noticed that now input controls can be sorted simply with drag and drop. Is there a way to disable/enable the sorting of input controls by user d&d? I wan't to force my users to follow a path when they input data and i can't do this if they're able to re-order input cotrols.

Thank u,

Michael

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Ok i've found a workaround.

In this file: <jasperserver>/WEB-INF/jsp/modules/viewReport/ViewReportState.jsp there's a variable called ${isIcReorderingEnabled}.

I've hard-coded it's value to false and puf... input controls order is fixed.

Sadly, I didn't found out where isIcReorderingEnabled is initialized but i don't need ic sorting enabled so an hard coded value is perfect.

Link to comment
Share on other sites

  • 4 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...