Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-03-24T09:04:42.313Z
Answers.LastActivityDate: 2017-03-24T09:04:42.313Z
Answers.UserDisplayName: Jorge Anzola
Body: <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>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-03-22T18:24:28.043Z
Comments.Text: Doesn't answer your question, but have you seen https://github.com/engram-design/SuperTable?
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-03-23T09:16:18.180Z
Comments.Text: 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!
Comments.UserDisplayName: Jorge Anzola
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-03-23T22:05:52.303Z
Comments.Text: Would you mind adding that as an official answer, Jorge?
Comments.UserDisplayName: Brad Bell
Tags: <plugin-development><form><table-field>
Title: Creating a editable table with Element Select in column
ThreadText: # 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:
  
  [![enter image description here](https://i.sstatic.net/RGXjP.png)](https://i.sstatic.net/RGXjP.png)
  
  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, username_0?  
  
  ---
  
  ## 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)
  
  
  ---
  
  