<p>For my specific case, <a href="https://github.com/engram-design/SuperTable" rel="nofollow noreferrer">Super Table</a> was the answer.</p>

<p>You can also check <a href="https://github.com/benjamminf/craft-neo" rel="nofollow noreferrer">Neo</a></p>

CC BY-SA 3.0
2017-03-24T09:04:42.313Z
2017-03-24T09:04:42.313Z
Jorge Anzola
<p>First of all, I'm starting in Craft in general so I'm having a hard time with things that might be basic.</p>

<p>I want to create a editable table with a Element Select in a column. Like:</p>

<p><a href="https://i.sstatic.net/RGXjP.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/RGXjP.png" alt="enter image description here"></a></p>

<p>I already have the possibility to add custom fields, but I don't now how to set up the template.</p>

<pre><code>{{ forms.editableTable({
    id: 'timetable',
    name: 'timetable',
    required: false,
    cols: {
        name: {
            heading: "Name" |t,
            type: "select" |t,
            options: {
                'area-x' : 'Area X',
                'area-y' : 'Area Y',
                'area-z' : 'Area Z',
            }
        },
        artists: {
            heading: "Artists" |t,
            type: "elementSelect" |t,
        }
    },
    rows: ///
}) }}
</code></pre>

<p>But of course that doesn't work.</p>

<p>Can anyone light up the way?</p>

CC BY-SA 3.0
2017-03-22T18:24:28.043Z
Doesn't answer your question, but have you seen https://github.com/engram-design/SuperTable?
Brad Bell
CC BY-SA 3.0
2017-03-23T09:16:18.180Z
Actually it does! Yesterday I got into the Craft Slack group, and someone suggested Super Table. And it was the answer to my prayers! Thanks!
Jorge Anzola
CC BY-SA 3.0
2017-03-23T22:05:52.303Z
Would you mind adding that as an official answer, Jorge?
Brad Bell
<plugin-development><form><table-field>
Creating a editable table with Element Select in column
# Creating a editable table with Element Select in column

(Asked by: username_0 on 2017-03-22)

First of all, I'm starting in Craft in general so I'm having a hard time with things that might be basic.
I want to create a editable table with a Element Select in a column. Like:

I already have the possibility to add custom fields, but I don't now how to set up the template.
{{ forms.editableTable({
    id: 'timetable',
    name: 'timetable',
    required: false,
    cols: {
        name: {
            heading: "Name" |t,
            type: "select" |t,
            options: {
                'area-x' : 'Area X',
                'area-y' : 'Area Y',
                'area-z' : 'Area Z',
            }
        },
        artists: {
            heading: "Artists" |t,
            type: "elementSelect" |t,
        }
    },
    rows: ///
}) }}

But of course that doesn't work.
Can anyone light up the way?

**Tags:** plugin-development, form, table-field
> **Comments:**
> **username_1**: Doesn't answer your question, but have you seen https://github.com/engram-design/SuperTable?  
> **username_0**: Actually it does! Yesterday I got into the Craft Slack group, and someone suggested Super Table. And it was the answer to my prayers! Thanks!  
> **username_1**: Would you mind adding that as an official answer, Jorge?  

---

## 1 answers

### Answer by username_0 on 2017-03-24. Score: 3 | Accepted answer

For my specific case, [Super Table](https://github.com/engram-design/SuperTable) was the answer.

You can also check [Neo](https://github.com/benjamminf/craft-neo)


---

