# HTML Table Helper?

**URL:** <https://www.ruby-forum.com/t/html-table-helper/52994>\
**Category:** Rails\
**Created:** [November 23, 2005, 12:31pm UTC](https://www.ruby-forum.com/t/html-table-helper/52994 "2005-11-23T12:31:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cool\_screen\_name900](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c68b51/32.png) [@cool\_screen\_name900](https://www.ruby-forum.com/u/cool_screen_name900)\
**Post date:** [November 23, 2005, 12:31pm UTC](https://www.ruby-forum.com/t/html-table-helper/52994/1 "2005-11-23T12:31:23Z")

</div>

Anybody know of a helper that could be used like so?

\<%= html\_table @items, :cols=\>4 %\>

Where items is just a simple array, and the helper outputs a table of  
the items, in four columns  
(bonus would be if it could iterate the items horizontally or vertically

- e.g. items would be  
alphabetized horizontally, or vertically). I looked in the API and the  
3rd party helpers/plugins  
but am not sure if anything there would fit the bill. The sortable  
tables (like movtable) are  
probably way more than I need.

thanks  
csn

* * *

Yahoo! Mail - PC Magazine Editors’ Choice 2005

> **[Yahoo Mail - Organized Email](https://mail.yahoo.com)**
>
> It's time to get stuff done with Yahoo Mail. Just add your Gmail, Outlook, AOL or Yahoo Mail to get going. We automatically organize all the things life throws at you, like receipts and attachments, so you can find what you need fast. Plus, we've got...

---

<div class="post-metadata">

**Author:** ![cool\_screen\_name900](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c68b51/32.png) [@cool\_screen\_name900](https://www.ruby-forum.com/u/cool_screen_name900)\
**Post date:** [November 23, 2005, 4:57pm UTC](https://www.ruby-forum.com/t/html-table-helper/52994/2 "2005-11-23T16:57:34Z")

</div>

Hi csn,

I miss that helper too! Shall we write it ?  
That reminds me sth like the old phpMyEdit(3.5) isn’t it ??

rgds,  
Andre

cool\_screen\_name90001 wrote:

> Anybody know of a helper that could be used like so?
> 
> \<%= html\_table @items, :cols=\>4 %\>
> 
> Where items is just a simple array, and the helper outputs a table of  
> the items, in four columns  
> (bonus would be if it could iterate the items horizontally or vertically
> 
> - e.g. items would be  
> alphabetized horizontally, or vertically). I looked in the API and the  
> 3rd party helpers/plugins  
> but am not sure if anything there would fit the bill. The sortable  
> tables (like movtable) are  
> probably way more than I need.
> 
> thanks  
> csn
> 
> * * *
> 
> Yahoo! Mail - PC Magazine Editors’ Choice 2005  
> [http://mail.yahoo.com](http://mail.yahoo.com)
