Umer
Umer

Reputation: 127

In BIP RTF template table last row is not appearing as per requirement

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:

enter image description here

but the requirement is that the last line should be a single line as shown in below image:

enter image description here

These are my rtf template and sample xml file for someone who can look into it.

Sample XML RTF

Upvotes: 0

Views: 1767

Answers (2)

Ranjith R
Ranjith R

Reputation: 1589

Heres what I got: enter image description here

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.

enter image description here

Upvotes: 1

EdHayes3
EdHayes3

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

Related Questions