Reputation: 127
I have a BIP template on which I am generating table based on data from database. The table rows are doubled lined. The problem is that the last line is also appearing as doubled line:
but the requirement is that the last line should be a single line as shown in below image:
These are my rtf template and sample xml file for someone who can look into it.
Upvotes: 0
Views: 1767
Reputation: 1589
I had to re-arrange the end of the 'for' tags, then make the second row conditionally visible , with this condition
<?if:position()!=last()?>
Modified RTF file is here.
Upvotes: 1
Reputation: 1954
Put an if
condition on the smaller row which you don't want to appear at the end. Check if the position != the count of records, then display the row.
Upvotes: 1