<p><code>{{ entry.myTableField[1] }}</code> and <code>{{ entry.myTableField[6] }}</code></p>

<p>You also might want to check to make sure they exist.</p>

<pre><code>{% if entry.myTableField[1] is defined and entry.myTableField[1] is not empty %}
     {{entry.myTableField[1]}}
{% endif %}
</code></pre>

CC BY-SA 4.0
2018-05-08T16:56:24.320Z
2018-05-08T16:56:24.320Z
Clark Nelson
<p>I'm new using Craft, I have a table type field display on one of my template but I need to display row 2 and 7 in different places of the page how can display only those two rows.</p>

<table-field>
I have a table type field that I need to access to rows individually
# I have a table type field that I need to access to rows individually

(Asked by: username_0 on 2018-05-08)

I'm new using Craft, I have a table type field display on one of my template but I need to display row 2 and 7 in different places of the page how can display only those two rows.

**Tags:** table-field


---

## 1 answers

### Answer by username_1 on 2018-05-08. Score: 1

{{ entry.myTableField[1] }} and {{ entry.myTableField[6] }}
You also might want to check to make sure they exist.
{% if entry.myTableField[1] is defined and entry.myTableField[1] is not empty %}
     {{entry.myTableField[1]}}
{% endif %}


---

