sjoerd.jump Posted January 28, 2014 Share Posted January 28, 2014 Hi guys,I have a report with 4 parameters, Year, Month, Min, MaxWhen i started out with the parameters only Month and Max were used. So i added Year and Min later.All parameters are at the top of the page but there is no way to sort them.Currently the order is [Month] [Max] [Min [Year] while a better order would be [Year] [Month] [Min] [Max].Does anyone know how to sort the order of the Parameters?Thanks! Link to comment Share on other sites More sharing options...
tmatveyeva Posted January 28, 2014 Share Posted January 28, 2014 Unfortunalelly there is no possibitlity to change order of input controls for the report from UI at the moment. The only way to do so is to remove your controls and add then back in the correct order. Link to comment Share on other sites More sharing options...
Solution tmatveyeva Posted January 28, 2014 Solution Share Posted January 28, 2014 Hello,Unfortunalelly there is no possibitlity to change order of input controls for the report from UI at the moment. The only way to do so is to remove your controls and add then back in the correct order. However, such functionality is available in REST API. To change order using REST, first you need to get list of input controls by running GET request to [http://]{host}:{port}/{contextPath}/rest_v2/reports/{reportUnitURI}/inputControls URI and then PUT to the same URI, as a request body you should send list of input controls revieved from GET, but in correct order. Please note that currently it is impossible to change input controls except change of theirs order. Sent to server structure MUST be the same as it received from there, except order.Sincerely,Tatyana Link to comment Share on other sites More sharing options...
sjoerd.jump Posted January 28, 2014 Author Share Posted January 28, 2014 Thanks for you explanation. Im not to familiair with REST api, so i'll stick to changing the order with deleting and creating the parameters :) Link to comment Share on other sites More sharing options...
butlerc Posted January 30, 2014 Share Posted January 30, 2014 There is a way to do this, I do it often, but that is because a lot of my reports can have upto 20 different Input Controls so deleting them all just to reorder is obviously out of the question. I posted the solution a year or so ago, link to it is here: http://community.jaspersoft.com/questions/705351/input-control-display-order-server Link to comment Share on other sites More sharing options...
AndreC Posted February 25, 2014 Share Posted February 25, 2014 You can use Jasper Studio 5.5 to do so, i've reorder many of my report input controls this way. Link to comment Share on other sites More sharing options...
wolverto_1 Posted July 24, 2014 Share Posted July 24, 2014 It doesn't work 100% and I'm not sure what makes it work vs not. Link to comment Share on other sites More sharing options...
szadroga Posted October 13, 2014 Share Posted October 13, 2014 Is this still current. Is there no way of reordering/sorting input controls on how they layout. I have a startdate and enddate controls and currently enddate appears first. need that switched. i have access to server and using studio 5.6.1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now