# AJAX enabled table?

**URL:** <https://www.ruby-forum.com/t/ajax-enabled-table/140186>\
**Category:** Rails\
**Created:** [June 11, 2008, 6:18pm UTC](https://www.ruby-forum.com/t/ajax-enabled-table/140186 "2008-06-11T18:18:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ron](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ecae2f/32.png) [@ron](https://www.ruby-forum.com/u/ron)\
**Post date:** [June 11, 2008, 6:18pm UTC](https://www.ruby-forum.com/t/ajax-enabled-table/140186/1 "2008-06-11T18:18:34Z")

</div>

Hi,

I’m wondering how you build an ajax enabled table? By enabled, I mean  
users can click on table headings and sort ascending or descending by  
that header, etc. I’ve seen some info on [rubyonrails.org](http://rubyonrails.org) for another  
type of scaffold. I’m a little lost in breaking it down. Any  
thoughts?

Ron

---

<div class="post-metadata">

**Author:** ![ron](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ecae2f/32.png) [@ron](https://www.ruby-forum.com/u/ron)\
**Post date:** [June 11, 2008, 7:58pm UTC](https://www.ruby-forum.com/t/ajax-enabled-table/140186/2 "2008-06-11T19:58:36Z")

</div>

Hi Ron,

Ron wrote:

> I’m wondering how you build an ajax enabled table?

The short answer is, you don’t… There’s a piece at MSDN that explains  
more  
but, basically, tables don’t use the DOM that Ajax relies on. They use  
a  
MS-specific object model. You can get the look of a table using

s  
and  
CSS that will let you do Ajax.

HTH,  
Bill
