Designer tips and tricks: Prevent the Table Header border from repeating after each table row

Typically when designing report templates with Docentric, the Table Header row borders the List tagging element, as seen in the screenshot below.

For that reason, if we wanted to apply a bottom border to the Table Header, the border would repeat with every record the List tagging element is bound to (in this case, with every SalesInvoiceLines record).

We can easily solve this by adding a new, empty table row after the Table Header to separate it from the List tagging element, and applying a top border to it instead. I’ve showcased the solution in my test template: Header Border Example.docx.

To only apply the border to the Table Header, please follow these steps:

  1. Select the entire Header row and remove the bottom border.

  2. While the Header row is still selected, right-click on it and select Insert < Insert Rows Below.

  3. Apply a top border to the empty row below the Table Header row.

  4. Select the entire empty row, go to the “Home” Word tab, and change the font size to 1.

  5. While the empty row is selected, open the Paragraph settings.

  6. Under the Indents and Spacing change the Spacing Before and After to 0 pt, and make sure the Line spacing is set to Single.

  7. Go to the Layout tab, select Table Properties, and under the Row tab make sure the Specify height option is unchecked.

Header Border Example.docx (152.6 KB)

My list is around my one row, the header row is above it, not in the list but in the Group. My header rowis repeating with each record in the list. What do you think I’m doing wrong?

Hi Amber!

I believe the problem is that the header is inside the group - it depends on how you’d like your template to look.

If the header is inside the group tagging element, it will be repeated as many times as there are groups. So that would be my first guess.

Without seeing the template, it’s hard to say more than that, so if this doesn’t solve your issue, please attach your template - of course, if possible, without any sensitive data.

If the template contains sensitive data, it would be best to send it to our support email support@docentric.com.