---
title: "Advanced row styles"
canonical: "https://support.appfire.com/space/TBL/74814407/Advanced%20row%20styles"
format: markdown
---
<span style="color: #000000">This page provides an example to make user defined styles persist for rows. For this example, let's consider</span> <span style="color: #000000">[Monthly Temperatures table](https://appfire.atlassian.net/wiki/spaces/TBL/pages/74812593)</span><span style="color: #000000"> for which you want to set styles of various rows, including the header row.</span>

### Select this macro

|  |  |
| --- | --- |
| ***Macro name*** | <span style="color: #000000">*Table Plus*</span> |
| ***Macro syntax*** | <span style="color: #000000">*{table-plus}*</span> |

### <span style="color: #000000">Define these parameters/values</span>

|  |  |
| --- | --- |
| <span style="color: #000000">***Row formatting > Data rows > Row Styles (1***</span><br><span style="color: #000000">***2***</span><br><span style="color: #000000">***3)***</span> | <span style="color: #000000">*background:lightgrey; font-size:1em; padding-top:25px;*</span><br><span style="color: #000000">*background:lightblue; font-size:1.2em; border: 2.5px dotted black*</span><br><span style="color: #000000">*font-style:italic; font-size: 1em; padding-left:35px*</span> |
| <span style="color: #000000">***Row formatting > Header & Footer rows > Header row styles***</span> | <span style="color: #000000">*font-size: 1.5em; padding:20px; border: 5px solid #c1c7d0;*</span> |
| <span style="color: #000000">***Row formatting > Advanced settings > Apply Row styles to data row cells***</span> | <span style="color: #000000">On</span> |

### <span style="color: #000000">Screenshots</span>

![image](media://2958b1fc-a0c2-4ded-b443-44007912470c)

![image](media://d6c20326-9dba-40f6-8c32-a307128bcf30)

![image](media://a822baf0-e2f1-4a95-af5b-4c0330b1c8d4)

### Example results

<span style="color: #000000">When the </span><span style="color: #000000">*Apply Row styles to data row cells*</span><span style="color: #000000"> is off, certain styles for cell padding or borders are not applied as shown:</span>

![image](media://fc7356c7-2ef7-4d8d-8cc4-848d3ff7489f)

<span style="color: #000000">When the </span><span style="color: #000000">*Apply Row styles to data row cells*</span><span style="color: #000000"> is toggled on, all the specified styles are applied as shown:</span>

![image](media://2ba1434e-ab1f-436a-9a28-fe1a897ab9da)