Answers.Body: <p>I figured it out. You can do it. Here is my example. </p>
  
  <pre><code>{% for block in mainNavigation.navigationLink %}
              &lt;a class="navbar-item {{ block.className }}" href="{{ block.linkUrl }}"&gt;
                  {{ block.linkName }}
              &lt;/a&gt;
  
                  {% if block.childLinks | length %}
                  &lt;div class="navbar-dropdown is-boxed"&gt;
                      {% for row in block.childLinks %}
                          &lt;a class="navbar-item" href=""&gt;{{ row.childLinkName }}&lt;/a&gt;
                       {% endfor %}
                  &lt;/div&gt;
                   {% endif %}
  
  
          {% endfor %}
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-29T16:20:07.883Z
Answers.LastActivityDate: 2018-03-29T16:20:07.883Z
Answers.UserDisplayName: Danielle Frappier
Body: <p>I am looking to use a matrix field for my site navigation that has some dropdowns. Using a table field within a matrix field seems like it would work but I don't know how to access the table inside the matrix field in my template. Is this possible. </p>
  
Tags: <matrix><craft3><table-field>
Title: Can you store a table field within a matrix field?
ThreadText: # Can you store a table field within a matrix field?
  
  (Asked by: username_0 on 2018-03-29)
  
  I am looking to use a matrix field for my site navigation that has some dropdowns. Using a table field within a matrix field seems like it would work but I don't know how to access the table inside the matrix field in my template. Is this possible.
  
  **Tags:** matrix, craft3, table-field
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2018-03-29. Score: 1
  
  I figured it out. You can do it. Here is my example.
  
  ```
  {% for block in mainNavigation.navigationLink %}
              <a class="navbar-item {{ block.className }}" href="{{ block.linkUrl }}">
                  {{ block.linkName }}
              </a>
  
                  {% if block.childLinks | length %}
                  <div class="navbar-dropdown is-boxed">
                      {% for row in block.childLinks %}
                          <a class="navbar-item" href="">{{ row.childLinkName }}</a>
                       {% endfor %}
                  </div>
                   {% endif %}
  
          {% endfor %}
  
  ```
  
  
  ---
  
  