Is there an easy way to change a table body row to a table header row in Flare 2017? I imported a Word file without automatically designating the first row as the header row, and now I have a lot of table rows to convert. FYI, I am using a custom table style.
Thank you!
Change table body row to table header row?
Re: Change table body row to table header row?
I don't know if there is a way to bulk update your tables. But all you have to do to change a normal table row to a header row is select it, then apply "th" style from the Style drop down box.
Re: Change table body row to table header row?
I'm sorry--can you be more specific? I select the row and then go to which menu and submenu at the top? If I go to Style under Home, I do see th and td, but when I select th it doesn't get formatted as specified in my Tables stylesheet.
Re: Change table body row to table header row?
You forced me to do some research! The header row only seems to apply to table styles, e.g. row colours and borders. You still have to apply the paragraph style to the text that sits in the header row manually.
Hopefully somebody else can shed more light on this.
Hopefully somebody else can shed more light on this.
-
- Sr. Propeller Head
- Posts: 330
- Joined: Tue May 13, 2008 3:27 pm
- Location: Christchurch, New Zealand
Re: Change table body row to table header row?
In addition to <td> becoming <th>, the row <tr> also needs to appear in a separate <thead> (hopefully that makes sense!) Something like:
Unfortunately the only way of achieving that via the UI is to access table properties, set header rows to 1, then cut and paste the body row to the header row. Not ideal when you have a lot of tables to convert. It may be worth looking into search and replace across files.
Code: Select all
<thead>
<tr>
<th>Heading</th>
<th>Heading</th>
<th>Heading</th>
</tr>
</thead>
<tbody>
<tr>
<td>Body</td>
<td>Body</td>
<td>Body</td>
</tr>...
-
- Propeller Head
- Posts: 88
- Joined: Wed May 25, 2016 3:35 pm
Re: Change table body row to table header row?
You could also open up your table style, click on "Apply Style" under the heading tab (third from the right), and then choose the topics to apply the table style to. This is of course assuming a majority of your tables have similar styles.Finner wrote:I'm sorry--can you be more specific? I select the row and then go to which menu and submenu at the top? If I go to Style under Home, I do see th and td, but when I select th it doesn't get formatted as specified in my Tables stylesheet.
You can set styles in the Header part of the stylesheet, but I don't remember if it sets the first row as header when you do the "Apply Style" button. (Most of my tables don't have headers for various reasons.)
Hope that helps!
~Sarah
You do not have the required permissions to view the files attached to this post.
Technical Writer using and experimenting with Flare version 12.0.5991.
Re: Change table body row to table header row?
That's a great tip, Sarah, thank you. I'll file that one away.
Dora
Dora