Passing group condition dynamically

Stimulsoft Reports.JAVA discussion
Post Reply
prakashn
Posts: 6
Joined: Tue Jan 28, 2014 6:37 am

Passing group condition dynamically

Post 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
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Passing group condition dynamically

Post 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.
prakashn
Posts: 6
Joined: Tue Jan 28, 2014 6:37 am

Re: Passing group condition dynamically

Post 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
Vadim
Posts: 409
Joined: Tue Apr 23, 2013 11:23 am

Re: Passing group condition dynamically

Post 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
prakashn
Posts: 6
Joined: Tue Jan 28, 2014 6:37 am

Re: Passing group condition dynamically

Post by prakashn »

Hi Vadim,

I am using Flex component(Stimulsoft Reports.Fx for Java).
Vadim
Posts: 409
Joined: Tue Apr 23, 2013 11:23 am

Re: Passing group condition dynamically

Post 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).
Attachments
group_condA2.mrt
(13.55 KiB) Downloaded 457 times
Post Reply