petr.kalafatic Posted March 1, 2017 Share Posted March 1, 2017 Hi,I want to make iteration of list data source dynamic, but can't find out how to do it, any advice ?Thanks Petr Example:data [1,2,3] templates [a,b,c]iterate: data[index] -> templates<subreport> <parametersMapExpression><![CDATA[$P{REPORT_PARAMETERS_MAP}]]></parametersMapExpression> <dataSourceExpression><![CDATA[$F{listDataSource}]]></dataSourceExpression> <subreportExpression><![CDATA[$P{REPORT_SCRIPTLET}.loadReport(($V{index}))]]></subreportExpression> </subreport> 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