How do you do HTML tables?



I wonder how you guys do tables in ExpressionEngine? Sometimes there's a clear need for tables - semantically.

Matrix is not an option since it can only have a predefined amount of columns.

I used markdown tables, but most of the time I don't need a header. The only usable thing I found was textile tables, but I want to get rid of textile and use markdown wherever I can.

Any ideas? cheers stefan


Posted 2012-12-11T17:00:23.113

Reputation: 552

Did any of the answers help you? If yes, please mark the answer correct by clicking on the checkmark to the left of the answer. – Anna_MediaGirl – 2012-12-22T06:17:36.847



Content Elements contains an option for tables that lets the user create columns on the fly. Haven't tried it yet but it looks pretty awesome and seems to have useful template tags for the table element.

enter image description here

Alex Kendrick

Posted 2012-12-11T17:00:23.113

Reputation: 7 896

1I have and it's very good. – Tyssen – 2012-12-11T21:56:47.253

yeah! content elements is the only thing that is exactly what I want! I might ask them to release this as a separate add-on?! content elements is a great concept, but I am afraid of using such a big add-on. I prefer smaller add-ons in case the developer stops developing the add-on. there's also grid lite, but it does not seem to be in active production. – outline4 – 2012-12-11T23:31:51.687

1Krea is a well know addon developer. I wouldn't worry about them going vaporware on you. Also size of addon has no impact on whether an addon stops getting developed. Take Lumis Image Sizer. One day it mysteriously disappeared, eventually to have its features replicated by other developers. A small addon that disappears, if its crucial to your site, will be as bad as a big addon disappearing. I'd recommend giving this addon a shot if it does what you need it to do. also don't forget to click the check next to the answer that best answers your question. – CreateSean – 2012-12-12T16:30:04.257

you are absolutely right! and the add-on is rock solid (I have purchased it to test it). but my preference is to rely mostly on first-party add-ons. replacing a image sizer add-on is less painful than to change a whole content strategy, not? – outline4 – 2012-12-15T13:25:38.610

1I also work with CE and I can confirm, that the tables work well. Style and content are completely seperated and you can use if-statements to apply CSS-classes to tables. Tah Taht will give Editors the freedom to use different sorts of tables on different parts of the site. – awa – 2013-02-11T17:03:52.080


Email support[at] I have a new add-on that I have been developing since Spring 2012 that does exactly this. Like everything I build, its focus is on a rock solid and configurable API. It's still not ready for a public release, but it's used on a number of our clients' sites (in production). I am happy to let you install it and give it a shot to see if fits your needs.

Justin Kimbrell

Posted 2012-12-11T17:00:23.113

Reputation: 5 352

wow... email sent! this is a long awaited moment! OMG - stack exchange is just amazing! – outline4 – 2012-12-11T23:35:21.280


Are you talking about using tables as a fieldtype? There's no table fieldtype in EE, but you can use Wygwam and configure it to show the options for building a free-form table in the editor.

Patrick Pohler

Posted 2012-12-11T17:00:23.113

Reputation: 556

2There is no FT yet*. ;) – Justin Kimbrell – 2012-12-11T17:10:24.460

lol saw your answer after I posted, I'm intrigued :) – Patrick Pohler – 2012-12-11T17:11:14.933

1He says "no FT yet" though, it's been that way for a year now ;) – Natetronn – 2012-12-11T17:14:44.770

Well actually there is: Content Elements like Alex mentioned. – Tyssen – 2012-12-11T21:56:30.373

yeah - only content elements is available. but it's a bit too bloated to use it just for tables... – outline4 – 2012-12-11T23:44:35.590

Content Elements was not on my radar at all! It's a module I will check out in the future – Patrick Pohler – 2012-12-12T02:06:10.307

I've found Wygwam the only reasonable solution for non techie users. If the table already exists in Word or Excel copy/paste works most of the time, and if you know HTML you can always go in and modify/clean up the code in source view. – Paul Frost – 2013-01-10T15:39:16.363


The Redactor.js has a nice table builder if you want a WYSIWYG field type.

You can demo it here:

All of the Redactor field types should come with this feature:

Redactor.js Table Builder


Posted 2012-12-11T17:00:23.113

Reputation: 2 384

2Also note I think the first two add-ons I listed (not sure about the third) will allow you to create "profiles" where in the case of tables you could have a profile which had only source ie. the </> button and the table button itself and maybe a few other basic buttons like bold, italic, link etc. This in turn would allow you to have a field which was for building tables and nothing more~. – Natetronn – 2012-12-11T17:37:29.357

I am not a fan of the wysiwyg approach, but as you mentioned, it could be ok if I would configure it to only produce tables... nice idea! I'll give it a try! thanks! – outline4 – 2012-12-11T23:43:10.093

Don't mention it :) – Natetronn – 2012-12-12T02:14:33.487