<p>Super Table doesn't yet support eager loading (its certainly high on the list). I'll keep you posted with progress, or feel free to submit an issue on the plugin page <a href="https://github.com/engram-design/SuperTable/issues" rel="nofollow">https://github.com/engram-design/SuperTable/issues</a></p>

CC BY-SA 3.0
2016-04-11T02:39:35.390Z
2016-04-11T02:39:35.390Z
crawf
<p>This appears to have been added in the <a href="https://github.com/engram-design/SuperTable/releases/tag/0.4.7" rel="nofollow">0.4.7 release</a>!</p>

<p>View the original issue <a href="https://github.com/engram-design/SuperTable/issues/66" rel="nofollow">here</a>.</p>

<p>Note: <em>I have not personally verified this functionality.</em></p>

CC BY-SA 3.0
2016-07-15T23:56:02.450Z
2016-07-15T23:56:02.450Z
August Miller
<p>I have a Matrix with a Super Table in many of its blocks that I'm trying to eager load, but I can't figure out the syntax (or if its possible). The Super Table field's handle is <code>columnSize</code> and it contains two rows with dropdowns, <code>screenSize</code> and <code>columnSize</code>. My Matrix's handle is <code>contentBlocks</code>. The template code is below:</p>

<pre><code>entry.contentBlocks.with(
    [
        'text:columnSize', // Super Table field
        'image:columnSize', // Super Table field
        ['image:image', {
            withTransforms: [{width: 1600, width: 1024, width: 768}]
        }], // Asset field
        ...
    ]
)
</code></pre>

<p>The syntax above works for every field I have except <code>columnSize</code>, which returns empty in the template when loaded using this method. Are there additional parameters needed for Super Table similar to image transforms?</p>

<elementcriteriamodel><plugin-supertable><eager-loading>
Can I eager load Super Table fields in a Matrix block?
# Can I eager load Super Table fields in a Matrix block?

(Asked by: username_0 on 2016-04-11)

I have a Matrix with a Super Table in many of its blocks that I'm trying to eager load, but I can't figure out the syntax (or if its possible). The Super Table field's handle is columnSize and it contains two rows with dropdowns, screenSize and columnSize. My Matrix's handle is contentBlocks. The template code is below:
entry.contentBlocks.with(
    [
        'text:columnSize', // Super Table field
        'image:columnSize', // Super Table field
        ['image:image', {
            withTransforms: [{width: 1600, width: 1024, width: 768}]
        }], // Asset field
        ...
    ]
)

The syntax above works for every field I have except columnSize, which returns empty in the template when loaded using this method. Are there additional parameters needed for Super Table similar to image transforms?

**Tags:** elementcriteriamodel, plugin-supertable, eager-loading

---

## 2 answers

### Answer by username_1 on 2016-04-11. Score: 1 | Accepted answer

Super Table doesn't yet support eager loading (its certainly high on the list). I'll keep you posted with progress, or feel free to submit an issue on the plugin page <https://github.com/engram-design/SuperTable/issues>


---

### Answer by username_2 on 2016-07-15. Score: 2

This appears to have been added in the [0.4.7 release](https://github.com/engram-design/SuperTable/releases/tag/0.4.7)!

View the original issue [here](https://github.com/engram-design/SuperTable/issues/66).

Note: *I have not personally verified this functionality.*


---

