r.reddy.galla Posted May 8, 2017 Share Posted May 8, 2017 Hi,Am new to jasper report,could you please help me on below query.i want add line for rows in below format.(like line should be in every 2 , 1, 2, 3 format)aaabbb-----ccc-----dddeee-----fffggghhh-----iiijjj----kkk-----llllll-----mmmnnnooo------ Link to comment Share on other sites More sharing options...
szaharia Posted May 8, 2017 Share Posted May 8, 2017 You need to arrange the data into groups that break after every 8 records (see some examples of data grouping here). Then, create a detail band containing the textfield with data. Create a second detail band containing a line element. For this second detail band use a print when expression in the form:$V{myGroup_COUNT} == 2 || $V{myGroup_COUNT} == 3 || $V{myGroup_COUNT} == 5 || $V{myGroup_COUNT} == 8[/code]where 'myGroup' is the group name. 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