seshasai.cse Posted May 18, 2017 Share Posted May 18, 2017 Hi Team,We have MasterReport.jrxml, and SubReport.Jrxml and I want to change the Sub report x and y corordinates dynamically through MasterReport Scriptlet class. Is it possible, if so could you provide the sample.public void beforeReportInit() throws JRScriptletException {// super.beforeReportInit(); JasperReport jr = (JasperReport) this.parametersMap.get("JASPER_REPORT").getValue();JRBand jb = jr.getPageFooter(); JRElement je = (JRElement) jb.getElementByKey("frmFoo");je.setX(30); }These coordinates are assigned properly but not reflecting in the report. please suggest your expirience .ThanksSeshaa 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