<p>Adding more cell types to the Table Fields isn't possible without a plugin. Even with a plugin it's probably not possible to simply extend the default field. I tried to do this and couldn't find a way to extend upon the javascript necessary to add or delete rows. </p>

<p>So to make more cell types possible I ended up copying the complete Table Field code from Craft core into my plugin.</p>

<p><a href="https://github.com/carlcs/craft-eventtable" rel="nofollow">"Event Table"</a></p>

<p>Someone might ask what this is good for, you could use Matrix instead!
Sure, but sometimes you're in the need for another hierarchy level or you'd simply opt for the cleaner, more compact view of a table field for your date or time inputs.</p>

CC BY-SA 3.0
2015-03-03T10:01:50.077Z
2015-03-03T10:01:50.077Z
carlcs
<p>I'm after using a date-time field within a table cell. I suspect it requires a plugin to make this happen - has anyone done this?</p>

CC BY-SA 3.0
2015-02-22T22:23:28.863Z
I started making such a plugin (copied lots of code from default table field type), but it's not complete. Though basic functionality works already. I can push a repo soon, if you want.
carlcs
CC BY-SA 3.0
2015-02-23T09:47:50.083Z
Yes please. Would be great if you could.
Clive Portman
<datetime><table-field>
Date-time field within tables
# Date-time field within tables

(Asked by: username_0 on 2015-02-22)

I'm after using a date-time field within a table cell. I suspect it requires a plugin to make this happen - has anyone done this?

**Tags:** datetime, table-field
> **Comments:**
> **username_1**: I started making such a plugin (copied lots of code from default table field type), but it's not complete. Though basic functionality works already. I can push a repo soon, if you want.  
> **username_0**: Yes please. Would be great if you could.  

---

## 1 answers

### Answer by username_1 on 2015-03-03. Score: 2 | Accepted answer

Adding more cell types to the Table Fields isn't possible without a plugin. Even with a plugin it's probably not possible to simply extend the default field. I tried to do this and couldn't find a way to extend upon the javascript necessary to add or delete rows.

So to make more cell types possible I ended up copying the complete Table Field code from Craft core into my plugin.

["Event Table"](https://github.com/carlcs/craft-eventtable)

Someone might ask what this is good for, you could use Matrix instead!
Sure, but sometimes you're in the need for another hierarchy level or you'd simply opt for the cleaner, more compact view of a table field for your date or time inputs.


---

