Page 1 of 1
Passing group condition dynamically
Posted: Tue Feb 11, 2014 7:52 am
by prakashn
Hi Team,
How can we pass group conditions from servlet or jsp to Stimulsoft report dynamically?
I tried to pass it as variable but its not working.
Please help.
Regards,
Prakash
Re: Passing group condition dynamically
Posted: Tue Feb 11, 2014 10:20 am
by HighAley
Hello.
To answer your question we need additional information.
What conditions do you need to pass to the Group Header?
What report engine do you use?
What our component do you use?
Thank you.
Re: Passing group condition dynamically
Posted: Tue Feb 11, 2014 10:32 am
by prakashn
Aleksey,
I am using Stimulsoft Report Fx for Java. For Group Header Band, I need to pass the columns dynamically, i.e, from UI.
How can I achieve this?
Thanks,
Prakash
Re: Passing group condition dynamically
Posted: Tue Feb 11, 2014 11:40 am
by Vadim
Hello.
Wich component do you use Flex or Web ?
prakashn wrote:Aleksey,
I am using Stimulsoft Report Fx for Java. For Group Header Band, I need to pass the columns dynamically, i.e, from UI.
How can I achieve this?
Thanks,
Prakash
Re: Passing group condition dynamically
Posted: Tue Feb 11, 2014 11:52 am
by prakashn
Hi Vadim,
I am using Flex component(Stimulsoft Reports.Fx for Java).
Re: Passing group condition dynamically
Posted: Wed Feb 12, 2014 12:27 pm
by Vadim
Hello.
Here is example of mrt file that describe how you can pass group conditions through variables.
JSP:
Code: Select all
<%
Map<String, String> variableMap = new HashMap<String, String>();
variableMap.put("Variable2","Customers.Country");
request.setAttribute("map",variableMap);
%>
<stiviewerfx:iframe report="c:\11\group_condA2.mrt" variableMap="map"
width="100%" height="100%" align="top"
styleClass="" frameborder="0" styleId=""
marginheight="4" marginwidth="10" name="stiviewerfx"
scrolling="no" style="" title="report"/>
</body>
prakashn wrote:Hi Vadim,
I am using Flex component(Stimulsoft Reports.Fx for Java).