on 2008 Jun 04 11:20 AM
hi
i am facing the problem of printing iGrid value.
if the Grid has no scroll bar than i can easily print the value.
But Grid has scroll bar i can't print entire data.
Is there any way to solve this problem.
Hi John,
I guess you are using right click -> Print option on Applet.
That won't give the complete set of data in a page.
For actually printing the entire data, you can use a .irpt page(which can be invoked on click of a button adjacent to applet) with a xMII servlet call. The servlet will return you data and you can apply any predefined xsl to render it appropriate format.
Thanks,
Ravi Kumar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi John,
Please go through help documentation for understanding What IRPT is and how it functions...!
On the irpt page you can declare an xMII servlet like this sort.
<SERVLET NAME="Illuminator">
<PARAM NAME="QueryTemplate" VALUE="<QueryName>">
<PARAM NAME="Content-Type" VALUE="text/xml">
<PARAM NAME="Stylesheet" VALUE="http://localhost/Illuminator/StyleSheets/Samples/DataWithPageBreaks.xsl">
<PARAM NAME="Param.1" VALUE=""> <PARAM NAME="Param.2" VALUE=""> </SERVLET> You can even change the Stylesheet by customizing the xsl located on xMII Server and giving its path above. The parameters , are parameters(Param.1,Param.2) for query above.
The best thing in irpt is that the above parameters can be initialized on page load directly by sending them through url.So ur url will include &StartDate=<someval>&EndDate=<someval>
Regards,
Ravi Kumar.
You could also display the data in a pdf document and then print that. Or email it or save it to a folder...
Or right click and open the data as a csv. It will generally present the document in an Excel format (depending on your settings) and that is easily printed.
Lots of options to choose from.
Mike
Edited by: Michael Appleby on Jun 4, 2008 7:40 PM
User | Count |
---|---|
3 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.