695867597 Posted April 8, 2014 Share Posted April 8, 2014 Hi all,I am using a multi-select input-control. The data to be displayed is being fetched from Database based on an input control query. I want to display some of the values pre-selected in the list, based on some conditions. Does JasperServer support this feature?I see the other people answer is "java.util.Arrays.asList(new String[] {"Naveen","Sharad"})"but the value of multi-select input-control is query, which is immutable. so whether has another better solution? Link to comment Share on other sites More sharing options...
695867597 Posted April 8, 2014 Author Share Posted April 8, 2014 but the value of multi-select input-control is query, which is immutable. so whether has another better solution? Link to comment Share on other sites More sharing options...
ajinkya_c Posted April 15, 2014 Share Posted April 15, 2014 Hi,You can add preselected condition direct in query.like where col1=Naveen OR col1=sharad OR col1=$P{Multiselect_Parameter}this might one way to select predefined solution.ThanksAjinkya 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